A Geeky Clock for Terminal Enthusiasts
Project description
Overview
Clox is a terminal-based clock application designed for terminal enthusiasts who appreciate simplicity, elegance, and productivity within their command-line environment. Whether you're coding, monitoring tasks, or simply enjoying the terminal aesthetic, Clox brings a stylish and customizable time display to your workspace.
| PyPI Counter | |
| Github Stars |
| Branch | main | dev |
| CI |
| Code Quality |
Installation
Source Code
- Download Version 1.1 or Latest Source
pip install .
PyPI
- Check Python Packaging User Guide
pip install clox==1.1
Usage
ℹ️ You can use clox or python -m clox to run this program
Version
clox --version
Info
clox --info
Basic
ℹ️ Press Ctrl + C to exit
clox
Face
clox --face=3
- Use
--face=-1for random mode - Faces List:
clox --faces-list
Timezone
clox --timezone="Etc/GMT+7"
- Timezones List:
clox --timezones-list
Country
The --country argument allows you to specify a country using its ISO 3166 code format
ℹ️ When the --country argument is provided, the --timezone argument will be ignored
ℹ️ If the specified country has multiple timezones, the first timezone will be selected automatically
clox --country="DE"
- Countries List:
clox --countries-list
Vertical/Horizontal Shift
ℹ️ The vertical and horizontal shift both have default values of 0
clox --v-shift=20 --h-shift=30
No Blink
Disable blinking mode
clox --no-blink
Hide Date
In this mode, the date will not be shown
clox --hide-date
Hide Timezone
In this mode, the timezone will not be shown
clox --hide-timezone
AM/PM Mode
In this mode, the clock will be displayed in 12-hour format
clox --am-pm
Vertical Mode
clox --vertical
Calendar Mode
In this mode, the calendar will be displayed
ℹ️ Valid choices: [MONTH, YEAR]
clox --calendar=month --first-weekday="SUNDAY"
Date System
ℹ️ Valid choices: [GREGORIAN, JALALI]
ℹ️ The default date system is GREGORIAN
clox --date-system=jalali
Date Format
ℹ️ Valid choices: [ISO, US, US-SHORT, EU, EU-SHORT, DOT, DASH, YMD, DMY, MDY, FULL]
ℹ️ The default date format is FULL
clox --date-system=jalali --date-format=EU
- Date Formats List:
clox --date-formats-list
Screen Record
Issues & Bug Reports
Just fill an issue and describe it. We'll check it ASAP!
- Please complete the issue template
Show Your Support
Star This Repo
Give a ⭐️ if this project helped you!
Donate to Our Project
Bitcoin
1KtNLEEeUbTEK9PdN6Ya3ZAKXaqoKUuxCyEthereum
0xcD4Db18B6664A9662123D4307B074aE968535388Litecoin
Ldnz5gMcEeV8BAdsyf8FstWDC6uyYR6pgZDoge
DDUnKpFQbBqLpFVZ9DfuVysBdr249HxVDhTron
TCZxzPZLcJHr2qR3uPUB1tXB6L3FDSSAx7Ripple
rN7ZuRG7HDGHR5nof8nu5LrsbmSB61V1qqBinance Coin
bnb1zglwcf0ac3d0s2f6ck5kgwvcru4tlctt4p5qefTether
0xcD4Db18B6664A9662123D4307B074aE968535388Dash
Xd3Yn2qZJ7VE8nbKw2fS98aLxR5M6WUU3sStellar
GALPOLPISRHIYHLQER2TLJRGUSZH52RYDK6C3HIU4PSMNAV65Q36EGNLZilliqa
zil1knmz8zj88cf0exr2ry7nav9elehxfcgqu3c5e5Coffeete
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Unreleased
1.1 - 2025-05-23
Added
--first-weekdayargument--date-formatargument--date-formats-listargument
Changed
README.mdupdated- Test system modified
1.0 - 2025-05-06
Added
- Local time
Changed
clox_infofunction modifiedrun_clockfunction modified
0.9 - 2025-04-14
Added
- Timezone difference
Changed
- Python typing features added to all modules
- Test system modified
Python 3.6support dropped
0.8 - 2025-03-16
Added
--countryargument--countries-listargumentCOUNTRIES.md
Changed
- Input case sensitivity bug fixed
- Test system modified
README.mdupdated
0.7 - 2025-03-06
Added
- Jalali calendar
--date-systemargument
Changed
README.mdupdated
0.6 - 2025-02-25
Added
--calendarargument
Changed
README.mdupdated
0.5 - 2025-02-14
Added
--hide-dateargument--hide-timezoneargument--am-pmargument
Changed
README.mdupdated
0.4 - 2025-01-18
Added
- Date
--infoargument
0.3 - 2025-01-10
Added
- Logo
--verticalargument
Changed
show_faces_listfunction updatedAUTHORS.mdupdated
0.2 - 2025-01-01
Added
- Blink mode
--no-blinkargument
Changed
README.mdupdated
0.1 - 2024-12-24
Added
--v-shiftand--h-shiftarguments--timezoneargument--faceargumentrun_clockandmainfunctionsTIMEZONES.mdFACES.md
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 clox-1.1.tar.gz.
File metadata
- Download URL: clox-1.1.tar.gz
- Upload date:
- Size: 28.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afbdba307f7c3f57d30c81c368514d15bee971f09d29434342b4764b365f0984
|
|
| MD5 |
48f660a24ad96c1576e0705cd256ed9b
|
|
| BLAKE2b-256 |
1eeaa2c7e6ca2e68d371d1c42b7b7341c6ff3f654d6b289ec7574b923858e48f
|
File details
Details for the file clox-1.1-py3-none-any.whl.
File metadata
- Download URL: clox-1.1-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
570d02d24443470cce0cc35957af68f1f49aee02aa56b16bdd1786e7a5640595
|
|
| MD5 |
6a68ca968202d2dddf63f09bad68c815
|
|
| BLAKE2b-256 |
a993de820a5fb64e72427b23986d48afb9e861d3455cd4258a3d5cb4e43f184f
|