pytest-databases 0.12.0
pip install pytest-databases
Released:
Reusable database fixtures for any and all databases.
Navigation
Verified details
These details have been verified by PyPIProject links
GitHub Statistics
Maintainers
Unverified details
These details have not been verified by PyPIMeta
-
License Expression: MIT
SPDX License Expression - Author: Cody Fincher
- Tags alloydb, alloydbomni, azure, bigquery, cockroachdb, database, duckdb, elasticsearch, migration, mssql, mysql, oracle, postgres, redis, spanner
- Requires: Python >=3.9
-
Provides-Extra:
azure-storage
,bigquery
,cockroachdb
,dragonfly
,elasticsearch7
,elasticsearch8
,keydb
,mariadb
,minio
,mssql
,mysql
,oracle
,postgres
,redis
,spanner
Classifiers
- Development Status
- Programming Language
Project description
Pytest Databases
Reusable test fixtures for any and all databases.
Project | Status | |
---|---|---|
CI/CD | ||
Quality | ||
Package | ||
Community | ||
Meta |
[!WARNING]
Please note that pytest-databases is currently in a pre-release stage of development. This means the library is still under active development, and its initial API is subject to change. We encourage developers to experiment with pytest-databases and provide feedback, but we recommend against using it in production environments until a stable release is available.`
About
The pytest-databases
library aims to make testing with a database as simple as possible.
It is designed to offer pre-configured testing setups for many different types and versions of databases.
Features
pytest-databases
uses the Docker Python SDK to manage the startup and shutdown of database services in containers. The following databases are currently available:
- Postgres: Version 12, 13, 14, 15, 16 and 17 are available
- MySQL: Version 5.6, 5.7 and 8 are available
- Oracle: Version 18c XE and 23C Free are available
- SQL Server: Version 2022 is available
- Google AlloyDB Omni: Simplified Omni installation for easy testing.
- Google Spanner: The latest cloud-emulator from Google is available
- Google BigQuery: Unofficial BigQuery emulator
- CockroachDB: Version latest is available
- Redis: Latest version
- Valkey: Latest version
- Dragonfly: Latest version
- KeyDB: Latest version
- Elasticsearch: Version 7 and 8 are available
- Azure blob storage: Via azurite
- Minio: Latest version
Contributing
All Litestar projects will always be a community-centered, available for contributions of any size.
Before contributing, please review the contribution guide.
If you have any questions, reach out to us on Discord, our org-wide GitHub discussions page, or the project-specific GitHub discussions page.
A Litestar Organization Project
Project details
Verified details
These details have been verified by PyPIProject links
GitHub Statistics
Maintainers
Unverified details
These details have not been verified by PyPIMeta
-
License Expression: MIT
SPDX License Expression - Author: Cody Fincher
- Tags alloydb, alloydbomni, azure, bigquery, cockroachdb, database, duckdb, elasticsearch, migration, mssql, mysql, oracle, postgres, redis, spanner
- Requires: Python >=3.9
-
Provides-Extra:
azure-storage
,bigquery
,cockroachdb
,dragonfly
,elasticsearch7
,elasticsearch8
,keydb
,mariadb
,minio
,mssql
,mysql
,oracle
,postgres
,redis
,spanner
Classifiers
- Development Status
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pytest_databases-0.12.0.tar.gz
.
File metadata
- Download URL: pytest_databases-0.12.0.tar.gz
- Upload date:
- Size: 163.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d5b7c08276f0d6691538ac61826874a06b5f184f5dcacbd08971229947de11d |
|
MD5 | 243b718c06f4dfe2a03f3bb9d98b61ed |
|
BLAKE2b-256 | 8ce40355a09a43abba67ffeb85502e89af6edeebae3394b772f16553bfc52647 |
Provenance
The following attestation bundles were made for pytest_databases-0.12.0.tar.gz
:
Publisher:
release.yaml
on litestar-org/pytest-databases
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
pytest_databases-0.12.0.tar.gz
- Subject digest:
5d5b7c08276f0d6691538ac61826874a06b5f184f5dcacbd08971229947de11d
- Sigstore transparency entry: 186877893
- Sigstore integration time:
- Permalink:
litestar-org/pytest-databases@e151aeba3e9ae707513a9086f2f0356c8a7faec2
- Branch / Tag:
refs/tags/v0.12.0
- Owner: https://github.com/litestar-org
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
release.yaml@e151aeba3e9ae707513a9086f2f0356c8a7faec2
- Trigger Event:
release
- Statement type:
File details
Details for the file pytest_databases-0.12.0-py3-none-any.whl
.
File metadata
- Download URL: pytest_databases-0.12.0-py3-none-any.whl
- Upload date:
- Size: 27.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e5b920a4fa04667ddd4991b3be96f5afa886a1b550607e54315ac2e042ee211 |
|
MD5 | 9fbe9b94da261bfdca5122c41a3546b7 |
|
BLAKE2b-256 | cf8dd152a50bfbd9d6f4e3e193271e26ec2ccf0bb950f86775669b98d807d1d5 |
Provenance
The following attestation bundles were made for pytest_databases-0.12.0-py3-none-any.whl
:
Publisher:
release.yaml
on litestar-org/pytest-databases
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
pytest_databases-0.12.0-py3-none-any.whl
- Subject digest:
2e5b920a4fa04667ddd4991b3be96f5afa886a1b550607e54315ac2e042ee211
- Sigstore transparency entry: 186877894
- Sigstore integration time:
- Permalink:
litestar-org/pytest-databases@e151aeba3e9ae707513a9086f2f0356c8a7faec2
- Branch / Tag:
refs/tags/v0.12.0
- Owner: https://github.com/litestar-org
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
release.yaml@e151aeba3e9ae707513a9086f2f0356c8a7faec2
- Trigger Event:
release
- Statement type: