Skip to main content

When CLI is a timezone conversion tool. It takes as input a natural time string, can also be a time range, and converts it into different timezone(s) at specific location(s).

Project description

When CLI

PyPI version PyPI platforms Black

When CLI

Example

when-cli is a timezone conversion tool. It takes as input a natural time string, can also be a time range, and converts it into different timezone(s) at specific location(s).

  • Local: Everything runs on your local machine, no internet connection needed
  • Fast: it's fast! 🚀
  • Easy: quick to install – start using it in minutes.
  • Customizable: configure every aspect to your needs.
  • Colorful: beautiful colors and Emoji 😎 support.

Installation

You can install when-cli from PyPI with pipx):

$ pipx install when-cli

or install it with pip:

$ python3 -m pip install when-cli

You can also download and use the pre-build binary from the latest Release.

Usage

$ when-cli "7. May 06:00 to May 7th 12:00 in PMI" -l America/Los_Angeles -l klu -l PMI

Example

See Usage for more details.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Logo

vecteezy.com

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

when-cli-1.1.1.tar.gz (259.8 kB view details)

Uploaded Source

Built Distribution

when_cli-1.1.1-py3-none-any.whl (261.9 kB view details)

Uploaded Python 3

File details

Details for the file when-cli-1.1.1.tar.gz.

File metadata

  • Download URL: when-cli-1.1.1.tar.gz
  • Upload date:
  • Size: 259.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.6.9 Linux/5.4.0-1074-azure

File hashes

Hashes for when-cli-1.1.1.tar.gz
Algorithm Hash digest
SHA256 10f08cae6da4200ebdd765191c09195756cfd19245f2b3c9adf100aad27119e5
MD5 a51f001d3008f779d5893542266909f6
BLAKE2b-256 8089ea72b7f639a66d108acdc764ca3148b978e5eb81f90f8fb0edc494aecd4b

See more details on using hashes here.

File details

Details for the file when_cli-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: when_cli-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 261.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.6.9 Linux/5.4.0-1074-azure

File hashes

Hashes for when_cli-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 97223c925a7e9eb7922b616ded6b82c2c973c46527018ed58e4042ababf3847e
MD5 d4b8681632403f8a9d81489cddea28dc
BLAKE2b-256 a417275a3f5f71169c36bceb49b049c1f50c9c633413006ae05fb60a971455b4

See more details on using hashes here.

Supported by

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