Simple tool to convert kilometers/miles.
Project description
kmtm
A simple CLI tool to convert kilometers to miles so that I don't have to look up the conversion each time I see someone post about cycling/running stats.
Installation
pip install kmtkm
Usage
Example:
kmtm 10 -k
For this example, 10 is the distance that you would like to convert, and -k represents the unit you would like the distance converted to. In this situation, 10 miles will be converted to kilometers.
The NUMBER is a required argument and both -k and -m are options that can be used individuall or at the same time.
kmtm --help
Options:
-k, --kilos Kilometers is the desired output. Assumes miles is given.
-m, --miles Miles is the desired output. Assumes kilometers is given.
--help Show this message and exit.
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 kmtm-0.1.2.tar.gz.
File metadata
- Download URL: kmtm-0.1.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4df28c9c7c1e47cbaf91afdf445b65d0ebde1f90c276f1339dec01883a0a85c2
|
|
| MD5 |
933296df781d7c06e7113b40e0962c3f
|
|
| BLAKE2b-256 |
d821eda703eeab3f222751fc4e053ab74ea802658e80143adab087d8ff4a79fd
|
File details
Details for the file kmtm-0.1.2-py3-none-any.whl.
File metadata
- Download URL: kmtm-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0ab1f5fc48831eba2cc0165ee19da686c620bf52c2cf3c36c89190f40b193fc
|
|
| MD5 |
4c38cfbc5310aecb49b0ea32e1092d5d
|
|
| BLAKE2b-256 |
d0287d08a9a4a40a4f35297a5d88f5cba399dbf12cda509d0b730284295761c7
|