Skip to main content

Modern web-framework

Project description

Autumn

Autumn logo

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 @service and @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.

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

Telegram Badge Gmail Badge

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

autumn_framework-0.1.0.tar.gz (146.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autumn_framework-0.1.0-py3-none-any.whl (151.7 kB view details)

Uploaded Python 3

File details

Details for the file autumn_framework-0.1.0.tar.gz.

File metadata

  • Download URL: autumn_framework-0.1.0.tar.gz
  • Upload date:
  • Size: 146.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for autumn_framework-0.1.0.tar.gz
Algorithm Hash digest
SHA256 10d03773c4e358fdd096a63897d834eec577f0c0ab15a41e3447a67b86ec54e9
MD5 0b9ab2f0cd4080a122e0515e15d858c9
BLAKE2b-256 dc967bec4a5720d3bb6a43d534e7fb9eee88a3b71588b39dbde3b1ec4250b5c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for autumn_framework-0.1.0.tar.gz:

Publisher: ci.yml on De4oult/Autumn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file autumn_framework-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for autumn_framework-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d85bfb19ef95a964d99afdca7c2882d3d8aa457bd458efb8e23e70dfa9c15de8
MD5 83663b643e304a3a26aff710c0559f1d
BLAKE2b-256 acef71719b646fc847c526aa218f536f4fc77b44970293c6569f2605e2348a3c

See more details on using hashes here.

Provenance

The following attestation bundles were made for autumn_framework-0.1.0-py3-none-any.whl:

Publisher: ci.yml on De4oult/Autumn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page