Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,12 @@ pip install "ddcDatabases[mssql]"

# MySQL/MariaDB
pip install "ddcDatabases[mysql]"
# or
pip install "ddcDatabases[mariadb]"

# PostgreSQL
pip install "ddcDatabases[postgres]"
# or
pip install "ddcDatabases[pgsql]"

# Oracle Database
Expand All @@ -297,15 +301,17 @@ pip install "ddcDatabases[oracle]"
pip install "ddcDatabases[mongodb]"

# Multiple databases (example)
pip install "ddcDatabases[mysql,pgsql,mongodb]"
pip install "ddcDatabases[mysql,postgres,mongodb]"
```

**Available Database Extras:**

- `all` - All database drivers
- `mssql` - Microsoft SQL Server (pyodbc, aioodbc)
- `mysql` - MySQL and MariaDB (mysqlclient, aiomysql)
- `pgsql` - PostgreSQL (psycopg, asyncpg)
- `mariadb` - Alias for `mysql`
- `postgres` - PostgreSQL (psycopg, asyncpg)
- `pgsql` - Alias for `postgres`
- `oracle` - Oracle Database (oracledb)
- `mongodb` - MongoDB (motor)

Expand Down
15 changes: 9 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ packages = ["ddcDatabases"]

[project]
name = "ddcDatabases"
version = "3.0.9"
version = "3.0.10"
description = "Simplified database ORM connections with support for multiple database engines"
urls.Repository = "https://github.com/ddc/ddcDatabases"
urls.Homepage = "https://pypi.org/project/ddcDatabases"
Expand All @@ -27,14 +27,15 @@ maintainers = [
]
keywords = [
"python", "python3", "python-3",
"databases", "database", "ddcDatabases",
"ORM", "ORM-connection", "sqlalchemy",
"database", "databases", "ddcDatabase", "ddcDatabases",
"mssql", "mssql-database",
"mysql", "mysql-database",
"oracle", "oracle-database",
"mariadb", "mariadb-database",
"mongodb", "mongodb-database",
"sqlite", "sqlite3", "sqlite3-database",
"pgsql", "postgres", "postgresql", "postgresql-database",
"postgres", "postgres-database", "postgresql", "postgresql-database", "pgsql", "pgsql-database",
]
classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
Expand All @@ -59,10 +60,12 @@ dependencies = [

[project.optional-dependencies]
mongodb = ["motor>=3.7.1"]
mssql = ["pyodbc>=5.3.0", "aioodbc>=0.5.0"]
mysql = ["mysqlclient>=2.2.7", "aiomysql>=0.3.2"]
oracle = ["oracledb>=3.4.2"]
pgsql = ["psycopg[binary]>=3.3.2", "asyncpg>=0.31.0"]
mssql = ["pyodbc>=5.3.0", "aioodbc>=0.5.0"]
mysql = ["mysqlclient>=2.2.8", "aiomysql>=0.3.2"]
postgres = ["psycopg[binary]>=3.3.2", "asyncpg>=0.31.0"]
pgsql = ["ddcDatabases[postgres]"]
mariadb = ["ddcDatabases[mysql]"]

[dependency-groups]
dev = [
Expand Down
Loading
Loading