Skip to main content

A package for unit conversion and casting.

Project description

unitize

Version License Update Test Status

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

unitize-0.0.7.tar.gz (7.9 kB view hashes)

Uploaded Source

Built Distribution

unitize-0.0.7-py3-none-any.whl (14.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page