Skip to main content

Labunits

This is a simple python library for laboratory units, and to convert between them.

Intended use

labunits is a general-purpose unit conversion library — a lookup table of unit pairs and conversion factors keyed by LOINC, plus one multiplication. It is not a medical device and has not been clinically validated. It does not provide reference intervals, flag abnormal values or interpret results, and it is not intended for diagnosis, monitoring, treatment decisions or any other medical purpose. Verify unit pairs and factors against your own laboratory's data before relying on them.

Why another library with this content?

Oh - just because - there IS NONE. I couldn't believe that.

License

MIT. Just use it in your project and give credits.

Metadata

Release files for labunits 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for labunits 0.2.0
File Size Uploaded Provenance
labunits-0.2.0.tar.gz 10.2 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 18.1 kB

Release files / labunits-0.2.0.tar.gz

Download URL labunits-0.2.0.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2120bd49d7da3ec8ec4fc001289f0e7cd9759208b9133cbc94073835eadb3878
BLAKE2b-256 checksum
How to use checksums
0b26f00c018e108bb3753e88ff9e35157706e3f41cfeb0ac682337e351167189
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.2

Release files / labunits-0.2.0-py3-none-any.whl

Download URL labunits-0.2.0-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2222f023443f723c8d6d592ea413193cf749ea04919a2ec99139860900540190
BLAKE2b-256 checksum
How to use checksums
99074fcfde1c9590d5f1cbfc7dd953095317d080b7708430b82227075937d0f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.2

Security for labunits 0.2.0

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.

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