A package for unit conversion and casting.
Project description
unitize
unitize is a Python package that provides convenient utilities for converting between various units of measurement. It includes converters for length, mass, temperature, time, speed, pressure, and volume, making it easy to perform accurate conversions in your Python applications.
Installation
You can install unitize using pip:
bash: pip install unitize
Classes & Units
LengthConverter - meters, kilometers, centimeters, millimeters, inches, feet, yards, miles
MassConverter - grams, kilograms, milligrams, pounds, ounces
TemperatureConverter - Fahrenheit, Celsius, Kelvin
TimeConverter - seconds, minutes, hours, days, weeks
VolumeConverter - liters, milliliters, cubic_meters, cubic_centimeters, cubic_inches, cubic_feet, gallons, quarts, pints, cups
PressureConverter - pascals, kilopascals, psi, bars, atmospheres
SpeedConverter - meters_per_second, kilometers_per_hour, miles_per_hour, feet_per_second, knots
DataStorageConverter - bytes, kilobytes, megabytes, gigabytes, terabytes, petabytes
EnergyConverter - joules, calories, kilowatt_hours, btu (british thermal unit)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file unitize-0.0.7.tar.gz
.
File metadata
- Download URL: unitize-0.0.7.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6962f87c446118c32a1d8f8b4e268bd143c0eaae162627cbb640df91a598e510 |
|
MD5 | 7b213da7a1fb9892138548b000e7bd84 |
|
BLAKE2b-256 | eaba7c4802ccb63ab0c281340f521e671bbc1d1bacc451dff5dc2eda55592c8f |
File details
Details for the file unitize-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: unitize-0.0.7-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a69124e6cc042046f9cceb70b2a1c2d6b77bba9769ef44e55c0e9af9676f8213 |
|
MD5 | 1e81fdf77296881565083f4d77b0076c |
|
BLAKE2b-256 | f9254cecd54be5984790b970640a71b1344422d5eb579499edec09b761fa0592 |