Skip to main content

Validator for ARGO sensor metadata JSON

Project description

argo-metadata-validator

Validator for ARGO sensor metadata JSON

TODO: running/install instructions

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

Versions of the package are denoted by tags in git. To create a new tag, you can use the GitLab UI by following these steps:

#. Go the repository tags page #. Click New tag #. Enter the tag name. There are four options for the format for this tag:

#. Alpha release (development release): vX.Y.ZaW, for example v1.0.2a3 #. Beta release (development release): vX.Y.ZbW, for example v2.3.0b1. #. Release candidate (test release): vX.Y.ZrcW, for example v1.10.9rc2. #. Full release (production release): vX.Y.Z, for example v3.0.11.

#. Select the branch to create the tag from, this will normally be main #. Enter a message for the tag, this is required for the CI/CD pipeline to function correctly #. Click Create tag #. This will trigger a CI/CD pipeline

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.0.tar.gz (12.3 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.0-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: argo_metadata_validator-0.0.0.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.10.16 Windows/10

File hashes

Hashes for argo_metadata_validator-0.0.0.tar.gz
Algorithm Hash digest
SHA256 294458026859dcec8f3410cd8f7551263eb5b83a854e209002c4d4d6b3b37871
MD5 a4a2a4dbde9849248b9a22d0663134e2
BLAKE2b-256 c5ded35b1dd3ed26a190b1ea0e5cbe474d00178c3d1adc1e90ea31b63bb04ecb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for argo_metadata_validator-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 22dc8046572b706500c65ee52b952df61d2015f1241303d4990e0922d68eb7f5
MD5 25e2a1065909438d2d1406aa805607a1
BLAKE2b-256 80d8445218f885d49f244820b606e82f5525b67ca381e39be33f58fae0198c95

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