{"categories":[{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering/8"}],"enrichment":{"capability":"Attaches units to NumPy arrays and provides unit conversion, so you can track and transform dimensional data without losing track of what units you're working with.","skillfed_tags":["scientific-computing","unit-conversion","data-validation"],"use_cases":["Track physical quantities in simulations or data analysis without losing dimensional information.","Convert between unit systems (e.g., miles to kilometers) without manual lookup tables.","Catch unit mismatches early by letting NumPy operations fail when incompatible units are combined.","Document and enforce dimensional consistency in scientific workflows and research code.","Build libraries that accept and return quantities with explicit units, reducing API ambiguity."],"what_it_does":"unyt is a NumPy array subclass that carries unit information alongside numerical data. Instead of writing plain NumPy arrays and relying on documentation or convention to track what units apply, you attach units directly to the array: `distance = [3.4, 5.8, 7.2] * u.mile` then convert or inspect units as needed. The package handles unit arithmetic, conversion between compatible units, and propagation through operations.\n\nIt's built entirely in Python on top of numpy and sympy, with no compiled dependencies or external tools required. The design keeps units transparent\u2014operations on unitful arrays generally preserve or correctly combine units\u2014so you can write scientific code that's both explicit about dimensions and readable.","worth_installing":"Yes. unyt is a mature, actively maintained package with no security issues, low install friction, and a permissive license. It solves a real problem\u2014tracking units in numerical code\u2014that becomes increasingly valuable as data complexity grows. Install it if you work with physical quantities or dimensional data and want to avoid silent unit errors."},"id":"unyt","links":{"html":"https://skillfed.io/packages/unyt","md":"https://skillfed.io/packages/unyt.md","pypi":"https://pypi.org/project/unyt/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-01-15","license_spdx":"BSD-3-Clause","license_treatment":"permissive","name":"unyt","python_support":"supports_current","summary":"A package for handling numpy arrays with units"},"popularity":{"monthly_downloads":99246,"position":13032,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.1.0"}
