Skip to main content

Countdown to a date.

Project description

howmuchtime
===========

Countdown to a date.

This package is a simple command line app for counting down (in days) to
a date. Call ``hmt`` at any time to see the days remaining for all added
dates.

For example:

::

$ hmt -a 2018-09-20 Birthday
Date added.
$ hmt
Birthday 2018-09-20: 118 days (2832 hours) remaining.

Installation
------------

Install with:

::

$ pip install howmuchtime

*If hmt is not installed as a script, try re-installing with* ``sudo pip install howmuchtime``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Usage
-----

Add a date to countdown to with:

::

$ hmt -a <YYYY-MM-DD> <optional name>

If you no longer want the countdown to a date, remove it with:

::

$ hmt -r <YYYY-MM-DD>
$ # or using a name
$ hmt -r <name>

Finally, to view the countdown, just call hmt:

::

$ hmt

Additional Help
---------------

::
usage: hmt [-a date [name] | -r date/name | -h]

Countdown to a date.

optional arguments:
-a date [name], --add-date date [name]
Add date in YYYY-MM-DD format (with an optional name)
for counting down to
-r date/name, --remove-date date/name
Remove a currently tracked date by specifying the date
or its name
-h, --help Show this help 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

howmuchtime-0.2.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

howmuchtime-0.2.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file howmuchtime-0.2.0.tar.gz.

File metadata

  • Download URL: howmuchtime-0.2.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.6.4

File hashes

Hashes for howmuchtime-0.2.0.tar.gz
Algorithm Hash digest
SHA256 cae9badae7f19af25069db8f769486dde1ddc719485c2b0d27abd5f7796d0716
MD5 4c6f744dd380200f5140529b90b0c2ed
BLAKE2b-256 97713be62845ed57366ae09e1c38abd1ea0d58097af6ed53c0bcb4b0eb5e1557

See more details on using hashes here.

File details

Details for the file howmuchtime-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: howmuchtime-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.6.4

File hashes

Hashes for howmuchtime-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed8d817b4977b02059328f7463d34e66191216dac01af760d37ff3022ad892fe
MD5 f2567d4d5ff9b7cd8f1bef7e88925cd0
BLAKE2b-256 a70d50d6619963551982d85bd49362cc83a9894cf93a75951078b0ba122ef9df

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