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  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.1.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.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kmtm-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 087dfff630442373e624f4f84fe7275998da8baabe42fbc283d2ee4db2394bf0
MD5 2aa9d1c201cd52f192929b6227741493
BLAKE2b-256 acb7781b551cc9ac87f4076219b768e2c14d062ad68b647f93ebc26eac3d8d5c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kmtm-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f998cc10f4182e114369aabead97efa563ba7f7e5e833f7a8ea3f3477fee9110
MD5 1c3490c1de77b57270d1961940c13718
BLAKE2b-256 ad79a06184c13f1c88d2dd54bd3e668027984108b6d96dc822f925d69551e477

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