🎶 Syncopate
An experimental ASGI framework that thrives on the polyrhythmic magic of async Python.
This project is built as a learning exercise, so it re-implements all the wheels posible:
the asyncio event loop and server, uvicorn HTTP ASGI
server and h11 protocol library,
and starlette ASGI toolkit.
It is not meant for production! Use under your own risk.
📖 Table of Contents
⚒ Env Setup and Development
To set up your local environment for development run
make init
This will install all dev requirements using uv and add the pre-commit hooks.
⚙ Running Syncopate
Build an ASGI app:
from syncopate.framework import Syncopate
app = Syncopate()
@app.route("/")
async def index(request):
return "Hello, World!"
@app.route("/api")
def api(request):
return {"hello": "world"}
and run it:
import syncopate
syncopate.run(app, host="localhost", port=8888)
This will start the syncopate server and run the app on http://localhost:8888.
Metadata
Release files for syncopate-runtime 0.1.0
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 |
|---|---|---|---|---|
| syncopate_runtime-0.1.0.tar.gz | 8.8 kB | Without provenance | Details for syncopate_runtime-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| syncopate_runtime-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for syncopate_runtime-0.1.0-py3-none-any.whl |
Total release size: 24.2 kB
Release files / syncopate_runtime-0.1.0.tar.gz
| Download URL | syncopate_runtime-0.1.0.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
012b44e1e7628faf878561f9efdc49bda17dc175aa8dd0b5dfabe76e8af3d00c
|
|
BLAKE2b-256 checksum How to use checksums |
14bc626b6ea270308c300158b9d68e62456c6c99affb35c4bfd4da0529dc55bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.5 {"installer":{"name":"uv","version":"0.11.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / syncopate_runtime-0.1.0-py3-none-any.whl
| Download URL | syncopate_runtime-0.1.0-py3-none-any.whl |
|---|---|
| Size | 15.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
824d3c35fdffbadbefb1418f3c5563e9ebbb4d4e5f2ed695ff82729b46bd73e6
|
|
BLAKE2b-256 checksum How to use checksums |
70fa5fb1774094971e3321b1707aadb7c220bb292652112cf0ee3a4756c58134
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.5 {"installer":{"name":"uv","version":"0.11.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for syncopate-runtime 0.1.0
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.