Skip to main content

Check your Data Package's metadata against the Data Package standard to ensure that it's compliant with the standard

Project description

Link to Sprout website

check-datapackage: Ensure the compliance of your Data Package metadata

DOI PyPI Version Copier Python Version from PEP 621 TOML GitHub License GitHub Release Build documentation Check package OpenSSF Scorecard CodeQL code coverage pre-commit.ci status lifecycle Project Status: Active – The project has reached a stable, usable state and is being actively developed.

check-datapackage is a Python package that checks your Data Package’s metadata against the Data Package standard to ensure that it’s compliant with the standard. Specifically, it:

  • Checks your metadata in datapackage.json against the Data Package standard.
  • Enables you to configure which components of the metadata should or should not be checked.
  • Enables you to turn off specific checks defined in the standard.
  • Supports user-defined, custom checks.
  • Provides clear and user-friendly messages that point directly to where issues occur in the metadata.
  • Supports a strict mode that enforces full compliance with the standard, including properties that must and should be included.

[!WARNING]

check-datapackage only checks the metadata in your datapackage.json file against the Data Package standard—it does not check the data itself against the metadata.

[!TIP]

This Python package was generated from the template-python-package Seedcase template :tada:

Project files and folders

  • .github/: Contains GitHub-specific files, such as issue and pull request templates, workflows, dependabot configuration, pull request templates, and a CODEOWNERS file.
  • tools/vulture-allowlist.py: List of variables that shouldn’t be flagged by Vulture as unused.
  • tools/get-contributors.sh: Script to get list of project contributors.
  • tests/: Test files for the package.
  • src/: Source code for the package.
  • docs/: Documentation about using and developing the Python package.
  • _renderer.py: Custom quartodoc renderer.
  • pytest.ini: Pytest configuration file.
  • mypy.ini: mypy configuration file for type checking Python code.
  • .copier-answers.yml: Contains the answers you gave when copying the project from the template. You should not modify this file directly.
  • .cz.toml: Commitizen configuration file for managing versions and changelogs.
  • .pre-commit-config.yaml: Pre-commit configuration file for managing and running checks before each commit.
  • .typos.toml: typos spell checker configuration file.
  • justfile: just configuration file for scripting project tasks.
  • .editorconfig: Editor configuration file for EditorConfig to maintain consistent coding styles across different editors and IDEs.
  • CHANGELOG.md: Changelog file for tracking changes in the project.
  • CITATION.cff: Structured citation metadata for your project.
  • CONTRIBUTING.md: Guidelines for contributing to the project.
  • _metadata.yml: Quarto metadata file for the website, including information about the project, such as the titles and GitHub names.
  • pyproject.toml: Main Python project configuration file defining metadata and dependencies.
  • _quarto.yml: Quarto configuration file for the website, including settings for the website, such as the theme, navigation, and other options.
  • ruff.toml: Ruff configuration file for linting and formatting Python code.
  • uv.lock: Lockfile used by uv to record exact versions of installed dependencies.

Contributing

Check out our contributing document for information on how to contribute to the project, including how to set up your development environment.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Contributors

The following people have contributed to this project by submitting pull requests :tada:

@lwjohnst86, @martonvago, @signekb, @joelostblom

Licensing

This project is licensed under the MIT License.

Changelog

For a list of changes, see our changelog page.

Citing

This project is part of the Seedcase Project, which is a collaborative effort to create a framework for data management and analysis in research. If you use this project in your work, please cite it as follows:

Johnston L.W., Brødbæk S.K., Beicher K., Vago M., Ostblom J. (2025). Check Data Package: Ensure the correctness and compliance of your Data Package DOI: 10.5281/zenodo.17733655 URL: https://check-datapackage.seedcase-project.org

Or as a BibTeX entry:

@misc{YourReferenceHere,
author = {Johnston, Luke William and Brødbæk, Signe Kirk and Beicher, Kristiane and Vago, Marton and Ostblom, Joel},
doi = {10.5281/zenodo.17733655},
month = {11},
title = {Check Data Package: Ensure the correctness and compliance of your Data Package},
url = {https://check-datapackage.seedcase-project.org},
year = {2025}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

check_datapackage-0.26.4.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

check_datapackage-0.26.4-py3-none-any.whl (34.7 kB view details)

Uploaded Python 3

File details

Details for the file check_datapackage-0.26.4.tar.gz.

File metadata

  • Download URL: check_datapackage-0.26.4.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for check_datapackage-0.26.4.tar.gz
Algorithm Hash digest
SHA256 e421ce5364387e0acaa774430d11534f1bd27180318bb586f68b37e2f67da299
MD5 b9deaa03d0a723c57f6f7d076e38b3e4
BLAKE2b-256 fd2f7552f1b71ab9d9aabd32a454c0a66e7207dca4bcba747cf39d2d4de754e0

See more details on using hashes here.

File details

Details for the file check_datapackage-0.26.4-py3-none-any.whl.

File metadata

  • Download URL: check_datapackage-0.26.4-py3-none-any.whl
  • Upload date:
  • Size: 34.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for check_datapackage-0.26.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ce715226aade2acfe2553a9792a3ef63f1dc990902b4905cb611f584f04afc29
MD5 56793d77dda55f0d507f600294f43acb
BLAKE2b-256 6ddfd8f3531e81e6590d7d54abffbeed51949318a8cec9930727c13544767d38

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page