Aso
The Aso framework is a Laravel-style web framework for Python: FastAPI on the backend,
Inertia.js v3 + React on the frontend, and an artisan-like CLI (aso make:controller,
aso migrate, ...).
Status: early (0.2.1). It works end to end, but expect rough edges and breaking changes. Versions up to 0.1.1 were published as
fastogram; that package is retired. The previous Telegram bot template (0.0.x, FastAPI + aiogram) is kept under the taglegacy-telegram-templateand on therelease/public-readybranch.
Try it
You need uv, Node 22+ and npm.
uvx aso new myapp # like `laravel new myapp`
cd myapp
uv run aso dev # server + Vite + route watcher
Open http://127.0.0.1:8000, register, and you're in the React starter kit (dashboard, settings,
password reset, email verification). In local mode mail goes to storage/logs/.
Useful commands: aso list, aso route:list, aso make:model Post -mcr,
aso migrate, uv run pytest.
What it looks like
# routes/web.py
with Route.middleware("auth").group():
Route.get("/posts", [PostController, "index"]).name("posts.index")
Route.post("/posts", [PostController, "store"]).name("posts.store")
# app/http/controllers/post_controller.py
class PostController(Controller):
async def index(self):
return inertia("posts/index", {"posts": await Post.with_("author").latest().paginate(15)})
async def store(self, form: StorePostRequest):
await Post.create(**form.validated(), user_id=auth().id())
return redirect().route("posts.index").with_flash("success", "Post created.")
Repository layout
src/aso/ the framework library and CLI (published to PyPI as `aso`)
skeleton/ the app that `aso new` creates (like laravel/laravel)
tests/ the framework's own tests
spikes/ Phase 0 proof-of-concept spikes (throwaway)
License
MIT
Metadata
Release files for aso 0.2.4
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 |
|---|---|---|---|---|
| aso-0.2.4.tar.gz | 586.9 kB | Without provenance | Details for aso-0.2.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aso-0.2.4-py3-none-any.whl | Python 3 | none | any | Details for aso-0.2.4-py3-none-any.whl |
Total release size: 1.0 MB
Release files / aso-0.2.4.tar.gz
| Download URL | aso-0.2.4.tar.gz |
|---|---|
| Size | 586.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b20f7761cff1450a1059ccb25c532d0ce7fb559fc3c09f07649b585ed893bec7
|
|
BLAKE2b-256 checksum How to use checksums |
e86d853e55d33c28ae1e11f394fe709397d2a9b502f67c94857392b4e60e2207
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / aso-0.2.4-py3-none-any.whl
| Download URL | aso-0.2.4-py3-none-any.whl |
|---|---|
| Size | 422.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b6bc2fc89933fad9feef501de5556b85234ec565fd4809f4fa37808a6ad344e0
|
|
BLAKE2b-256 checksum How to use checksums |
7fca5cbb45ed54cbd5b2e90abec7ae61cff869a5678482cfb9f61825b48dfcfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Security for aso 0.2.4
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.