Name | datajudge JSON |
Version |
1.9.2
JSON |
| download |
home_page | None |
Summary | datajudge allows to assess whether data from database complies with reference |
upload_time | 2024-09-05 09:03:11 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | None |
keywords |
test
databases
validation
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# datajudge
[![CI](https://github.com/Quantco/datajudge/actions/workflows/ci.yaml/badge.svg)](https://github.com/Quantco/datajudge/actions/workflows/ci.yaml)
[![Documentation Status](https://readthedocs.org/projects/datajudge/badge/?version=latest)](https://datajudge.readthedocs.io/en/latest/?badge=latest)
[![Conda-forge](https://img.shields.io/conda/vn/conda-forge/datajudge?logoColor=white&logo=conda-forge)](https://anaconda.org/conda-forge/datajudge)
[![PypiVersion](https://img.shields.io/pypi/v/datajudge.svg?logo=pypi&logoColor=white)](https://pypi.org/project/datajudge)
[![codecov.io](https://codecov.io/github/QuantCo/datajudge/coverage.svg?branch=main)](https://codecov.io/github/QuantCo/datajudge?branch=main)
Express and test specifications against data from database.
[Documentation](https://datajudge.readthedocs.io/en/latest/index.html)
# Usage
`datajudge` can either be installed via pypi with `pip install datajudge` or via conda-forge with `conda install datajudge -c conda-forge`.
Please refer to the [Getting Started](https://datajugde.readthedocs.io/en/latest/getting_started.html) section of our documentation for details.
Expressing an expectations between different tables from a database may look as such:
```python
from datajudge import BetweenRequirement
companies_between_req = BetweenRequirement.from_tables(
db_name1="example",
table_name1="companies",
db_name2="example",
table_name2="companies_archive",
)
companies_between_req.add_row_superset_constraint(
columns1=["name"], columns2=["name"], constant_max_missing_fraction=0
)
```
Raw data
{
"_id": null,
"home_page": null,
"name": "datajudge",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "test, databases, validation",
"author": null,
"author_email": "\"QuantCo, Inc.\" <noreply@quantco.com>",
"download_url": "https://files.pythonhosted.org/packages/e0/7f/aa83dd9536b1ad9574036c28771d7b036660af10632ea928efddb7a9ffb7/datajudge-1.9.2.tar.gz",
"platform": null,
"description": "# datajudge\n\n[![CI](https://github.com/Quantco/datajudge/actions/workflows/ci.yaml/badge.svg)](https://github.com/Quantco/datajudge/actions/workflows/ci.yaml)\n[![Documentation Status](https://readthedocs.org/projects/datajudge/badge/?version=latest)](https://datajudge.readthedocs.io/en/latest/?badge=latest)\n[![Conda-forge](https://img.shields.io/conda/vn/conda-forge/datajudge?logoColor=white&logo=conda-forge)](https://anaconda.org/conda-forge/datajudge)\n[![PypiVersion](https://img.shields.io/pypi/v/datajudge.svg?logo=pypi&logoColor=white)](https://pypi.org/project/datajudge)\n[![codecov.io](https://codecov.io/github/QuantCo/datajudge/coverage.svg?branch=main)](https://codecov.io/github/QuantCo/datajudge?branch=main)\n\nExpress and test specifications against data from database.\n\n[Documentation](https://datajudge.readthedocs.io/en/latest/index.html)\n\n# Usage\n\n`datajudge` can either be installed via pypi with `pip install datajudge` or via conda-forge with `conda install datajudge -c conda-forge`.\n\nPlease refer to the [Getting Started](https://datajugde.readthedocs.io/en/latest/getting_started.html) section of our documentation for details.\n\nExpressing an expectations between different tables from a database may look as such:\n\n```python\nfrom datajudge import BetweenRequirement\n\ncompanies_between_req = BetweenRequirement.from_tables(\n db_name1=\"example\",\n table_name1=\"companies\",\n db_name2=\"example\",\n table_name2=\"companies_archive\",\n)\n\ncompanies_between_req.add_row_superset_constraint(\n columns1=[\"name\"], columns2=[\"name\"], constant_max_missing_fraction=0\n)\n```\n\n",
"bugtrack_url": null,
"license": null,
"summary": "datajudge allows to assess whether data from database complies with reference",
"version": "1.9.2",
"project_urls": {
"Source": "https://github.com/quantco/datajudge"
},
"split_keywords": [
"test",
" databases",
" validation"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c0e6e2388b1e7b7f7b296495478ae75f176d07825ce312a83210fd4022764830",
"md5": "fb4257011114859d985462000bfdb91a",
"sha256": "f5f8a8c4f5d15e5c4632b5928affd8c956def2b2780e1da98ffe01e079cccf50"
},
"downloads": -1,
"filename": "datajudge-1.9.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fb4257011114859d985462000bfdb91a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 54694,
"upload_time": "2024-09-05T09:03:10",
"upload_time_iso_8601": "2024-09-05T09:03:10.081017Z",
"url": "https://files.pythonhosted.org/packages/c0/e6/e2388b1e7b7f7b296495478ae75f176d07825ce312a83210fd4022764830/datajudge-1.9.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e07faa83dd9536b1ad9574036c28771d7b036660af10632ea928efddb7a9ffb7",
"md5": "4adafc510b76814931c6208f5c797e7f",
"sha256": "1da23557b16f144c99655739a2c729b683cedea8e5751dfcf8eaaf2b401a786b"
},
"downloads": -1,
"filename": "datajudge-1.9.2.tar.gz",
"has_sig": false,
"md5_digest": "4adafc510b76814931c6208f5c797e7f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 489689,
"upload_time": "2024-09-05T09:03:11",
"upload_time_iso_8601": "2024-09-05T09:03:11.623638Z",
"url": "https://files.pythonhosted.org/packages/e0/7f/aa83dd9536b1ad9574036c28771d7b036660af10632ea928efddb7a9ffb7/datajudge-1.9.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-05 09:03:11",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "quantco",
"github_project": "datajudge",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "datajudge"
}