baguette - asynchronous web framework
baguette is an asynchronous web framework for ASGI servers.
Installation
Python 3.6 or higher is required.
Install baguette with pip:
pip install baguette
You also need an ASGI server to run your app like uvicorn or hypercorn. To install uvicorn directly with baguette, you can add the uvicorn argument:
pip install baguette[uvicorn]
Quickstart
Create an application, in example.py:
from baguette import Baguette
app = Baguette()
@app.route("/")
async def index(request):
return "<h1>Hello world</h1>"
Run the server with uvicorn:
uvicorn example:app
See uvicorn’s deployment guide for more deployment options.
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
Metadata
Release files for baguette 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| baguette-0.3.1.tar.gz | 29.2 kB | Without provenance | Details for baguette-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| baguette-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for baguette-0.3.1-py3-none-any.whl |
Total release size: 62.9 kB
Release files / baguette-0.3.1.tar.gz
| Download URL | baguette-0.3.1.tar.gz |
|---|---|
| Size | 29.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc477d97f71406eb7f172e16aa4e1b81e9f5997320a287c6af4f8ee00a34e455
|
|
BLAKE2b-256 checksum How to use checksums |
7d159189ba2d11cb0a7fe3db7d95160da0f85bfd47c50f7b7c20c3214f48829a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
|
Release files / baguette-0.3.1-py3-none-any.whl
| Download URL | baguette-0.3.1-py3-none-any.whl |
|---|---|
| Size | 33.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
513cf273d311abed746fff29a83a437168a82f3323f9b655f8acb43b8cd085b2
|
|
BLAKE2b-256 checksum How to use checksums |
9d0fae02668664f0f3edb59e815769ae968d2de19701188f459e6ff8576022b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
|
Security for baguette 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.