Skip to content

Getting Started

Installation

1
pip install duck-orm

Dependencies

DuckORM uses databases for database connection.

Extras dependencies

DuckORM can have up to 3 dependencies according to the backend database(s) you want to use:

Postgresql

1
pip install duck-orm[postgresql]

Will install also asyncpg.

Postgresql + aiopg

1
pip install duck-orm[postgresql+aiopg]

Will install also aiopg.

SQLite

1
pip install duck-orm[sqlite]

Will install also aiosqlite.

Install dependencies manually

If you wish, you can install the dependencies manually as well.

Example:

1
pip install asyncpg