customizable converter tool to convert <source> to <target>
Project description
converterpy
converterpy is designed as a customizable conversion tool to convert one thing to another.
Usage
usage: convert <value> <source> to <target> [optional arguments]
optional arguments:
-h, --help show help message
-v verbose mode
Example
$ convert 3600 seconds to minutes
60
Features
There are some built-in converters to use;
- SITimeConverter (converts the following units: seconds, minutes, hours)
- SILengthConverter (converts the following units: millimeter, centimeter, meter, kilometer)
- SIMassConverter (converts the following units: milligram, gram, kilogram)
- TimestampToDateConverter (converts unix timetstamp to date format)
Installation
converterpy
requires Python 3.5+ to run.
Install with pip
$ pip install converterpy
Custom Converters
Please follow the instructions in custom converter documentation.
License
MIT
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
converterpy-0.0.1.dev2.tar.gz
(8.5 kB
view hashes)
Built Distribution
Close
Hashes for converterpy-0.0.1.dev2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b80966d02b1f1b1a9a1da1265a5a3c779a07f71f2670d6265b7b84cfbc5197d |
|
MD5 | ba29c06d7da92ecb0716c294cb9c726c |
|
BLAKE2b-256 | 9db132bf0bcfdbd996ee772b594103e7b68b843a2d332adb07e280b212760826 |