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
+15-18Lines changed: 15 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,22 +29,21 @@ Databases is suitable for integrating against any async Web framework, such as [
29
29
$ pip install databases
30
30
```
31
31
32
-
Database drivers supported are:
33
-
34
-
*[asyncpg][asyncpg]
35
-
*[aiopg][aiopg]
36
-
*[aiomysql][aiomysql]
37
-
*[asyncmy][asyncmy]
38
-
*[aiosqlite][aiosqlite]
39
-
40
32
You can install the required database drivers with:
41
33
42
34
```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]
35
+
$ pip install databases[postgresql]
36
+
$ pip install databases[mysql]
37
+
$ pip install databases[sqlite]
38
+
```
39
+
40
+
Default driver support is provided using one of [asyncpg][asyncpg], [aiomysql][aiomysql], or [aiosqlite][aiosqlite].
41
+
42
+
You can also use other database drivers supported by `databases`:
43
+
44
+
```shel
45
+
$ pip install databases[postgresql+aiopg]
46
+
$ pip install databases[mysql+asyncmy]
48
47
```
49
48
50
49
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.
@@ -57,7 +56,7 @@ For this example we'll create a very simple SQLite database to run some
57
56
queries against.
58
57
59
58
```shell
60
-
$ pip install databases[aiosqlite]
59
+
$ pip install databases[sqlite]
61
60
$ pip install ipython
62
61
```
63
62
@@ -69,7 +68,7 @@ expressions directly from the console.
Copy file name to clipboardExpand all lines: docs/index.md
+15-18Lines changed: 15 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,22 +27,21 @@ Databases is suitable for integrating against any async Web framework, such as [
27
27
$ pip install databases
28
28
```
29
29
30
-
Database drivers supported are:
31
-
32
-
*[asyncpg][asyncpg]
33
-
*[aiopg][aiopg]
34
-
*[aiomysql][aiomysql]
35
-
*[asyncmy][asyncmy]
36
-
*[aiosqlite][aiosqlite]
37
-
38
30
You can install the required database drivers with:
39
31
40
32
```shell
41
-
$ pip install databases[asyncpg]
42
-
$ pip install databases[aiopg]
43
-
$ pip install databases[aiomysql]
44
-
$ pip install databases[asyncmy]
45
-
$ pip install databases[aiosqlite]
33
+
$ pip install databases[postgresql]
34
+
$ pip install databases[mysql]
35
+
$ pip install databases[sqlite]
36
+
```
37
+
38
+
Default driver support is provided using one of [asyncpg][asyncpg], [aiomysql][aiomysql], or [aiosqlite][aiosqlite].
39
+
40
+
You can also use other database drivers supported by `databases`:
41
+
42
+
```shel
43
+
$ pip install databases[postgresql+aiopg]
44
+
$ pip install databases[mysql+asyncmy]
46
45
```
47
46
48
47
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.
@@ -55,7 +54,7 @@ For this example we'll create a very simple SQLite database to run some
55
54
queries against.
56
55
57
56
```shell
58
-
$ pip install databases[aiosqlite]
57
+
$ pip install databases[sqlite]
59
58
$ pip install ipython
60
59
```
61
60
@@ -67,7 +66,7 @@ expressions directly from the console.
0 commit comments