Validator for ARGO sensor metadata JSON
Project description
Argo Metadata Validator
Validator for ARGO sensor metadata JSON.
Schema definitions are taken from https://github.com/euroargodev/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 installpoetry 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 lintingpoetry 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file argo_metadata_validator-0.0.2.tar.gz.
File metadata
- Download URL: argo_metadata_validator-0.0.2.tar.gz
- Upload date:
- Size: 17.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.11.13 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15df628f12ab08f7e67116499731a6f1c6d596000e3efe0d70ccfbc04dc29c25
|
|
| MD5 |
35d23ba8cda7bb028fdeb0766303bed6
|
|
| BLAKE2b-256 |
c43d93dc5ee385b4d09409aca1284cd2bd40cd1b723b48d9bd535b756f23636f
|
File details
Details for the file argo_metadata_validator-0.0.2-py3-none-any.whl.
File metadata
- Download URL: argo_metadata_validator-0.0.2-py3-none-any.whl
- Upload date:
- Size: 25.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.11.13 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b9f4e6091a51724b45f624262e1fd4f415690eb1af8221e5fc18753ed857504
|
|
| MD5 |
ceb5e5f88905dd7ed74e58a4313bf734
|
|
| BLAKE2b-256 |
3192b03f84e78bbb68b5ed4c6c03f668a23c9c29199c1c7e3e2e61147b0d3555
|