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

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.2
File Size Uploaded Provenance Actions
aso-0.2.2.tar.gz 585.8 kB Without provenance Details for aso-0.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 1.0 MB

Release files / aso-0.2.2.tar.gz

Download URL aso-0.2.2.tar.gz
Size 585.8 kB
Tags Source
SHA-256 checksum
How to use checksums
cb0909ffb6a1d311fd4f211d505206faff58aec7775e47f084f11e60c68ddc5f
BLAKE2b-256 checksum
How to use checksums
b8d03728df3859b053edcc09881b8c0942cd5a3e387f3aab68de28b8b43445ea
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.2-py3-none-any.whl

Download URL aso-0.2.2-py3-none-any.whl
Size 424.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eede50a73e2c0e689910abe7788a3728169ebc49703875a22113a1f2005f116f
BLAKE2b-256 checksum
How to use checksums
741509124de7579b407aec49f9e84939311f681d2aa0ec75dda9a2e43f314331
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.2

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