Skip to main content

A Geeky Clock for Terminal Enthusiasts

Project description

Clox: A Geeky Clock for Terminal Enthusiasts


PyPI version built with Python3 GitHub repo size

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 CodeFactor codebeat badge

Installation

Source Code

PyPI

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=-1 for random mode
  • Faces List: clox --faces-list

Timezone

clox --timezone="Etc/GMT+7"

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"

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

Date System

ℹ️ Valid choices: [gregorian, jalali]

ℹ️ The default date system is gregorian

clox --date-system=jalali

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

1KtNLEEeUbTEK9PdN6Ya3ZAKXaqoKUuxCy

Ethereum

0xcD4Db18B6664A9662123D4307B074aE968535388

Litecoin

Ldnz5gMcEeV8BAdsyf8FstWDC6uyYR6pgZ

Doge

DDUnKpFQbBqLpFVZ9DfuVysBdr249HxVDh

Tron

TCZxzPZLcJHr2qR3uPUB1tXB6L3FDSSAx7

Ripple

rN7ZuRG7HDGHR5nof8nu5LrsbmSB61V1qq

Binance Coin

bnb1zglwcf0ac3d0s2f6ck5kgwvcru4tlctt4p5qef

Tether

0xcD4Db18B6664A9662123D4307B074aE968535388

Dash

Xd3Yn2qZJ7VE8nbKw2fS98aLxR5M6WUU3s

Stellar

GALPOLPISRHIYHLQER2TLJRGUSZH52RYDK6C3HIU4PSMNAV65Q36EGNL

Zilliqa

zil1knmz8zj88cf0exr2ry7nav9elehxfcgqu3c5e5

Coffeete

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.0 - 2025-05-06

Added

  • Local time

Changed

  • clox_info function modified
  • run_clock function modified

0.9 - 2025-04-14

Added

  • Timezone difference

Changed

  • Python typing features added to all modules
  • Test system modified
  • Python 3.6 support dropped

0.8 - 2025-03-16

Added

  • --country argument
  • --countries-list argument
  • COUNTRIES.md

Changed

  • Input case sensitivity bug fixed
  • Test system modified
  • README.md updated

0.7 - 2025-03-06

Added

  • Jalali calendar
  • --date-system argument

Changed

  • README.md updated

0.6 - 2025-02-25

Added

  • --calendar argument

Changed

  • README.md updated

0.5 - 2025-02-14

Added

  • --hide-date argument
  • --hide-timezone argument
  • --am-pm argument

Changed

  • README.md updated

0.4 - 2025-01-18

Added

  • Date
  • --info argument

0.3 - 2025-01-10

Added

  • Logo
  • --vertical argument

Changed

  • show_faces_list function updated
  • AUTHORS.md updated

0.2 - 2025-01-01

Added

  • Blink mode
  • --no-blink argument

Changed

  • README.md updated

0.1 - 2024-12-24

Added

  • --v-shift and --h-shift arguments
  • --timezone argument
  • --face argument
  • run_clock and main functions
  • TIMEZONES.md
  • FACES.md

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

clox-1.0.tar.gz (27.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clox-1.0-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file clox-1.0.tar.gz.

File metadata

  • Download URL: clox-1.0.tar.gz
  • Upload date:
  • Size: 27.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for clox-1.0.tar.gz
Algorithm Hash digest
SHA256 45647f892b445f0e83cd4c7f356be80606ef91baf9efca8edd6fe3ee53e2b24d
MD5 56abc288dfea2bb4cdb53aab3673a28e
BLAKE2b-256 d51d131b01d206da02a04f7299b30399ad7fb9fedbca699f9669d14cfde5d27b

See more details on using hashes here.

File details

Details for the file clox-1.0-py3-none-any.whl.

File metadata

  • Download URL: clox-1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for clox-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4b0703856edd87f457e1d12bc57d71b7e2c0c0e5d418f59722844b4281ec62f8
MD5 4d6ef5f8bf807917b363e02fb9e988b4
BLAKE2b-256 284519337cdd20c728febb8929846ab1c5166bb8bf4c6d679dca9348012a00e7

See more details on using hashes here.

Supported by

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