Asynchronous web framework.
Project description
baguette is an asynchronous web framework for ASGI servers.
Installation
Python 3.6 or higher is required.
Run the following command:
pip install baguette
Quickstart
Create an application, in example.py:
from baguette import Baguette
app = Baguette()
@app.endpoint("/")
async def index(request):
return "<h1>Hello world</h1>"
Run the server with uvicorn (pip install uvicorn):
uvicorn example:app
Contribute
Support
If you are having issues, please let me know by joining the discord support server at https://discord.gg/8HgtN6E
License
The project is licensed under the MIT license.
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
baguette-0.0.2.tar.gz
(5.7 kB
view hashes)