Skip to main content

3DOCX.org logo

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.

  1. Installation: Simply download the schema files from the repository or clone it using git.
  2. Create an Issue for the proposed schema change. Follow the recipe on the Wiki on how to register an issue.
  3. Then create a branch from the issue, check out the branch and implement the proposed changes.
  4. When the implementation is completed, create a pull request.
  5. 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).

Read 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)

Source distribution for ocx_unitsml 0.9.18
File Size Uploaded
ocx_unitsml-0.9.18.tar.gz 23.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ocx_unitsml 0.9.18
File Interpreter ABI Platform
ocx_unitsml-0.9.18-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.9.18 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page