{"categories":[{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering/7"}],"enrichment":{"capability":"Parses UCUM (Unified Code for Units of Measure) unit strings and converts them to pint-compatible units, with a built-in pint registry that includes all UCUM unit definitions.","skillfed_tags":["unit-conversion","scientific-computing"],"use_cases":["Parse and convert UCUM unit codes in scientific or medical data pipelines where units must be unambiguous and standardized.","Build a pint-based unit conversion system that needs to handle UCUM notation from external data sources or standards.","Validate UCUM unit strings and convert them to pint quantities for dimensional analysis in research or engineering applications.","Extend pint's default unit definitions with the full UCUM catalog for domains that require comprehensive unit coverage."],"what_it_does":"ucumvert bridges UCUM (Unified Code for Units of Measure) and Python's pint library. UCUM is a standardized code system for expressing units unambiguously in electronic communication; ucumvert provides a full parser for UCUM syntax and a converter that turns UCUM codes into pint Quantity objects. It includes a custom pint UnitRegistry pre-loaded with all UCUM unit definitions from specification version 2.2, so you can work with UCUM codes directly in pint without manual setup.\n\nThe parser is built on lark and generated from the official UCUM specification file (ucum-essence.xml), making it straightforward to update for new UCUM releases. The package handles the fact that some UCUM unit atoms are invalid in pint by maintaining explicit mappings (e.g., cal_[15] \u2192 cal_15). It is actively maintained and supports Python 3.11 through 3.14, though it remains in Beta and the maintainer recommends reviewing definitions and test coverage before production use.","worth_installing":"Yes, if you work with UCUM unit codes and need to convert them to pint. The package is actively maintained, has low install friction, and includes comprehensive UCUM definitions. However, it is in Beta status\u2014the maintainer explicitly warns that bugs may be present and recommends reviewing definitions before production use. Not necessary if you only use standard pint units."},"id":"ucumvert","links":{"html":"https://skillfed.io/packages/ucumvert","md":"https://skillfed.io/packages/ucumvert.md","pypi":"https://pypi.org/project/ucumvert/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-04","license_spdx":"MIT","license_treatment":"permissive","name":"ucumvert","python_support":"supports_current","summary":"Python parser & interface for UCUM (Unified Code for Units of Measure)."},"popularity":{"monthly_downloads":120451,"position":12023,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.3.2"}
