Skip to main content

exchange metadata converters

Project description

PyPI version Build Status

Setup

Installing from PyPI

The package is published on PyPI.

$ pip install exchange-metadata-converter

Installing from source code

To install the package from source code, run

$ git clone https://github.com/CODAIT/exchange-metadata-converter.git
$ cd exchange-metadata-converter
$ pip install .

Validation

The package should pass flake8 and the unit tests in the /tests directory.

$ pip install -r test_requirements.txt
$ flake8 .
$ python -m unittest tests/*.py

Running the converter

Display help:

$ python metadata_converter/apply.py -h

Replace {{...}} placeholders in my.template with values from my.yaml. The completed template is displayed on STDOUT.

$ python metadata_converter/apply.py my.yaml my.template

Replace {{...}} placeholders in my.template with values from my.yaml. The completed template is stored in my_completed.template.

$ python metadata_converter/apply.py my.yaml my.template -o my_completed.template

Programmatic invocation

See example source code in examples/.

Templates

Example template files for DLF and OpenAIHub can be found in the templates/ directory.

DAX data set descriptors

Descriptor files for DAX data sets can be found in the dax-data-set-descriptors/ directory.

License

Apache-2.0

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

exchange-metadata-converter-0.0.8.tar.gz (8.3 kB view details)

Uploaded Source

File details

Details for the file exchange-metadata-converter-0.0.8.tar.gz.

File metadata

  • Download URL: exchange-metadata-converter-0.0.8.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.5

File hashes

Hashes for exchange-metadata-converter-0.0.8.tar.gz
Algorithm Hash digest
SHA256 dd3973f4fa8a21d4688fe099b4d5d075b728bd910d658a5dd8045dc1c26214f7
MD5 abebb88ce922bc62bfea513674948f78
BLAKE2b-256 47c9a7075a5036d6deefb7e2baffeef63f156cb37363a2670777fa620b031b99

See more details on using hashes here.

Supported by

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