Modern web-framework
Project description
Autumn
A modern ASGI web framework focused on typed controllers, dependency injection, and clean configuration.
Autumn is a Python web framework for building HTTP APIs and WebSocket applications with a small, explicit core. It leans on Python's type system instead of large decorator stacks: route parameters are typed, request bodies are inferred from Pydantic models, dependencies are injected from signatures, and responses can be serialized automatically.
If you want class-based controllers, typed configuration, built-in dependency injection, OpenAPI/Dependencies docs generation, and CORS support, Autumn is built for that style.
Highlights
- ASGI-first application object that works with standard ASGI servers such as
uvicorn - Class-based REST controllers with typed path parameters like
{id:int}and{file:path} - Signature-driven dependency injection with
@serviceand@leaf - Automatic request body validation from Pydantic annotations
- Automatic JSON serialization for Pydantic return values
- Built-in configuration system with environment, JSON, and YAML sources
- Built-in configs for application settings, CORS, and WebSocket tuning
- OpenAPI and dependencies documentation generation with built-in viewer
- Middleware hooks, lifespan hooks, file responses, redirects, and streaming
- WebSocket routes with dependency injection support
Why Autumn
Autumn tries to keep the ergonomic parts of modern Python frameworks while staying direct:
- Controllers are just Python classes.
- Dependencies come from constructor or method signatures.
- Request bodies are inferred from type annotations instead of extra decorators.
- Configs are plain Python classes with typed fields.
- The framework stays close to raw ASGI concepts when you need to drop lower.
That makes the happy path concise, while still keeping the codebase readable when the application grows.
Benchmarks
Latest local benchmark run: 2026-04-17
Environment:
- Windows
- Python
3.12 uvicorn --workers 1 --loop asyncio --http h11 --lifespan off- Concurrency:
64 - Warmup:
2s - Measurement duration:
5s
Average across plaintext, json, path_parameter, and body scenarios:
| Framework | Avg RPS | Avg P95 (ms) |
|---|---|---|
| Falcon | 4471.53 | 16.66 |
| Autumn | 4006.67 | 17.38 |
| FastAPI | 3644.17 | 19.49 |
| Flask | 2149.76 | 33.06 |
In this run, Autumn is:
86.37%faster than Flask on average9.95%faster than FastAPI on average10.39%slower than Falcon on average
Philosophy
Autumn favors:
- strong typing over implicit magic
- signatures over decorator-heavy ceremony
- built-in primitives over mandatory third-party integration
- readable application structure over framework cleverness
The goal is to make small apps pleasant and larger apps maintainable.
Author
_ _ _ _ _
__| | ___| || | ___ _ _| | |_
/ _` |/ _ \ || |_ / _ \| | | | | __|
| (_| | __/__ _| (_) | |_| | | |_
\__,_|\___| |_| \___/ \__,_|_|\__|
Thank you a lot!
How to reach me
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file autumn_framework-0.1.3.tar.gz.
File metadata
- Download URL: autumn_framework-0.1.3.tar.gz
- Upload date:
- Size: 156.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
167650ce9c49fe24f9a678cebe9b8c1e2b0c884761cdc3fad775d848abc10fab
|
|
| MD5 |
5f9b1de3ab2b6ff39ee44b63c507b07f
|
|
| BLAKE2b-256 |
4addb4fdaa86e3e556062558a118f9a93e038d027b628f04dde1921037423a2b
|
Provenance
The following attestation bundles were made for autumn_framework-0.1.3.tar.gz:
Publisher:
ci.yml on De4oult/Autumn
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
autumn_framework-0.1.3.tar.gz -
Subject digest:
167650ce9c49fe24f9a678cebe9b8c1e2b0c884761cdc3fad775d848abc10fab - Sigstore transparency entry: 1374394354
- Sigstore integration time:
-
Permalink:
De4oult/Autumn@3eaa2d11b2e7cb186fbd555c1d1ed3ff7e228a5d -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/De4oult
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@3eaa2d11b2e7cb186fbd555c1d1ed3ff7e228a5d -
Trigger Event:
release
-
Statement type:
File details
Details for the file autumn_framework-0.1.3-py3-none-any.whl.
File metadata
- Download URL: autumn_framework-0.1.3-py3-none-any.whl
- Upload date:
- Size: 161.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
158aab25cb14630bc5e2b94011ba0ec7b9945e1e4fdbcf94dcb7c3b2ee2728d8
|
|
| MD5 |
59ed0c8a174df74ff64b008bdaa21b66
|
|
| BLAKE2b-256 |
0a69a585fd13b337cc433a60a54d0bba9d037817f774312560f447e275bc95f5
|
Provenance
The following attestation bundles were made for autumn_framework-0.1.3-py3-none-any.whl:
Publisher:
ci.yml on De4oult/Autumn
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
autumn_framework-0.1.3-py3-none-any.whl -
Subject digest:
158aab25cb14630bc5e2b94011ba0ec7b9945e1e4fdbcf94dcb7c3b2ee2728d8 - Sigstore transparency entry: 1374394423
- Sigstore integration time:
-
Permalink:
De4oult/Autumn@3eaa2d11b2e7cb186fbd555c1d1ed3ff7e228a5d -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/De4oult
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@3eaa2d11b2e7cb186fbd555c1d1ed3ff7e228a5d -
Trigger Event:
release
-
Statement type: