Skip to main content

Validator for ARGO sensor metadata JSON

Project description

Argo Metadata Validator

Validator for ARGO sensor metadata JSON

Package: https://pypi.org/project/argo-metadata-validator

Usage

Install the package with pip install argo-metadata-validator.

You can validate files from the command line as follows

argo-validate file_1.json,file_2.json

To see the available CLI options you can run argo-validate --help.

TODO: Add Non-CLI usage example.

Development

Poetry is used to manage the building of this package and managing the package dependencies.

To run the script locally:

  • poetry install
  • poetry run argo-validate

For example, from the root of the repo

poetry run argo-validate tests/files/valid_sensor.json

To run lint/tests, first install dev dependencies poetry install -with dev

  • poetry run task lint - Check linting
  • poetry run task format - Autofix lint errors (where possible)
  • poetry run task test - Run unit tests

Releasing a new version

This done by creating a new release in Github. Make sure the created tag follows SemVer conventions.

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

argo_metadata_validator-0.0.1.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

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

argo_metadata_validator-0.0.1-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file argo_metadata_validator-0.0.1.tar.gz.

File metadata

  • Download URL: argo_metadata_validator-0.0.1.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.13 Linux/6.11.0-1018-azure

File hashes

Hashes for argo_metadata_validator-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b4cb6487bfd0720391743209c3a7d1650139b50fb1b7a98a150d0fa6d23e7db3
MD5 85a1a669f7f7a8835f8d8b5cd44c9c5c
BLAKE2b-256 225978b2df7296578792198b3c56932dcccc586370d0d30833f61c77856305ff

See more details on using hashes here.

File details

Details for the file argo_metadata_validator-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for argo_metadata_validator-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7ac16f1eca6edcbcf55f047f3fa57c5338e00a305a77d2b72a7daee48a3ba9b3
MD5 3ab3eb595c62d39c08e4fe77b3a6e5b6
BLAKE2b-256 bfa1b598e26a308f5466ac63500f7e955c3e7569dfebde460a966905ba2c8957

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