Skip to content

Commit 241d4e2

Browse files
authored
v3.0.10 (#39)
Co-authored-by: ddc <ddc@users.noreply.github.com>
1 parent 9ad2166 commit 241d4e2

3 files changed

Lines changed: 130 additions & 115 deletions

File tree

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,12 @@ pip install "ddcDatabases[mssql]"
286286

287287
# MySQL/MariaDB
288288
pip install "ddcDatabases[mysql]"
289+
# or
290+
pip install "ddcDatabases[mariadb]"
289291

290292
# PostgreSQL
293+
pip install "ddcDatabases[postgres]"
294+
# or
291295
pip install "ddcDatabases[pgsql]"
292296

293297
# Oracle Database
@@ -297,15 +301,17 @@ pip install "ddcDatabases[oracle]"
297301
pip install "ddcDatabases[mongodb]"
298302

299303
# Multiple databases (example)
300-
pip install "ddcDatabases[mysql,pgsql,mongodb]"
304+
pip install "ddcDatabases[mysql,postgres,mongodb]"
301305
```
302306

303307
**Available Database Extras:**
304308

305309
- `all` - All database drivers
306310
- `mssql` - Microsoft SQL Server (pyodbc, aioodbc)
307311
- `mysql` - MySQL and MariaDB (mysqlclient, aiomysql)
308-
- `pgsql` - PostgreSQL (psycopg, asyncpg)
312+
- `mariadb` - Alias for `mysql`
313+
- `postgres` - PostgreSQL (psycopg, asyncpg)
314+
- `pgsql` - Alias for `postgres`
309315
- `oracle` - Oracle Database (oracledb)
310316
- `mongodb` - MongoDB (motor)
311317

pyproject.toml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ packages = ["ddcDatabases"]
1313

1414
[project]
1515
name = "ddcDatabases"
16-
version = "3.0.9"
16+
version = "3.0.10"
1717
description = "Simplified database ORM connections with support for multiple database engines"
1818
urls.Repository = "https://github.com/ddc/ddcDatabases"
1919
urls.Homepage = "https://pypi.org/project/ddcDatabases"
@@ -27,14 +27,15 @@ maintainers = [
2727
]
2828
keywords = [
2929
"python", "python3", "python-3",
30-
"databases", "database", "ddcDatabases",
30+
"ORM", "ORM-connection", "sqlalchemy",
31+
"database", "databases", "ddcDatabase", "ddcDatabases",
3132
"mssql", "mssql-database",
3233
"mysql", "mysql-database",
3334
"oracle", "oracle-database",
3435
"mariadb", "mariadb-database",
3536
"mongodb", "mongodb-database",
3637
"sqlite", "sqlite3", "sqlite3-database",
37-
"pgsql", "postgres", "postgresql", "postgresql-database",
38+
"postgres", "postgres-database", "postgresql", "postgresql-database", "pgsql", "pgsql-database",
3839
]
3940
classifiers = [
4041
"Topic :: Software Development :: Libraries :: Python Modules",
@@ -59,10 +60,12 @@ dependencies = [
5960

6061
[project.optional-dependencies]
6162
mongodb = ["motor>=3.7.1"]
62-
mssql = ["pyodbc>=5.3.0", "aioodbc>=0.5.0"]
63-
mysql = ["mysqlclient>=2.2.7", "aiomysql>=0.3.2"]
6463
oracle = ["oracledb>=3.4.2"]
65-
pgsql = ["psycopg[binary]>=3.3.2", "asyncpg>=0.31.0"]
64+
mssql = ["pyodbc>=5.3.0", "aioodbc>=0.5.0"]
65+
mysql = ["mysqlclient>=2.2.8", "aiomysql>=0.3.2"]
66+
postgres = ["psycopg[binary]>=3.3.2", "asyncpg>=0.31.0"]
67+
pgsql = ["ddcDatabases[postgres]"]
68+
mariadb = ["ddcDatabases[mysql]"]
6669

6770
[dependency-groups]
6871
dev = [

0 commit comments

Comments
 (0)