Expand description
The unit catalog — every scale an EXACT rational to the SI base. Organized by dimension.
(Irrational-scaled units like parsec (648000/π·AU) and mach are intentionally omitted
until a float-backed quantity exists; everything here is lossless.) A later wave moves this
to a growable data file; the math and the names are settled here first.
Functions§
- acre
- ampere
- ampere_
hour - angstrom
- arcminute
- arcsecond
- are
- astronomical_
unit - atmosphere
- baker_
dozen - bar
- basis_
point - becquerel
- bit
- bit_
per_ second - bushel
- by_name
- Look up a unit by an English name, plural, or symbol (case-insensitive) — the surface-syntax
bridge so
quantity(2, "inch")/... in "feet"resolve to aUnit. This is the growable catalog’s name index; unknown names returnNone(the front-end turns that into a clean error). Spelling variants and both singular/plural map to the same unit. - byte
- byte_
per_ second - cable
- calorie
- candela
- carat
- celsius
- centilitre
- centimetre
- centipoise
- centistokes
- century
- chain
- coulomb
- cubic_
centimetre - cubic_
foot - cubic_
foot_ per_ minute - cubic_
inch - cubic_
metre - cubic_
metre_ per_ second - curie
- dash
- day
- decade
- decilitre
- decimetre
- degree
- dekametre
- dozen
- dram
- dry_
gallon - dry_
pint - dry_
quart - dyne
- dyne_
per_ centimetre - each
- earth_
mass - earth_
radius - electronvolt
- erg
- fahrenheit
- farad
- fathom
- femtometre
- foot
- foot_
candle - foot_
per_ second - fortnight
- furlong
- gallon_
per_ minute - gauss
- gibibyte
- gigabit_
per_ second - gigabyte
- gigahertz
- gigajoule
- gigametre
- gigawatt
- gradian
- grain
- gram
- gray
- great_
gross - gross
- hand
- hectare
- hectometre
- henry
- hertz
- horsepower
- hour
- hundredweight
- imperial_
fluid_ ounce - imperial_
gallon - imperial_
pint - inch
- joule
- julian_
year - jupiter_
mass - katal
- kelvin
- kibibyte
- kilobit
- kilobit_
per_ second - kilobyte
- kilocalorie
- kilogram
- kilogram_
force - kilohertz
- kilojoule
- kilometre
- kilometre_
per_ hour - kilonewton
- kilopascal
- kilovolt
- kilowatt
- kilowatt_
hour - km_
per_ litre - knot
- league
- light_
day - light_
hour - light_
minute - light_
second - light_
year - litre
- litre_
per_ minute - litre_
per_ second - long_
ton - lumen
- lunar_
distance - lux
- maxwell
- mebibyte
- megabit_
per_ second - megabyte
- megabyte_
per_ second - megahertz
- megajoule
- megametre
- megawatt
- metre
- metre_
per_ second - microfarad
- microgram
- microhenry
- micrometre
- micromolar
- microsecond
- mile
- mile_
per_ gallon - mile_
per_ hour - milliampere
- milliampere_
hour - millibar
- milligram
- millihenry
- millilitre
- millimetre
- millimolar
- millisecond
- millisiemens
- millitesla
- millivolt
- minute
- molal
- molar
- mole
- nanofarad
- nanogram
- nanometre
- nanosecond
- nautical_
league - nautical_
mile - newton
- newton_
metre - newton_
per_ metre - nit
- ohm
- oil_
barrel - ounce
- pair
- pascal
- pascal_
second - peck
- percent
- permille
- petabyte
- phot
- pica
- picofarad
- picometre
- picosecond
- pinch
- point
- poise
- pound
- pound_
foot - pound_
force - ppb
- ppm
- psi
- rad_
unit - rankine
- ream
- reaumur
- rem
- rod
- roentgen
- rpm
- score
- second
- short_
ton - siemens
- sievert
- smidgen
- solar_
mass - solar_
radius - square_
centimetre - square_
foot - square_
inch - square_
kilometre - square_
metre - square_
metre_ per_ second - square_
mile - square_
yard - stick_
of_ butter - stokes
- stone
- tablespoon
- teaspoon
- terabit
- terabyte
- terajoule
- terawatt
- tesla
- thou
- tonne
- troy_
ounce - troy_
pound - turn
- us_cup
- us_
fluid_ ounce - us_
gallon - us_gill
- us_pint
- us_
quart - volt
- watt
- watt_
hour - weber
- week
- yard