tortoise/tortoise-orm

Familiar asyncio ORM for python, built with relations in mind

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 14 minutes ago
Added to GitGenius on September 12th, 2026
Created on March 29th, 2018
Open Issues & Pull Requests: 531 (+0)
GitHub issues: Enabled
Number of forks: 509
Total Stargazers: 5,626 (+0)
Total Subscribers: 44 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.3 days
Mean response time: 147.4 days
90th percentile: 698.7 days
Tracked items: 343

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 97% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 8% of issues opened in the past year have been closed. Three people close 77% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 112
New in 7 days: 3
Closed in 7 days: 7
Avg open age: 950 days
Stale 30+ days: 107
Stale 90+ days: 96

Recent activity

Opened in 7 days: 2
Closed in 7 days: 7
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • enhancement (39)
  • bug (27)
  • good first issue (10)
  • question (9)
  • Future Release (3)
  • documentation (3)
  • pydantic (3)
  • Next Release (2)

Detailed Description

Tortoise ORM is an asyncio ORM for Python that provides a Django-inspired API for working with relational databases asynchronously.

Tortoise ORM solves the problem of managing database interactions in async Python applications without sacrificing code readability or maintainability. It abstracts away raw SQL through an object-oriented interface, reducing boilerplate while using parameterized queries to prevent SQL injection. The tool handles schema definitions, relationships, and migrations in a centralized, version-controlled manner. It supports SQLite, MySQL, PostgreSQL, Microsoft SQL Server, and Oracle, with multiple async client options available for each database.

Tortoise ORM suits developers building async Python applications who want a familiar, Django-like experience without blocking I/O. It works well for projects that need to manage complex relationships between models while maintaining clean, readable code. The tool is particularly valuable for teams already comfortable with Django's ORM patterns who are transitioning to async frameworks or building new async-first applications.

The project maintains active continuous integration with automated testing across supported databases and Python versions. Documentation is kept current and accessible through a dedicated site. The codebase receives regular updates to support new Python versions and database features. Development activity shows consistent attention to performance optimization and compatibility maintenance across the range of supported database backends.