-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Circuit edited this page Jan 16, 2022
·
4 revisions
apgorm
is an asynchronous ORM for PostgreSQL, wrapped around asyncpg
. apgorm
has several notable features:
- Fairly straightforward and easy to use.
- Support for basic migrations.
- Protects against SQL injection.
- Python-side converters and validators.
- Decent many-to-many support.
- Fully type-checked.
- Tested.
apgorm
can be installed from PyPI with pip install apgorm
.
There are a few examples that can be run with python -m examples.<example name>
. Make sure you have a Postgres database created with the name "apgorm_testing_database".
There are also examples that can be found in this wiki.
PRs are welcome, but make sure to read the contribution guidelines.