Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kmtm-0.1.2.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kmtm-0.1.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

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

Hashes for kmtm-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4df28c9c7c1e47cbaf91afdf445b65d0ebde1f90c276f1339dec01883a0a85c2
MD5 933296df781d7c06e7113b40e0962c3f
BLAKE2b-256 d821eda703eeab3f222751fc4e053ab74ea802658e80143adab087d8ff4a79fd

See more details on using hashes here.

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

Hashes for kmtm-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c0ab1f5fc48831eba2cc0165ee19da686c620bf52c2cf3c36c89190f40b193fc
MD5 4c38cfbc5310aecb49b0ea32e1092d5d
BLAKE2b-256 d0287d08a9a4a40a4f35297a5d88f5cba399dbf12cda509d0b730284295761c7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page