pallets/quart
pallets/quart has 3,680 GitHub stars and 210 forks. GitHot measured 0 stars in 24 hours and +1 in 7 days. Last checked 2026-11-07 11:28 UTC. Last push 2026-09-12.
Comment ces chiffres sont mesurés
Un micro-framework Python asynchrone pour créer des applications web.
Progression mesurée des étoiles
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- Historique en cours
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalQuart
Quart is an async Python web application framework. Using Quart you can,
- render and serve HTML templates,
- write (RESTful) JSON APIs,
- serve WebSockets,
- stream request and response data,
- do pretty much anything over the HTTP or WebSocket protocols.
Quickstart
Install from PyPI using an installer such as pip.
$ pip install quart
Save the following as app.py. This shows off rendering a template, returning
JSON data, and using a WebSocket.
from quart import Quart, render_template, websocket
app = Quart(__name__)
@app.route("/")
async def hello():
return await render_template("index.html")
@app.route("/api")
async def json():
return {"hello": "world"}
@app.websocket("/ws")
async def ws():
while True:
await websocket.send("hello")
await websocket.send_json({"hello": "world"})
$ quart run
* Running on http://127.0.0.1:5000 (CTRL + C to quit)
To deploy this app in a production setting see the deployment documentation.
Contributing
Quart is developed on GitHub. If you come across a bug, or have a feature request, please open an issue. To contribute a fix or implement a feature, follow our contributing guide.
Help
If you need help with your code, the Quart documentation and cheatsheet are the best places to start. You can ask for help on the Discussions tab or on our Discord chat.
Relationship with Flask
Quart is an asyncio reimplementation of the popular Flask web application framework. This means that if you understand Flask you understand Quart.
Like Flask, Quart has an ecosystem of extensions for more specific needs. In addition, a number of the Flask extensions work with Quart.
Migrating from Flask
It should be possible to migrate to Quart from Flask by a find and replace of
flask to quart and then adding async and await keywords. See the
migration documentation for more help.
Explorer des projets similaires
freeCodeCamp/freeCodeCamp
La base de code open source et le cursus de freeCodeCamp.org. Apprenez gratuitement les mathématiques, la programmation et l'informatique.
458,703 étoilesdonnemartin/system-design-primer
Apprenez à concevoir des systèmes à grande échelle et préparez-vous à l’entretien de conception de systèmes. Comprend des cartes mémoire Anki.
377,217 étoilesreact/react
La bibliothèque pour les interfaces utilisateur web et natives.
252,353 étoilesvuejs/vue
Voici le dépôt de Vue 2. Pour Vue 3, rendez-vous sur https://github.com/vuejs/core
212,630 étoiles