exchange metadata converters
Project description
Setup
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
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
Close
Hashes for exchange-metadata-converter-0.0.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2578850e54acfa0a22715c3af08dd2b3773f7d00e139b96c0c3264bbc1799e14 |
|
MD5 | 2faec4c6f8ef6fc2e8351c75d76e1e0c |
|
BLAKE2b-256 | d2992a9930920291f7b434ee8ff4c4941dc0aee52b2e5e93ea5f8accc898c0af |