tortoise-orm
Tortoise ORM is a Django-inspired and asyncio-based Object Relational Matcher (ORM) tool developed for Python. SQLite supports MySQL, PostgreSQL, Microsoft SQL Server and Oracle databases in CPython 3.10 and later. It abstracts database interactions through object-oriented code with its relationship-oriented structure.
TO
tortoise · ORM & Database Tooling
STARS5.6K
FORKS540
COMMITS0
CONTRIBUTORS0
VERSION1.1.8
UPDATEDtoday
PythonORMAsyncioDatabaseApache-2.0
What can it do?
- You assign asyncio-based queries to SQLite, MySQL, PostgreSQL, Microsoft SQL Server and Oracle databases.
- You define database models using the API structure that you are familiar with like Django.
- You avoid SQL injection deficits by writing parameterized queries.
Heads up
- • High number of open issues (553)
User reviews
- ↑ PositiveGitHub Issue
Migrations
“(edited by @grigi ) Migrations is currently planned as a post-v1.0 feature. Some useful resources for getting this working right now: * (Native python, MySQL) * (Go, MySQL/PostgreSQL/SQLite) ## Forward migrations Best guess at this time for a complete solution, not a "quick"…”