{"categories":[{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering/8"}],"enrichment":{"capability":"isqx provides type-annotation-friendly metadata objects for physical units and quantity kinds based on ISO/IEC 80000, with zero runtime overhead and optional utilities for unit conversion and simplification.","skillfed_tags":["type-annotations","scientific-computing","unit-conversion"],"use_cases":["Annotate scientific function signatures with physical units to catch dimensional mismatches at type-check time without runtime overhead.","Document dataclass fields with quantity kinds (e.g., GEOPOTENTIAL_ALTITUDE, STATIC_PRESSURE) to encode domain-specific metadata in type hints.","Convert between compatible unit systems (e.g., feet per minute to meters per second) with dimension validation and exact or approximate arithmetic.","Simplify complex unit expressions into flat canonical form to compute dimensions and verify dimensional consistency.","Use as an optional typing dependency in libraries, allowing downstream users to inspect unit metadata at runtime without hard-depending on isqx."],"what_it_does":"isqx is a metadata-only library for documenting physical units and quantity kinds in Python code using type annotations. It defines units (kg, knots, pascal) and quantity kinds (mass, velocity, static pressure) based on the International System of Quantities, allowing developers to attach semantic meaning to function arguments and dataclass fields without wrapping numerical types at runtime. Because annotations are metadata only, Annotated[np.ndarray, isqx.M] is treated as np.ndarray by Python and external libraries, ensuring zero performance overhead and full interoperability.\n\nThe library is designed primarily for code documentation via PEP 593 type hints, but also includes optional runtime utilities: unit conversion (with dimension checking and exact arithmetic support), simplification of unit expressions into canonical form, and extensible formatting. It has a single lightweight runtime dependency and can be used as an optional dependency in downstream projects by placing imports in TYPE_CHECKING blocks.","worth_installing":"Yes, if you work with scientific or engineering code and want to document physical units in type annotations without runtime cost. The zero-dependency design (at annotation time) and optional utilities make it suitable for both pure documentation and runtime unit conversion. Active maintenance and MIT licensing add confidence. Not necessary for projects that don't deal with physical quantities or already use heavier wrapper libraries."},"id":"isqx","links":{"html":"https://skillfed.io/packages/isqx","md":"https://skillfed.io/packages/isqx.md","pypi":"https://pypi.org/project/isqx/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-12-16","license_spdx":null,"license_treatment":"permissive","name":"isqx","python_support":"supports_current","summary":"Units and quantity kinds defined by ISO/IEC 80000 and other subfields."},"popularity":{"monthly_downloads":97669,"position":13135,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.2"}
