Skip to main content

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 tag legacy-telegram-template and on the release/public-ready branch.

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.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aso 0.2.3
File Size Uploaded Provenance Actions
aso-0.2.3.tar.gz 586.0 kB Without provenance Details for aso-0.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aso 0.2.3
File Interpreter ABI Platform Actions
aso-0.2.3-py3-none-any.whl Python 3 none any Details for aso-0.2.3-py3-none-any.whl

Total release size: 1.0 MB

Release files / aso-0.2.3.tar.gz

Download URL aso-0.2.3.tar.gz
Size 586.0 kB
Tags Source
SHA-256 checksum
How to use checksums
21ba4df2e01c0eaa232a5ee87f2a1743d7448ffb63cdfa0c12840a5bc597d55a
BLAKE2b-256 checksum
How to use checksums
6a03eb0e0a31c54d30befd8b72447446e18ce37a0696046723c0123570d7b990
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.3-py3-none-any.whl

Download URL aso-0.2.3-py3-none-any.whl
Size 424.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57e74c5a21c505403e90e4470b5890decd12665442c6f2318461b9119c4149f5
BLAKE2b-256 checksum
How to use checksums
c8eb1ba4e1f2594839e7e459933fc177ee37e422d528708f25760991c2f54234
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.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page