ConverterPro
A python library to convert units and currencies
🔭 Overview
This python library will allow developers to easily incorporate conversions into their programs without having to write all the logic for it. The library currently has the following functionalities:
📝 Features
- Weight conversion between Metric, Imperial and US Systems of Measurement
- Grams
- Milligrams
- Kilograms
- Metric Tonnes
- Imperial Tons
- US tons
- Pounds
- Ounces
🛠️ Installation
converterpro can be found on PyPi and hence can be installed with pip:
pip install converterpro
⛯ Basic Usage
>>> from converterpro import weight_converter
>>> my_gram = weight_converter.Gram(1.0)
>>> my_gram.convert_to_kilograms()
0.001
📝 Details
This library project is a pure python project using modern tooling. It uses a Makefile as a command registry, with the following commands:
make: list available commandsmake install: install and build this library and its dependencies usingpoetrymake lint: perform static analysis of this library withruffandblackmake format: autoformat this library usingblackandruffmake test: run automated tests withpytestmake coverage: run automated tests withpytestand collect coverage information
👩🏾💻👨🏾💻 Contributing
Please see CONTRIBUTING for more information.
🪪 License
This software is licensed under the Apache 2.0 license. Please see LICENSE for more information.
🙎🏾 Author
Main Maintainer: Lily Sam
Release files for converterpro 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| converterpro-0.1.2.tar.gz | 8.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| converterpro-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.7 kB
Release files / converterpro-0.1.2.tar.gz
| Download URL | converterpro-0.1.2.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eeeee52aeb64be1e60b2e05256db9adf67831c905b0e4344fa432ff88120c550
|
|
BLAKE2b-256 checksum How to use checksums |
a4170ea537f868d99f4ea9d80450db2d6bb96954ae4ef99a995e02f238c04042
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.9.7 Darwin/22.2.0
|
Release files / converterpro-0.1.2-py3-none-any.whl
| Download URL | converterpro-0.1.2-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df3d0c459c459dac2109a6cfb08e0bc573a2ecc84fc74c779a6f869baa299774
|
|
BLAKE2b-256 checksum How to use checksums |
aad86e050b91121c0e0ff286d4aafeffe815b9b85236c8cc1fd0654075dae0fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.9.7 Darwin/22.2.0
|