A Python package for various unit conversions
Project description
📦 Omniscale
Omniscale is a Python package that provides various unit conversion functions, including temperature, distance, weight, speed, and time conversions.
рџљЂ Installation
You can install the package directly from PyPI using:
pip install omniscale==0.1
рџ› Usage
Import the package and use the available functions:
import omniscale
# Convert Celsius to Fahrenheit
print(omniscale.celsius_to_fahrenheit(0)) # Output: 32.0
print(omniscale.celsius_to_fahrenheit(100)) # Output: 212.0
# Convert Fahrenheit to Celsius
print(omniscale.fahrenheit_to_celsius(98.6)) # Output: 37.0
# Convert meters to feet
print(omniscale.meters_to_feet(1)) # Output: 3.28084
# Convert feet to meters
print(omniscale.feet_to_meters(3.28084)) # Output: 1.0
# Convert kilograms to pounds
print(omniscale.kg_to_pounds(10)) # Output: 22.05
# Convert pounds to kilograms
print(omniscale.pounds_to_kg(22.05)) # Output: 10.0
# Convert kilometers per hour to miles per hour
print(omniscale.kmh_to_mph(100)) # Output: 62.14
# Convert miles per hour to kilometers per hour
print(omniscale.mph_to_kmh(62.14)) # Output: 100.0
# Convert minutes to seconds
print(omniscale.minutes_to_seconds(5)) # Output: 300
# Convert seconds to minutes
print(omniscale.seconds_to_minutes(300)) # Output: 5.0
рџ“Њ Available Conversions
celsius_to_fahrenheit(celsius): Converts Celsius to Fahrenheit.fahrenheit_to_celsius(fahrenheit): Converts Fahrenheit to Celsius.meters_to_feet(meters): Converts meters to feet.feet_to_meters(feet): Converts feet to meters.kg_to_pounds(kg): Converts kilograms to pounds.pounds_to_kg(pounds): Converts pounds to kilograms.kmh_to_mph(kmh): Converts kilometers per hour to miles per hour.mph_to_kmh(mph): Converts miles per hour to kilometers per hour.minutes_to_seconds(minutes): Converts minutes to seconds.seconds_to_minutes(seconds): Converts seconds to minutes.
рџ¤ќ Contributing
Feel free to fork this repository, make improvements, but don't forget to say my name!
рџ“„ License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file omniscale-0.2b0.tar.gz.
File metadata
- Download URL: omniscale-0.2b0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17a7600e146a16c7e18b18cc5587de13660df6931d7413b979d5d922bedf9879
|
|
| MD5 |
d76972c0f1bcad798a9e7de97295a066
|
|
| BLAKE2b-256 |
4951bffa17d75f529b94b230021a1ad71173df8c08746d86502f594482827f1b
|
File details
Details for the file omniscale-0.2b0-py3-none-any.whl.
File metadata
- Download URL: omniscale-0.2b0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63b374c84192fbdb326cb05bfa81b56724f1570efe63201ab1db99ed569cc553
|
|
| MD5 |
c0c58e020f1a28ff344e9b8b3ad1978a
|
|
| BLAKE2b-256 |
b6bccfae3567b58427fdefd4178a504b0077d172d152bd456c4ef9bb61c7e245
|