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.30.0.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.30.0-py3-none-any.whl (34.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: check_datapackage-0.30.0.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","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.30.0.tar.gz
Algorithm Hash digest
SHA256 2bf5364b2d3b5cd66ad45f017df0b8154bab71b992e459ddf71609ecf0fd4e47
MD5 63a3a8cfec574f0bc1ced1f19bca74de
BLAKE2b-256 181310de153c8d5f8c00a9692819b2e20a8095931efe5d40a5a3de7a668fd60d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: check_datapackage-0.30.0-py3-none-any.whl
  • Upload date:
  • Size: 34.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","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.30.0-py3-none-any.whl
Algorithm Hash digest
SHA256 efbf5b4208d1744e8107702a0048d203638d98c1945c1ce9cb30768489c16b4f
MD5 87886846882fa5a182a73e31f3e22548
BLAKE2b-256 a23eed9c3da4b171432f8af12e4375286cb1c658dff704b5d734bc7de74ee87a

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