unsync
uvicorn
unsync | uvicorn | |
---|---|---|
4 | 57 | |
863 | 7,925 | |
- | 3.1% | |
0.0 | 8.7 | |
almost 2 years ago | 5 days ago | |
Python | Python | |
MIT License | BSD 3-clause "New" or "Revised" 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.
unsync
-
Wednesday Daily Thread: Beginner questions
I saw a pycon talk recommending I use the unsync library as a simple way to mix multiprocessing threading and asyncio. https://github.com/alex-sherman/unsync how can I tell if this library is safe to use in a production environment? I wouldn't want to leave a broken dependency for my coworkers should this repo not be well maintained.
- Understanding python async with FastAPI
-
How to Choose the Right Python Concurrency API
I will briefly plug my library `unsync` (https://github.com/alex-sherman/unsync#quick-overview) which wraps all these methods (multiprocessing/threading/asyncio) into singular/simple-ish API.
It's a bit overly simple, but it's helped a few times writing code the makes use of several concurrency methods and combining them together etc.
-
Gradually Migrating Python Code to asyncio
Look into unsync.
uvicorn
-
How to Deploy a Fast API Application to a Kubernetes Cluster using Podman and Minikube
FastAPI & Uvicorn
-
LangChain, Python, and Heroku
This tells Heroku to run uvicorn, which is a web server implementation in Python.
-
Fun with Avatars: Crafting the core engine | Part. 1
FastAPI uses Uvicorn, an ASGI (Asynchronous Server Gateway Interface) web server implementation for Python.
-
Effortless API Documentation: Accelerating Development with FastAPI, Swagger, and ReDoc
Now, let’s run our FastAPI application using Uvicorn: uvicorn main:app --reload
-
FastHttp for Python (64k requests/s)
Uvicorn + Starlette 8k requests/s
-
Ask HN: Where to Host a FastAPI App
I switched to Hypercorn because Uvicorn currently supports HTTP/1.1 and WebSockets as mentioned at https://www.uvicorn.org
-
How to use Chroma to store and query vector embeddings
This will set up Chroma and run it as a server with uvicorn, making port 8000 accessible outside the net docker network. The command also mounts a persistent docker volume for Chroma's database, found at chroma/chroma from your project's root.
-
Unresolved Memory Management Issues in FastAPI/Starlette/Uvicorn/Python During High-Load Scenarios
There's an open discussion under the Uvicorn repository and we prepared a repository for Reproduction GitHub Repo
-
How to Dockerize and Deploy a Fast API Application to Kubernetes Cluster
FastAPI is a popular Python Web framework that developers use to create RESTful APIs. It is based on Pydantic and Python-type hints that assist in the serialization, deserialization, and validation of data. In this tutorial, we will use FastAPI to create a simple "Hello World" application. We test and run the application locally. FastAPI requires a ASGI server to run the application production such as Uvicorn.
-
FastAPI 0.100.0:Release Notes
- [3] https://github.com/encode/uvicorn/issues/527
What are some alternatives?
understanding-python-async - Some code examlpes helping to understand how python async works.
daphne - Django Channels HTTP/WebSocket server
async-await-jetbrains-webcast
hypercorn
proxy.py - 💫 Ngrok Alternative • ⚡ Fast • 🪶 Lightweight • 0️⃣ Dependency • 🔌 Pluggable • 😈 TLS interception • 🔒 DNS-over-HTTPS • 🔥 Poor Man's VPN • ⏪ Reverse & ⏩ Forward • 👮🏿 "Proxy Server" framework • 🌐 "Web Server" framework • ➵ ➶ ➷ ➠ "PubSub" framework • 👷 "Work" acceptor & executor framework
hypercorn - Hypercorn is an ASGI and WSGI Server based on Hyper libraries and inspired by Gunicorn.
gevent - Coroutine-based concurrency library for Python
Flask - The Python micro framework for building web applications.
SQLAlchemy - The Database Toolkit for Python
dash - Data Apps & Dashboards for Python. No JavaScript Required.
NumPy - The fundamental package for scientific computing with Python.
starlette - The little ASGI framework that shines. 🌟