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
Metadata
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 | Provenance | Actions |
|---|---|---|---|---|
| converterpro-0.1.2.tar.gz | 8.5 kB | Without provenance | Details for converterpro-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| converterpro-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for converterpro-0.1.2-py3-none-any.whl |
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
|
Security for converterpro 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.