Name | pgtestkit JSON |
Version |
0.0.1
JSON |
| download |
home_page | None |
Summary | A PostgreSQL testing framework for Python. |
upload_time | 2024-08-10 21:52:45 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.7 |
license | The MIT License (MIT) Copyright (c) 2024 Daniel Marín Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
postgresql
testing
framework
python
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# pgtestkit
pgtestkit is a lightweight and easy-to-use PostgreSQL testing framework for Python, inspired by pytest.
## Features
- Seamless integration with PostgreSQL databases.
- Customizable fixtures for setting up and tearing down database environments.
- Detailed assertions specific to PostgreSQL.
## Installation
Install pgtestkit via pip:
```bash
pip install pgtestkit
```
## Usage
Here's a simple example of how to use pgtestkit:
```python
import pgtestkit
def test_user_table(pg_connection):
pg_connection.assert_table_exists('users')
```
## Contributing
We welcome contributions! See [CONTRIBUTING.md](CONTRIBUTING.md) for more details.
## License
pgtestkit is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Links
- Documentation:
- Source Code: https://github.com/danimarin24/pgtestkit
- Issues: https://github.com/danimarin24/pgtestkit/issues
Raw data
{
"_id": null,
"home_page": null,
"name": "pgtestkit",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "PostgreSQL, testing, framework, Python",
"author": null,
"author_email": "Daniel Mar\u00edn <dani4marin@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/92/11/9de6ad45e7b02f7b53d8b1bf9dd4a8ecbbf5c223373a62d8c0678d4aa1cc/pgtestkit-0.0.1.tar.gz",
"platform": null,
"description": "# pgtestkit\r\n\r\npgtestkit is a lightweight and easy-to-use PostgreSQL testing framework for Python, inspired by pytest.\r\n\r\n## Features\r\n\r\n- Seamless integration with PostgreSQL databases.\r\n- Customizable fixtures for setting up and tearing down database environments.\r\n- Detailed assertions specific to PostgreSQL.\r\n\r\n## Installation\r\n\r\nInstall pgtestkit via pip:\r\n\r\n```bash\r\npip install pgtestkit\r\n```\r\n\r\n## Usage\r\n\r\nHere's a simple example of how to use pgtestkit:\r\n\r\n```python\r\nimport pgtestkit\r\n\r\ndef test_user_table(pg_connection):\r\n pg_connection.assert_table_exists('users')\r\n```\r\n\r\n## Contributing\r\n\r\nWe welcome contributions! See [CONTRIBUTING.md](CONTRIBUTING.md) for more details.\r\n\r\n## License\r\n\r\npgtestkit is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\r\n\r\n## Links\r\n\r\n- Documentation:\r\n- Source Code: https://github.com/danimarin24/pgtestkit\r\n- Issues: https://github.com/danimarin24/pgtestkit/issues\r\n",
"bugtrack_url": null,
"license": "The MIT License (MIT) Copyright (c) 2024 Daniel Mar\u00edn Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
"summary": "A PostgreSQL testing framework for Python.",
"version": "0.0.1",
"project_urls": null,
"split_keywords": [
"postgresql",
" testing",
" framework",
" python"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "abef9585d43add51fbbe6de10f7c316c794bbd7fcf6da4ebac7ce853b2f916f8",
"md5": "fba3b1d893d9bdd7e8760ca08d89d0f7",
"sha256": "5433c2f2bc60230ea26e058b47a2fa051d67bd012d976e07e593e2c659aea779"
},
"downloads": -1,
"filename": "pgtestkit-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fba3b1d893d9bdd7e8760ca08d89d0f7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 5931,
"upload_time": "2024-08-10T21:52:44",
"upload_time_iso_8601": "2024-08-10T21:52:44.376781Z",
"url": "https://files.pythonhosted.org/packages/ab/ef/9585d43add51fbbe6de10f7c316c794bbd7fcf6da4ebac7ce853b2f916f8/pgtestkit-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "92119de6ad45e7b02f7b53d8b1bf9dd4a8ecbbf5c223373a62d8c0678d4aa1cc",
"md5": "99f9abe61a677d3c7bac946351deefc7",
"sha256": "a48d87cd3f9b77c15dbf6085b49c6af0938564e154f38ee7e4e4fdc910508b27"
},
"downloads": -1,
"filename": "pgtestkit-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "99f9abe61a677d3c7bac946351deefc7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 3595,
"upload_time": "2024-08-10T21:52:45",
"upload_time_iso_8601": "2024-08-10T21:52:45.918233Z",
"url": "https://files.pythonhosted.org/packages/92/11/9de6ad45e7b02f7b53d8b1bf9dd4a8ecbbf5c223373a62d8c0678d4aa1cc/pgtestkit-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-10 21:52:45",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "pgtestkit"
}