pint-compute

Featured

Unit-aware computation with Pint - convert units, dimensional analysis, unit arithmetic

AI & Automation 552 stars 45 forks Updated 6 days ago MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
91
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Unit Computation with Pint Cognitive prosthetics for unit-aware computation. Use Pint for converting between units, performing unit arithmetic, checking dimensional compatibility, and simplifying compound units. ## When to Use - Converting between units (meters to feet, kg to pounds) - Unit-aware arithmetic (velocity x time = distance) - Dimensional analysis (is force = mass x acceleration?) - Simplifying compound units to base or named units - Parsing and analyzing quantities with units ## Quick Reference | I want to... | Command | Example | |--------------|---------|---------| | Convert units | `convert` | `convert "5 meters" --to feet` | | Unit math | `calc` | `calc "10 m/s * 5 s"` | | Check dimensions | `check` | `check newton --against "kg * m / s^2"` | | Parse quantity | `parse` | `parse "100 km/h"` | | Simplify units | `simplify` | `simplify "1 kg*m/s^2"` | ## Commands ### parse Parse a quantity string into magnitude, units, and dimensionality. ```bash uv run python -m runtime.harness scripts/pint_compute.py \ parse "100 km/h" uv run python -m runtime.harness scripts/pint_compute.py \ parse "9.8 m/s^2" ``` ### convert Convert a quantity to different units. ```bash uv run python -m runtime.harness scripts/pint_compute.py \ convert "5 meters" --to feet uv run python -m runtime.harness scripts/pint_compute.py \ convert "100 km/h" --to mph uv run python -m runtime.harness scripts/pint_compute.py \ ...

Details

Author
vibeeval
Repository
vibeeval/vibecosystem
Created
8 months ago
Last Updated
6 days ago
Language
C#
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

pint-compute

Unit-aware computation with Pint - convert units, dimensional analysis, unit arithmetic

3,951 Updated 2 days ago
parcadei
AI & Automation Listed

uncertainty-and-units

Track physical units and propagate measurement uncertainty in scientific calculations using pint and uncertainties. Use for unit conversion and dimensional checking, GUM uncertainty budgets, Type A and Type B evaluation, coverage factors and expanded uncertainty, Monte Carlo propagation, significant-figure and plus-minus reporting, error propagation through curve fits, CODATA constants, auditing Python code for stripped units or broken uncertainty propagation, and order-of-magnitude plausibility checks using dimensionless groups (Reynolds, Peclet, Damkohler, Knudsen, Biot, Womersley), characteristic scales such as diffusion time or Debye length, and observed magnitude ranges. Trigger on "is this number physically reasonable", "sanity check these units", "what regime is this flow in", or a result that looks off by orders of magnitude.

0 Updated 2 months ago
timsmykov
AI & Automation Listed

pie-dimensional-analysis

Mathematical verification for physical calculations: unit tracking algebra (exponent maps), PhysicalQuantity pattern for compound units, SI/Imperial mixed-unit handling, Buckingham pi theorem for dimensionless groups, and common engineering dimensionless numbers. Activates for unit verification, dimensional consistency checks, scaling analysis, and calculation validation across all infrastructure domains.

71 Updated 4 months ago
Tibsfox