Akron ORM
Universal Python ORM

One ORM,
Every Database

Power your Python applications with clean, type-safe database operations across SQLite, MySQL, PostgreSQL, and MongoDB. It's also open source.

$pip install akron

We built something truly unique

With our modern Python architecture, and tight integration with multiple databases, we created an ORM that feels like magic and scales as fast as your ideas.

Get Started in an Instant

Spin up a production-ready database connection in seconds. Get always-on performance, even after scaling to zero.

Blazing-fast from the first request on, all the way to thousands per second—Python ORM done right.

Redefining how your database works

Add query-level type safety with one line of code to serve data fast from our robust Python ecosystem.

Pydantic-powered models, running on modern Python servers, maximize database performance.

Universal Database Support

Works seamlessly with SQLite, MySQL, PostgreSQL, and MongoDB. One consistent API across all your database needs.

Switch between databases without changing your code. Perfect for development, testing, and production environments.

main.py
1fromakronimportAkron
2fromakron.modelsimportModelMixin
3
4db=Akron("sqlite:///app.db")
5users=User.find(db)
Database Connected
✓ SQLite connection established
✓ Models synchronized
✓ Ready for queries

See It In Action

Get up and running in minutes with our intuitive API

1from pydantic import BaseModel
2from akron import Akron
3from akron.models import ModelMixin
4
5class User(BaseModel, ModelMixin):
6 id: int
7 name: str
8 age: int
9
10# Initialize database connectionInitialize database connection
11db = Akron("sqlite:///test.db")
12
13# Create tableCreate table
14User.create_table(db)
15
16# Insert dataInsert data
17User.insert(db, User(id=1, name="Alice"Alice", age=30))
18
19# Query dataQuery data
20users = User.find(db)
21print(users)