modern-apis-with-fastapi
uvicorn-gunicorn-fastapi-docker
modern-apis-with-fastapi | uvicorn-gunicorn-fastapi-docker | |
---|---|---|
2 | 5 | |
619 | 2,528 | |
0.2% | - | |
5.5 | 7.0 | |
5 months ago | 16 days ago | |
Python | Python | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
modern-apis-with-fastapi
- modern-apis-with-fastapi: Course demos and handouts for our Modern APIs with FastAPI course.
-
TypeError: include_router() missing 1 required positional argument: 'router'
I followed the weatherapi example on the course recommended by Tiangolo here: https://github.com/talkpython/modern-apis-with-fastapi/tree/main/ch05-a-realistic-api and tried to use include_router like
uvicorn-gunicorn-fastapi-docker
-
Fastapi or Starlite for new project?
You can use gunicorn to mange uvicorn processes, eg:https://github.com/tiangolo/uvicorn-gunicorn-fastapi-docker
-
Handling 502 Exceptions
The timeouts suggestion is interesting because I haven't really configured them beyond the default https://github.com/tiangolo/uvicorn-gunicorn-fastapi-docker
-
Please share or link to a FastApi tutorial with VM or containerized webserver
There is a prepackaged docker image using uvicorn/gunicorn from the same guy who made fastapi. Read me should be enough for you to get going. https://github.com/tiangolo/uvicorn-gunicorn-fastapi-docker Also be worth reading offical docs on doing this yourself too. https://fastapi.tiangolo.com/uk/deployment/docker/
-
Getting Started With Fast API and Docker
You can easily deploy your FastAPI app via Docker using FastAPI provided docker image
-
Docker deployment not reloading, what am I doing wrong?
https://github.com/tiangolo/uvicorn-gunicorn-fastapi-docker#development-live-reload
What are some alternatives?
django-ninja - 💨 Fast, Async-ready, Openapi, type hints based framework for building APIs
fastapi-redis-cache - A simple and robust caching solution for FastAPI that interprets request header values and creates proper response header values (powered by Redis)
pydantic - Data validation using Python type hints
full-stack-fastapi-template - Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
odmantic - Sync and Async ODM (Object Document Mapper) for MongoDB based on python type hints
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
github-push-events-telegram-bot - Receive push events from GitHub repository in Telegram bot
appkernel - API development made easy: a smart Python 3 API framework
meinheld-gunicorn-docker - Docker image with Meinheld managed by Gunicorn for high-performance WSGI (Flask, Django, etc) web applications in Python with performance auto-tuning.
docker-celery-flower - Minimum docker/fastapi/celery/flower setup
pydantic-aioredis - A Declarative ORM for Redis using Pydantic Models and aioredis