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
Metadata
Release files for exchange-metadata-converter 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| exchange-metadata-converter-0.0.9.tar.gz | 9.0 kB | Without provenance | Details |
Release files / exchange-metadata-converter-0.0.9.tar.gz
| Download URL | exchange-metadata-converter-0.0.9.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7de8bce705e472b42b1604e26bb0eb1e436be669ee21461e1709cdffb6dabfa1
|
|
BLAKE2b-256 checksum How to use checksums |
b8c42370d66bdf48c89019d050bb924ef40dac010af8c84280521c504abeef7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
|
Security for exchange-metadata-converter 0.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.