pytest-databases 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: pytest-databases
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Reusable database fixtures for any and all databases.
|
|
5
|
+
Project-URL: Documentation, https://github.com/jolt-org/pytest-databases#readme
|
|
6
|
+
Project-URL: Issues, https://github.com/jolt-org/pytest-databases/issues
|
|
7
|
+
Project-URL: Source, https://github.com/jolt-org/pytest-databases
|
|
8
|
+
Author-email: Cody Fincher <cody.fincher@gmail.com>
|
|
9
|
+
License-Expression: MIT
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Keywords: bigquery,cockroachdb,database,duckdb,migration,mssql,mysql,oracle,postgres,spanner
|
|
12
|
+
Classifier: Development Status :: 4 - Beta
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
20
|
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
21
|
+
Requires-Python: >=3.8
|
|
22
|
+
Requires-Dist: pytest
|
|
23
|
+
Provides-Extra: cockroachdb
|
|
24
|
+
Requires-Dist: psycopg; extra == 'cockroachdb'
|
|
25
|
+
Provides-Extra: mssql
|
|
26
|
+
Requires-Dist: aioodbc; extra == 'mssql'
|
|
27
|
+
Provides-Extra: mysql
|
|
28
|
+
Requires-Dist: asyncmy>=0.2.9; extra == 'mysql'
|
|
29
|
+
Provides-Extra: oracle
|
|
30
|
+
Requires-Dist: oracledb; extra == 'oracle'
|
|
31
|
+
Provides-Extra: postgres
|
|
32
|
+
Requires-Dist: asyncpg>=0.29.0; extra == 'postgres'
|
|
33
|
+
Provides-Extra: spanner
|
|
34
|
+
Requires-Dist: google-cloud-spanner; extra == 'spanner'
|
|
35
|
+
Provides-Extra: sqlite
|
|
36
|
+
Requires-Dist: aiosqlite; extra == 'sqlite'
|
|
37
|
+
Description-Content-Type: text/markdown
|
|
38
|
+
|
|
39
|
+
# pytest-databases
|
|
40
|
+
|
|
41
|
+
Reusable test fixtures for any and all databases.
|
|
42
|
+
|
|
43
|
+
<div align="center">
|
|
44
|
+
|
|
45
|
+
| Project | | Status |
|
|
46
|
+
| --------- | :-- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
47
|
+
| CI/CD | | [](https://github.com/jolt-org/pytest-databases/actions/workflows/publish.yaml) [](https://github.com/jolt-org/pytest-databases/actions/workflows/ci.yaml) [](https://github.com/jolt-org/pytest-databases/actions/workflows/docs.yaml) |
|
|
48
|
+
| Quality | | [](https://sonarcloud.io/summary/new_code?id=jolt-org_pytest-databases) [](https://sonarcloud.io/summary/new_code?id=jolt-org_pytest-databases) [](https://sonarcloud.io/summary/new_code?id=jolt-org_pytest-databases) [](https://sonarcloud.io/summary/new_code?id=jolt-org_pytest-databases) [](https://sonarcloud.io/summary/new_code?id=jolt-org_pytest-databases) |
|
|
49
|
+
| Community | | [](https://discord.gg/XpFNTjjtTK) |
|
|
50
|
+
| Meta | | [](https://github.com/jolt-org/) [](https://github.com/python/mypy) [](https://spdx.org/licenses/) [](https://github.com/sponsors/jolt-org) [](https://github.com/astral-sh/ruff) [](https://github.com/psf/black) |
|
|
51
|
+
|
|
52
|
+
</div>
|
|
53
|
+
|
|
54
|
+
> [!WARNING] > **Pre-Release Alpha Stage**
|
|
55
|
+
>
|
|
56
|
+
> Please note that pytest-databases is currently in a pre-release alpha stage of development. This means the library is still under
|
|
57
|
+
> active development, and its API is subject to change. We encourage developers to experiment with pytest-databases and provide
|
|
58
|
+
> feedback, but we recommend against using it in production environments until a stable release is available.`
|
|
59
|
+
|
|
60
|
+
## About
|
|
61
|
+
|
|
62
|
+
The `pytest-databases` library aims to make testing with a database as simple as possible.
|
|
63
|
+
It is designed to offer pre-configured testing setups for many different types and versions of databases.
|
|
64
|
+
|
|
65
|
+
## Features
|
|
66
|
+
|
|
67
|
+
`pytest-databases` currently utilizes `docker compose` (or the legacy `docker-compose`) commands to manage the startup and shutdown of each database service. The following databases are currently available:
|
|
68
|
+
|
|
69
|
+
- **Postgres**: Version 12, 13, 14, 15, and 16 are available
|
|
70
|
+
- **MySQL**: Version 5.6, 5.7 and 8 are available
|
|
71
|
+
- **Oracle**: Version 18c XE and 23C Free are available
|
|
72
|
+
- **SQL Server**: Version 2022 is available
|
|
73
|
+
- **Spanner**: The latest cloud-emulator from Google is available
|
|
74
|
+
- **Cockroach**: Version 23.1-latest is available
|
|
75
|
+
|
|
76
|
+
## Contributing
|
|
77
|
+
|
|
78
|
+
All [Jolt][jolt-org] projects will always be a community-centered, available for contributions of any size.
|
|
79
|
+
|
|
80
|
+
Before contributing, please review the [contribution guide][contributing].
|
|
81
|
+
|
|
82
|
+
If you have any questions, reach out to us on [Discord][discord], our org-wide [GitHub discussions][jolt-discussions] page,
|
|
83
|
+
or the [project-specific GitHub discussions page][project-discussions].
|
|
84
|
+
|
|
85
|
+
<hr>
|
|
86
|
+
|
|
87
|
+
<!-- markdownlint-disable -->
|
|
88
|
+
<p align="center">
|
|
89
|
+
<!-- github-banner-start -->
|
|
90
|
+
<img src="https://raw.githubusercontent.com/jolt-org/meta/2901c9c5c5895a83fbfa56944c33bca287f88d42/branding/SVG%20-%20Transparent/logo-full-wide.svg" alt="Litestar Logo - Light" width="20%" height="auto" />
|
|
91
|
+
<br>A <a href="https://github.com/jolt-org">Jolt Organization</a> Project
|
|
92
|
+
<!-- github-banner-end -->
|
|
93
|
+
</p>
|
|
94
|
+
|
|
95
|
+
[jolt-org]: https://github.com/jolt-org
|
|
96
|
+
[contributing]: https://docs.pytest-databases.jolt.rs/latest/contribution-guide.html
|
|
97
|
+
[discord]: https://discord.gg/XpFNTjjtTK
|
|
98
|
+
[jolt-discussions]: https://github.com/orgs/jolt-org/discussions
|
|
99
|
+
[project-discussions]: https://github.com/jolt-org/pytest-databases/discussions
|
|
100
|
+
[project-docs]: https://docs.pytest-databases.jolt.rs
|
|
101
|
+
[install-guide]: https://docs.pytest-databases.jolt.rs/latest/#installation
|
|
102
|
+
[newrepo]: https://github.com/organizations/jolt-org/repositories/new?template=pytest-databases
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
pytest_databases-0.1.0.dist-info/METADATA,sha256=nOtqlmefBSOvs_goQhpL6PgCotioEHxeiuDnLohcRBU,10401
|
|
2
|
+
pytest_databases-0.1.0.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
|
|
3
|
+
pytest_databases-0.1.0.dist-info/licenses/LICENSE,sha256=2NAqnvflHvxblO8VfxHXtZ3hq1tP7hw-Y2edTWQ3eKI,1061
|
|
4
|
+
pytest_databases-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 Jolt
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|