You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 19, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+18-15Lines changed: 18 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,21 +29,22 @@ Databases is suitable for integrating against any async Web framework, such as [
29
29
$ pip install databases
30
30
```
31
31
32
-
You can install the required database drivers with:
33
-
34
-
```shell
35
-
$ pip install databases[postgresql]
36
-
$ pip install databases[mysql]
37
-
$ pip install databases[sqlite]
38
-
```
32
+
Database drivers supported are:
39
33
40
-
Default driver support is provided using one of [asyncpg][asyncpg], [aiomysql][aiomysql], or [aiosqlite][aiosqlite].
34
+
*[asyncpg][asyncpg]
35
+
*[aiopg][aiopg]
36
+
*[aiomysql][aiomysql]
37
+
*[asyncmy][asyncmy]
38
+
*[aiosqlite][aiosqlite]
41
39
42
-
You can also use other database drivers supported by `databases`:
40
+
You can install the required database drivers with:
43
41
44
-
```shel
45
-
$ pip install databases[postgresql+aiopg]
46
-
$ pip install databases[mysql+asyncmy]
42
+
```shell
43
+
$ pip install databases[asyncpg]
44
+
$ pip install databases[aiopg]
45
+
$ pip install databases[aiomysql]
46
+
$ pip install databases[asyncmy]
47
+
$ pip install databases[aiosqlite]
47
48
```
48
49
49
50
Note that if you are using any synchronous SQLAlchemy functions such as `engine.create_all()` or [alembic][alembic] migrations then you still have to install a synchronous DB driver: [psycopg2][psycopg2] for PostgreSQL and [pymysql][pymysql] for MySQL.
@@ -56,7 +57,7 @@ For this example we'll create a very simple SQLite database to run some
56
57
queries against.
57
58
58
59
```shell
59
-
$ pip install databases[sqlite]
60
+
$ pip install databases[aiosqlite]
60
61
$ pip install ipython
61
62
```
62
63
@@ -68,7 +69,7 @@ expressions directly from the console.
0 commit comments