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

Okay, well not yet because I haven't looked into adding to pypi yet..

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  Converts miles to kilometers
  -m, --miles  Converts kilometers to miles.
  --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.0.tar.gz (2.9 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.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file kmtm-0.1.0.tar.gz.

File metadata

  • Download URL: kmtm-0.1.0.tar.gz
  • Upload date:
  • Size: 2.9 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.0.tar.gz
Algorithm Hash digest
SHA256 cb525ac0d575af434a6412a0185dab3c7d247e221de1c45097884e9602ad7c84
MD5 f183b580d278de8dd39f9d4bfd50a95e
BLAKE2b-256 feebcbc153161021e3e32ba2936d14c6252a99cc5d5594c51056ad4bb472b077

See more details on using hashes here.

File details

Details for the file kmtm-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: kmtm-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 87ed895c7ef63510fe70c15cdd31e70003e62a0750d6979abc42c224ed8b20cc
MD5 cd6a590a1c157564bfc90c79d7cf2163
BLAKE2b-256 46d1d8583c1b84081787830efd344b0bfb7b36c95e78d0f3ff62757795242678

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