uvicorn-gunicorn-fastapi-docker
geojson-pydantic
Our great sponsors
uvicorn-gunicorn-fastapi-docker | geojson-pydantic | |
---|---|---|
5 | 1 | |
2,520 | 204 | |
- | 2.9% | |
7.2 | 8.0 | |
4 days ago | 3 months ago | |
Python | Python | |
MIT License | 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.
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
geojson-pydantic
-
SQLModel: SQL DBs based on Python type hints. The biggest thing I've built since FastAPI and Typer. 😅
All I would want from SQLModel right now would be support for a geography column from GeoALchemy and then a validator which converts the EWB to GeoJSON (https://geojson.org/) (As GeoJSON is a standard for most map frameworks to consume and produce spatial data). There is a Pydantic library representing the GeoJSON spec (https://github.com/developmentseed/geojson-pydantic) - it currently doesn't work in FastAPI since it uses tuples for coordinate sequences and Tuples are not supported until OpenAPI schema v3.1 AFAIK.
What are some alternatives?
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)
sqlmodel - SQL databases in Python, designed for simplicity, compatibility, and robustness.
full-stack-fastapi-template - Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
pydantic - Data validation using Python type hints
github-push-events-telegram-bot - Receive push events from GitHub repository in Telegram bot
FastAPIQuickCRUD - Generate CRUD methods in FastApi from an SQLAlchemy schema
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.
django-ninja - 💨 Fast, Async-ready, Openapi, type hints based framework for building APIs
docker-celery-flower - Minimum docker/fastapi/celery/flower setup
pydantic-aioredis - A Declarative ORM for Redis using Pydantic Models and aioredis