Skip to main content

Time, zones

Reason this release was yanked:

Error condition

Project description

t

Command line tool for showing time in different time zones and other temporal information.

pipx install --user myt
Usage: t [OPTIONS] COMMAND [ARGS]...

Options:
  -J, --json  Output in JSON
  --help      Show this message and exit.

Commands:
  m      Moon matrix
  s      Sun and moon
  t      Time in different zones
  z      24hrs in time zones (on date)
  zones  List common time zones and UTC offset (on date)

t m

Usage: t m [OPTIONS]

Options:
  -y, --year TEXT  Year for calculation
  --help           Show this message and exit.

Example:

t % t m
     Moon phases for year: 2021
     01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Jan  ๐ŸŒ– ๐ŸŒ– ๐ŸŒ– ๐ŸŒ– ๐ŸŒ— ๐ŸŒ— ๐ŸŒ— ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ” ๐ŸŒ” ๐ŸŒ” ๐ŸŒ” ๐ŸŒ” ๐ŸŒ• ๐ŸŒ• ๐ŸŒ• ๐ŸŒ–
Feb  ๐ŸŒ– ๐ŸŒ– ๐ŸŒ— ๐ŸŒ— ๐ŸŒ— ๐ŸŒ— ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ” ๐ŸŒ” ๐ŸŒ” ๐ŸŒ” ๐ŸŒ• ๐ŸŒ• ๐ŸŒ•
Mar  ๐ŸŒ– ๐ŸŒ– ๐ŸŒ– ๐ŸŒ– ๐ŸŒ— ๐ŸŒ— ๐ŸŒ— ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ” ๐ŸŒ” ๐ŸŒ” ๐ŸŒ” ๐ŸŒ• ๐ŸŒ• ๐ŸŒ– ๐ŸŒ–
Apr  ๐ŸŒ– ๐ŸŒ– ๐ŸŒ— ๐ŸŒ— ๐ŸŒ— ๐ŸŒ— ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ” ๐ŸŒ” ๐ŸŒ” ๐ŸŒ” ๐ŸŒ• ๐ŸŒ• ๐ŸŒ• ๐ŸŒ– ๐ŸŒ–
May  ๐ŸŒ– ๐ŸŒ– ๐ŸŒ— ๐ŸŒ— ๐ŸŒ— ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ” ๐ŸŒ” ๐ŸŒ” ๐ŸŒ• ๐ŸŒ• ๐ŸŒ• ๐ŸŒ– ๐ŸŒ– ๐ŸŒ– ๐ŸŒ–
Jun  ๐ŸŒ— ๐ŸŒ— ๐ŸŒ— ๐ŸŒ— ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ” ๐ŸŒ” ๐ŸŒ” ๐ŸŒ” ๐ŸŒ• ๐ŸŒ• ๐ŸŒ– ๐ŸŒ– ๐ŸŒ– ๐ŸŒ– ๐ŸŒ—
Jul  ๐ŸŒ— ๐ŸŒ— ๐ŸŒ— ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ” ๐ŸŒ” ๐ŸŒ” ๐ŸŒ” ๐ŸŒ• ๐ŸŒ• ๐ŸŒ• ๐ŸŒ– ๐ŸŒ– ๐ŸŒ– ๐ŸŒ– ๐ŸŒ— ๐ŸŒ—
Aug  ๐ŸŒ— ๐ŸŒ— ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ” ๐ŸŒ” ๐ŸŒ” ๐ŸŒ• ๐ŸŒ• ๐ŸŒ• ๐ŸŒ– ๐ŸŒ– ๐ŸŒ– ๐ŸŒ– ๐ŸŒ– ๐ŸŒ— ๐ŸŒ— ๐ŸŒ—
Sep  ๐ŸŒ— ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ” ๐ŸŒ” ๐ŸŒ” ๐ŸŒ” ๐ŸŒ• ๐ŸŒ• ๐ŸŒ• ๐ŸŒ– ๐ŸŒ– ๐ŸŒ– ๐ŸŒ– ๐ŸŒ— ๐ŸŒ— ๐ŸŒ— ๐ŸŒ—
Oct  ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ” ๐ŸŒ” ๐ŸŒ” ๐ŸŒ” ๐ŸŒ• ๐ŸŒ• ๐ŸŒ• ๐ŸŒ– ๐ŸŒ– ๐ŸŒ– ๐ŸŒ– ๐ŸŒ– ๐ŸŒ— ๐ŸŒ— ๐ŸŒ— ๐ŸŒ— ๐ŸŒ˜
Nov  ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ” ๐ŸŒ” ๐ŸŒ” ๐ŸŒ” ๐ŸŒ• ๐ŸŒ• ๐ŸŒ• ๐ŸŒ– ๐ŸŒ– ๐ŸŒ– ๐ŸŒ– ๐ŸŒ– ๐ŸŒ— ๐ŸŒ— ๐ŸŒ— ๐ŸŒ˜ ๐ŸŒ˜
Dec  ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ‘ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ’ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ“ ๐ŸŒ” ๐ŸŒ” ๐ŸŒ” ๐ŸŒ” ๐ŸŒ” ๐ŸŒ• ๐ŸŒ• ๐ŸŒ• ๐ŸŒ– ๐ŸŒ– ๐ŸŒ– ๐ŸŒ– ๐ŸŒ– ๐ŸŒ— ๐ŸŒ— ๐ŸŒ— ๐ŸŒ˜ ๐ŸŒ˜ ๐ŸŒ˜

t s

Usage: t s [OPTIONS]

Options:
  -l, --location TEXT  Location as longitude,latitude (WGS84, dd)
  -t, --date TEXT      Date for calculation
  -f, --format TEXT    Output time format
  --help               Show this message and exit.

Example:

t s -t "2021-04-24"
Location: -76.6963,39.0715
Rise: 05:51:28  06:19:41  06:56:02
Set:  19:16:19  19:52:39  05:51:28
Moon: ๐ŸŒ” (0.40)

t t

Usage: t t [OPTIONS]

  Time in different zones

Options:
  -t, --date TEXT   Date for calculation
  -z, --zones TEXT  Comma separated list of timezones
  --help            Show this message and exit.

Example:

t t -t "1 April 8pm"
Local             2021-04-01T20:00:00-0400
Europe/Copenhagen 2021-04-02T02:00:00+0200
UTC               2021-04-02T00:00:00+0000
US/Eastern        2021-04-01T20:00:00-0400
US/Central        2021-04-01T19:00:00-0500
US/Mountain       2021-04-01T18:00:00-0600
America/Phoenix   2021-04-01T17:00:00-0700
US/Pacific        2021-04-01T17:00:00-0700
US/Alaska         2021-04-01T16:00:00-0800
Pacific/Tahiti    2021-04-01T14:00:00-1000
Pacific/Auckland  2021-04-02T13:00:00+1300
Australia/Sydney  2021-04-02T11:00:00+1100

t z

Usage: t z [OPTIONS]

  24hrs in time zones (on date)

Options:
  -f, --format TEXT  Output time format
  -t, --date TEXT    Date for calculation
  -z, --zones TEXT   Comma separated list of timezones
  --help             Show this message and exit.

Example:

t z
Local             07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 00 01 02 03 04 05 06
Europe/Copenhagen 12 13 14 15 16 17 18 19 20 21 22 23 00 01 02 03 04 05 06 07 08 09 10 11
UTC               11 12 13 14 15 16 17 18 19 20 21 22 23 00 01 02 03 04 05 06 07 08 09 10
US/Eastern        07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 00 01 02 03 04 05 06
US/Central        06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 00 01 02 03 04 05
US/Mountain       05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 00 01 02 03 04
America/Phoenix   04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 00 01 02 03
US/Pacific        04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 00 01 02 03
US/Alaska         03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 00 01 02
Pacific/Tahiti    01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 00
Pacific/Auckland  00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Australia/Sydney  22 23 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21

t zones

Usage: t zones [OPTIONS]

  List common time zones and UTC offset (on date)

Options:
  -t, --date TEXT  Date for calculation
  --help           Show this message and exit.

Example:

t zones -t "2021-12-21"
-11:00 Pacific/Midway
-11:00 Pacific/Niue
-11:00 Pacific/Pago_Pago
-10:00 America/Adak
-10:00 Pacific/Honolulu
-10:00 Pacific/Rarotonga
-10:00 Pacific/Tahiti
-10:00 US/Hawaii
-09:30 Pacific/Marquesas
...
+00:00 Europe/London
+00:00 GMT
+00:00 UTC
+01:00 Africa/Algiers
...
+13:45 Pacific/Chatham
+14:00 Pacific/Apia
+14:00 Pacific/Kiritimati

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

myt-0.5.0.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

myt-0.5.0-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file myt-0.5.0.tar.gz.

File metadata

  • Download URL: myt-0.5.0.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.9.1 Darwin/20.3.0

File hashes

Hashes for myt-0.5.0.tar.gz
Algorithm Hash digest
SHA256 b77c0d7881f2ee9263a8217d0364eb2cee4c4c1c0e58683bb2bdb9fcbd13bd0d
MD5 4b8d48aa6acbe1770ba236174f159c3e
BLAKE2b-256 c96066321e310e83af02a9cce037d006b0dad5da1175313cedca9e114728b399

See more details on using hashes here.

File details

Details for the file myt-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: myt-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.9.1 Darwin/20.3.0

File hashes

Hashes for myt-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8720a4de435c3dc351b6747a421536c3083a1116b686fe3cd86fb3af4d3dca1c
MD5 aa1c029e4d553ee98a5498d0c45bdbd3
BLAKE2b-256 649f4b0f14631178c43236c21a79a0fd0958bf21e55eb1b709b88116175ee86c

See more details on using hashes here.

Supported by

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