A CLI tool to display current date and time
Project description
⏰ timelycli
timelycli is a simple and cross-platform Python CLI tool to display the current date and time. It supports multiple options including UTC output, local timezone name, and selective display of date or time.
📦 Installation
✅ Install from PyPI
Once published to PyPI:
pip install timelycli
🔬 Install from TestPyPI (for testing)
pip install --index-url https://test.pypi.org/simple/ timelycli
🚀 Usage
Run the CLI tool with:
timely [OPTIONS]
🔧 Options
| Option | Description |
|---|---|
--utc |
Show time in UTC |
--timezone |
Show the timezone name |
--date |
Show only the date |
--time |
Show only the time |
🧪 Examples
timely
# 2025-07-14 12:30:45
timely --date
# 2025-07-14
timely --time
# 12:30:45
timely --timezone
# 2025-07-14 12:30:45 (IST)
timely --utc --timezone
# 2025-07-14 07:00:45 (UTC)
🧱 Project Structure
timelycli/
├── timelycli/
│ └── __main__.py
├── pyproject.toml
└── README.md
🛠 Development Setup
To install and run locally (without publishing):
git clone https://github.com/yourusername/timelycli.git
cd timelycli
pip install .
timely
📝 License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 timelycli-0.1.0.tar.gz.
File metadata
- Download URL: timelycli-0.1.0.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
151cf4c1412fcdc7b7a0a4548371e5e052157be1a6b30cb6ddd9ce3867927618
|
|
| MD5 |
ef249e0e8d259a90cceac01e0e4cf89e
|
|
| BLAKE2b-256 |
31e57427a7b6379979e18b3ce7b920f4439758c421c05981273ba406b6654f30
|
File details
Details for the file timelycli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: timelycli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e59c7ae34dea6164823a16471286302e9ddb854ca181e81264a258dbde1d9c4b
|
|
| MD5 |
8e1ea9205c7f515d134b8e334e49b2c4
|
|
| BLAKE2b-256 |
933f2339c1287a663531fc5d403ec0ffff8de1ee3cded8b28e7fd068f499c296
|