About 50 results
Open links in new tab
  1. python - How can I install fastapi properly? - Stack Overflow

    Dec 26, 2021 · The OP is trying to install fastapi[all] which seems to require compiling from source. No, I don't agree with you, I just provided the viable solution and I use it all the time. …

  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 …

  3. FastAPI application: page stuck loading - Stack Overflow

    Jul 16, 2025 · I'm trying to create a basic FastAPI application. Initially, my project directory looked like this: .venv/ main.py where .venv/ is my virtual environment with FastAPI installed, while …

  4. 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 …

  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 …

  6. 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 …

  7. How to get the raw URL path from request in FastAPI?

    May 12, 2022 · As FastAPI is actually Starlette underneath, with a layer of several tools on top, you can use Starlette's Request object directly when you need to. Thus, you can use Request …

  8. A minimal fastapi example loading index.html - Stack Overflow

    Jan 27, 2021 · In my project folder I have a basic index.html file plus static files (js, css) as well as my main.py: from fastapi.staticfiles import StaticFiles from fastapi.templating import …

  9. ModuleNotFoundError: No module named 'fastapi' - Stack Overflow

    Feb 14, 2022 · Here is my file structure and requirements.txt: Getting ModuleNotFoundError, any help will be appreciated. main.py from fastapi import FastAPI from .import models from …

  10. 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 …