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
Metadata
Release files for tmt-timezone 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tmt_timezone-1.0.0.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tmt_timezone-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.6 kB
Release files / tmt_timezone-1.0.0.tar.gz
| Download URL | tmt_timezone-1.0.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d767dd6547bda6c47f46f9f1ff6e090d2c9f6cc7ffddf5acc00d9b4062ddb756
|
|
BLAKE2b-256 checksum How to use checksums |
e3e68bfdb36cc259410ad0fa174c4efe1bb35bf5036971202b5541c43cb5229d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|
Release files / tmt_timezone-1.0.0-py3-none-any.whl
| Download URL | tmt_timezone-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4e24887e657bc18729b70a79d2e22879453b02a9dc0e0b8712a50f7a3dba466d
|
|
BLAKE2b-256 checksum How to use checksums |
0b92915f57e70e30e4c412f7b59e4c352a6be60d2021123415ab6db51650aecc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|