Multi purpose unit conversion package
Project description
Maßlos unit conversion library
Usage:
from masslos import convert_distance, convert_weight
# without specifying the decimal digits (default = 2)
dist_in_meter = convert_distance(10, "yd", "m")
weight_in_kg = convert_weight(11, "lbs", "kg")
# with specifying the decimal digits
dist_in_meter = convert_distance(value=10, from_unit="yd", to_unit="m", ndigits=3)
weight_in_kg = convert_weight(value=11, from_unit="lbs", to_unit="kg", ndigits=3)
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
masslos-0.2.0.tar.gz
(6.5 kB
view details)
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 masslos-0.2.0.tar.gz.
File metadata
- Download URL: masslos-0.2.0.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27e2e4bf8e608445def78a0c775b7a8162ff64a9f009c59409e7a75209b38356
|
|
| MD5 |
e0a59588cee832afabd0cab124a68b61
|
|
| BLAKE2b-256 |
a0e950fc492067b7caf3d8da350535c72ec0af18b6ad73e926e45a7bd913eb7e
|
File details
Details for the file masslos-0.2.0-py3-none-any.whl.
File metadata
- Download URL: masslos-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4aead995ff595e8667131fdfa5615f9efe6a6f01197e7b194bbdafb626674240
|
|
| MD5 |
43d7fe08ce79fbcc74cd0b46255371ea
|
|
| BLAKE2b-256 |
798b5c01bcc036c0f1a0abec2ffbcf118e2fef75dcaf3289f83b960d70433eca
|