Converter between NIX and odML format
Project description
# odML ↔️ NIX metadata conversion tool
This tool reads in odML / NIX files and writes the metadata structure to newly created NIX / odML files.
When run as a script from the command line, it prints information regarding the number of Sections and Properties that were read, written, or skipped for various reasons.
For compatibility with the NIX metadata format, which differs slightly from the odML format, the following modifications occur when converting from odML to NIX:
- If a Section has a `reference` create a property called `reference`
- If a Property has a `reference` put the reference in the Property's
values
- Values of type `URL`, `person`, and `text` are treated as strings
- Values of type `datetime`, `date`, and `time` are converted to string
representations
- Values of type `binary` are discarded
This tool reads in odML / NIX files and writes the metadata structure to newly created NIX / odML files.
When run as a script from the command line, it prints information regarding the number of Sections and Properties that were read, written, or skipped for various reasons.
For compatibility with the NIX metadata format, which differs slightly from the odML format, the following modifications occur when converting from odML to NIX:
- If a Section has a `reference` create a property called `reference`
- If a Property has a `reference` put the reference in the Property's
values
- Values of type `URL`, `person`, and `text` are treated as strings
- Values of type `datetime`, `date`, and `time` are converted to string
representations
- Values of type `binary` are discarded
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
File details
Details for the file nixodmlconverter-0.0.1.tar.gz
.
File metadata
- Download URL: nixodmlconverter-0.0.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b2d7633d69e07e5504c6a3ef0bfdf79a49f0caf1a41f979ec248accffb3bf81 |
|
MD5 | 8475c7a4e682cf5149930d808e85e35c |
|
BLAKE2b-256 | b288b4320acf1a10ee83a62bec6354730abd3f566e5ec91fed25943f3bdfacbb |