TMT - Timezone Tool
A simple CLI tool to get the current time in different timezones.
Installation
pip install tmt-timezone
Usage
tmt -p <timezone>
Supported Timezones
PST- Pacific Standard Time (US/Pacific)EST- Eastern Standard Time (US/Eastern)BST- British Summer Time (Europe/London)CET- Central European Time (Europe/Berlin)WAT- West Africa Time (Africa/Lagos)
Examples
# Get current time in PST
tmt -p PST
# Get current time in EST
tmt -p EST
# Get current time in BST
tmt -p BST
Output Format
PST: 2024-08-09 14:30:45 PDT
Development
Setup
- Clone the repository
- Install dependencies:
pip install -r requirements.txt - Install in development mode:
pip install -e .
Testing
python -m tmt.cli -p PST
Building
python -m build
Deployment
See setup.md for deployment instructions.
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tmt_timezone-1.0.0.tar.gz
(4.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tmt_timezone-1.0.0.tar.gz.
File metadata
- Download URL: tmt_timezone-1.0.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d767dd6547bda6c47f46f9f1ff6e090d2c9f6cc7ffddf5acc00d9b4062ddb756
|
|
| MD5 |
b95931d60b867fc1ca0585933663d744
|
|
| BLAKE2b-256 |
e3e68bfdb36cc259410ad0fa174c4efe1bb35bf5036971202b5541c43cb5229d
|
File details
Details for the file tmt_timezone-1.0.0-py3-none-any.whl.
File metadata
- Download URL: tmt_timezone-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e24887e657bc18729b70a79d2e22879453b02a9dc0e0b8712a50f7a3dba466d
|
|
| MD5 |
c26b340cdfec5ff368f72d6e623eefe5
|
|
| BLAKE2b-256 |
0b92915f57e70e30e4c412f7b59e4c352a6be60d2021123415ab6db51650aecc
|