About 50 results
Open links in new tab
  1. Newest 'fastapi' Questions - Stack Overflow

    FastAPI + Mangum on AWS Lambda (Function URL): pass-through gzipped response without decompression (is true streaming possible?) I’m building a proxy service using FastAPI deployed on …

  2. Python FastAPI base path control - Stack Overflow

    Dec 3, 2021 · When I use FastAPI , how can I sepcify a base path for the web-service? To put it another way - are there arguments to the FastAPI object that can set the end-point and any others I define, to …

  3. python - Does FastAPI still need Gunicorn? - Stack Overflow

    Jul 8, 2025 · Shortly after, FastAPI’s creator deprecated the tiangolo/uvicorn-gunicorn-fastapi Docker image, stating: Now that Uvicorn supports managing workers with --workers, including restarting …

  4. python - How can I install fastapi properly? - Stack Overflow

    Dec 26, 2021 · 0 When you install with pip install "fastapi[standard]" it comes with some default optional standard dependencies.

  5. python - Architecture Flask vs FastAPI - Stack Overflow

    Jul 19, 2020 · I have been tinkering around Flask and FastAPI to see how it acts as a server. One of the main things that I would like to know is how Flask and FastAPI deal with multiple requests from …

  6. Start Uvicorn with fastapi having main.py and app.py

    Oct 12, 2023 · I was making an authentication backend with Fastapi following the user's guide and don't know how to start a server now. Files and folders of the project structure are the following: …

  7. Video Streaming App using FastAPI and OpenCV - Stack Overflow

    Aug 31, 2020 · Below are given two options (with complete code samples) on how to stream (live) video using FastAPI and OpenCV. Option 1 demonstrates an approach based on your question using the …

  8. What are the best practices for structuring a FastAPI project?

    Nov 21, 2020 · The problem that I want to solve related the project setup: Good names of directories so that their purpose is clear. Keeping all project files (including virtualenv) in one place, so I can easily...

  9. How to log raw HTTP request/response in FastAPI?

    Oct 22, 2021 · We are writing a web service using FastAPI that is going to be hosted in Kubernetes. For auditing purposes, we need to save the raw JSON body of the request/response for specific routes. …

  10. FastAPI python: How to run a thread in the background?

    Jan 27, 2022 · I'm making a server in python using FastAPI, and I want a function that is not related to my API, to run in the background every 5 minutes (like checking stuff from an API and printing stuff …