This release is a pre-release and may not be stable for production use.
Aurora MVC
Aurora MVC is a lightweight, ASGI-first Python web framework built around a clear MVC structure, simple routing, and practical developer tooling.
Release status: This checkout is the unreleased
1.0.0a5release candidate.1.0.0a3is the latest published version confirmed by this repository documentation; check PyPI for the current published release. Do not assume Alpha 5 is published until the release is approved and uploaded. AuroraSQL is experimental and opt-in; the existing SQLAlchemy-based database layer and six database CLI commands remain the defaults.
Requirements
- Python 3.10 or newer
- An ASGI server such as Uvicorn to run applications
Install and get started
Install the published Alpha 3 and an ASGI server:
python -m pip install "aurora-mvc==1.0.0a3" "uvicorn>=0.30"
Inspect the available commands:
aurora --help
aurora new --help
aurora run --help
Create a project using the options shown by aurora new --help, change into its directory, and start it using aurora run. For the exact supported flags and generated layouts, consult the getting-started guide and CLI reference.
To work with the current development checkout instead:
python -m pip install -e ".[dev]"
python -m aurora --help
Using python -m aurora from the checkout helps distinguish local development code from a separately installed global aurora command.
Features
- ASGI-first request handling and routing
- MVC-friendly project structure and controllers
- Templates, static files, and multilingual application support
- Database configuration and model registration using SQLAlchemy
- CLI commands for scaffolding, development, and guarded database workflows
The precise availability and limitations of database operations depend on the backend and release version. The current development checkout exposes six guarded database commands: init, plan, migrate, backup, restore, and history. Backend support and approval requirements vary. See the database safety guide.
Experimental AuroraSQL (Alpha 5)
The aurora.aurorasql package is an experimental, opt-in DB-API implementation for SQLite, MySQL (PyMySQL), and PostgreSQL (psycopg 3). It is not the default database backend, does not replace aurora.database, and is not yet integrated into the existing aurora db CLI. Its API and migration behavior may change before a stable release.
The standard installation retains SQLAlchemy for the existing database implementation. Optional database drivers can be installed with .[mysql] or .[postgresql] when working with AuroraSQL on those backends. Use disposable databases for integration tests; review migration plans and recovery procedures before applying schema changes. Do not assume cross-backend migrations are automatically reversible.
MySQL migration safety
The published Alpha 3 package provided separate aurora db mysql-create-table and aurora db mysql-add-column commands. Those are historical Alpha 3 interfaces and are not available in the current development CLI.
The current legacy database CLI routes supported guarded operations through aurora db plan and aurora db migrate. MySQL support remains narrowly scoped to explicitly reviewed operations, including supported CREATE TABLE and nullable ADD COLUMN cases. Consult the database safety guide for the applicable safety gates and limitations. MySQL DDL can commit even if later verification or history recording fails. Never automatically retry a migration with an uncertain outcome.
Documentation
- Documentation index
- Getting started
- CLI reference
- Project templates
- Routing and controllers
- Database operations and safety
- Multilingual applications
Examples are available in the examples/ directory.
Development and tests
Install development dependencies:
python -m pip install -e ".[dev]"
Run the test suite:
python -m pytest -q
Some live database integration tests are opt-in and require explicitly configured disposable databases. Never use a production database for integration tests.
Project and security notes
- Keep local database URLs, passwords, and environment files outside version control and source archives.
- Review schema-changing operations before execution; MySQL DDL may commit implicitly and cannot be treated as fully rollback-safe.
- Use the current database safety guide before attempting initialization or migration operations.
License
MIT. See LICENSE.
Metadata
Release files for aurora-mvc 1.0.0a5
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 |
|---|---|---|---|---|
| aurora_mvc-1.0.0a5.tar.gz | 136.6 kB | Without provenance | Details for aurora_mvc-1.0.0a5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aurora_mvc-1.0.0a5-py3-none-any.whl | Python 3 | none | any | Details for aurora_mvc-1.0.0a5-py3-none-any.whl |
Total release size: 319.8 kB
Release files / aurora_mvc-1.0.0a5.tar.gz
| Download URL | aurora_mvc-1.0.0a5.tar.gz |
|---|---|
| Size | 136.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4048cb202a3ea6ad1da5ab8b521dfc66e05715624d768ca27e5538e6a20a13bc
|
|
BLAKE2b-256 checksum How to use checksums |
f098f074c0fea56bed65dc4f28ebd127e520fe211a72773fcd43d0edbee2e0ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|
Release files / aurora_mvc-1.0.0a5-py3-none-any.whl
| Download URL | aurora_mvc-1.0.0a5-py3-none-any.whl |
|---|---|
| Size | 183.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b51cf76629a572af068bc17f5076283ea286cb328e0d87b35f12070b22038b62
|
|
BLAKE2b-256 checksum How to use checksums |
8ce0ae1baf28b504a272ab5ab6179e402981647403816fa161985f9a620619a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|
Security for aurora-mvc 1.0.0a5
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.