UnitsML XML unit markup schema
Introduction
This schema was originally developed and published by NIST. The schema is used by the OCX schema which is managed by the OCX Consortium. The UnitsML schema is publihsed by the OCX Consortium under the original LICENSE.
Changelog
Project structure
Root
└──ocx_unitsml
└───ocx_unitsml_0918
How to contribute
The schema file is maintained using an XML editor like Altova XMLSpy.
- Installation: Simply download the schema files from the repository or clone it using git.
- Create an Issue for the proposed schema change. Follow the recipe on the Wiki on how to register an issue.
- Then create a branch from the issue, check out the branch and implement the proposed changes.
- When the implementation is completed, create a pull request.
- The pull request will have to be approved by the OCXStandard maintainer before it can be included in the working draft.
Schema versioning
The UnitsML schema is following the Python PEP 440 versioning recommendations.
Following PEP 440, the canonical public version identifiers MUST comply with the following scheme:
[N!]N(.N)*[{a|b|rc}N][.postN][.devN]
see the PEP 440 for a detailed explanation.
tbump versioning tool
The Python tbump tool is used to automate and bump schema versions. tbump also provides the possibility for pre- and post-commit actions.
The project config file pyproject.toml contains the tbump settings.
Usage
Assume that the current schema version is 0.9.18. To bump the schema version to a new version 1.0.0 version, the following command can be issued:
> tbump 1.0.0
Naive databinding
A set of Python dataclasses are autogenerated after each version release, see databindings
Generating databindings
Public License
The UnitsML standard is governed by the OASIS Intellectual Property Rights Policy (the License).
Unless required by applicable law or agreed to in writing, the UnitsML standard and any derivative works re-distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. The OCX Consortium is not liable to any use whatsoever of the distributed standard or derivative works based on the standard.
Credits
NIST for the original schema development and OASIS UnitsML TC for publishing the schema version 1.0 in 2011.
Metadata
Release files for ocx_unitsml 0.9.18
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 | Actions |
|---|---|---|---|---|
| ocx_unitsml-0.9.18.tar.gz | 23.1 kB | Without provenance | Details for ocx_unitsml-0.9.18.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ocx_unitsml-0.9.18-py3-none-any.whl | Python 3 | none | any | Details for ocx_unitsml-0.9.18-py3-none-any.whl |
Total release size: 47.6 kB
Release files / ocx_unitsml-0.9.18.tar.gz
| Download URL | ocx_unitsml-0.9.18.tar.gz |
|---|---|
| Size | 23.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
014291d4d3be057b5fd5d61958ea3c17344ac36ca6589e05a9c2ecc113ab64f2
|
|
BLAKE2b-256 checksum How to use checksums |
d6e1f42b50c171508c249b9f2a8d2c65776155cd4dfd611c1d64216a7d5637d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.4 Windows/10
|
Release files / ocx_unitsml-0.9.18-py3-none-any.whl
| Download URL | ocx_unitsml-0.9.18-py3-none-any.whl |
|---|---|
| Size | 24.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e4f2bc4f50853cdef907b5860b51fd3ddcbfd10fd106ff3dc8664eb428150741
|
|
BLAKE2b-256 checksum How to use checksums |
a1c579052e32e2566b39c8fad827064040ca02cd4fd34488e50db2919c7cb399
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.4 Windows/10
|
Security for ocx_unitsml 0.9.18
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.