pint-compute
SolidUnit-aware computation with Pint - convert units, dimensional analysis, unit arithmetic
AI & Automation 501 stars
42 forks Updated yesterday MIT
Install
Quality Score: 94/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
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
- 2 months ago
- Last Updated
- yesterday
- Language
- C#
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
pint-compute
Unit-aware computation with Pint - convert units, dimensional analysis, unit arithmetic
3,809 Updated 4 months ago
parcadei 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.
65 Updated today
Tibsfox AI & Automation Solid
math
Unified math capabilities - computation, solving, and explanation. I route to the right tool.
501 Updated yesterday
vibeeval