Skip to main content

A CLI tool for displaying calendar information with terminal graphics

Project description

calx

Calendar Expanded -- a CLI tool for displaying calendar information with terminal graphics.

╭───────── ISO Week ─────────╮  ╭────── February 2026 ──────╮
│                            │  │                           │
│  ╭─────────────┬────────╮  │  │    Mo Tu We Th Fr Sa  Su  │
│  │ Week        │ 6      │  │  │  5                     1  │
│  │ Year        │ 2026   │  │  │  6  2  3  4  5  6  7   8  │
│  │ Day         │ Monday │  │  │  7  9 10 11 12 13 14  15  │
│  │ Day of Year │ 33     │  │  │  8 16 17 18 19 20 21  22  │
│  ╰─────────────┴────────╯  │  │  9 23 24 25 26 27 28      │
│                            │  │                           │
╰────────────────────────────╯  ╰───────────────────────────╯

Features

  • ISO and simple week numbering
  • Configurable first day of week (Monday through Sunday)
  • Current day highlighting
  • Week numbers alongside the calendar grid
  • Single month, three-month, and full-year views
  • Shortcut flags for common configurations (--simple-sunday, --iso-sunday, --simple-monday)
  • Custom configuration via calx show with -d (day) and -s/-i (style) flags

Installation

Homebrew (recommended)

brew tap ocolunga/calx
brew install calx-cli

pip

pip install calx-cli

uv

uv pip install calx-cli

Usage

# Default view (ISO week, Monday start)
calx

# Three-month view
calx -m

# Full-year view
calx -y

# Sunday-start with simple week numbering
calx --simple-sunday

# Custom: Wednesday start, simple numbering
calx show -d 3 -s

# Custom: Sunday start, ISO-style numbering
calx show -d 7 -i

Development

uv sync --group dev
uv run calx --help

# Lint and format
uv run ruff check src/
uv run ruff format src/

# Type check
uv run ty check src/

License

MIT

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

calx_cli-0.3.0.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

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

calx_cli-0.3.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file calx_cli-0.3.0.tar.gz.

File metadata

  • Download URL: calx_cli-0.3.0.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for calx_cli-0.3.0.tar.gz
Algorithm Hash digest
SHA256 c1cef48c976a14e9f125f30b17e0e3347a76405ce9414f85c886b03044ef1de7
MD5 20df841f2abcb13760797279f42ba09d
BLAKE2b-256 e7a178c27b9bba086afdefc531793ae9d30c44435952fe013036c9cc6cf5cba7

See more details on using hashes here.

File details

Details for the file calx_cli-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: calx_cli-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for calx_cli-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff04e04e748d66a3df3fda5e004b150d9b6324adf5369be4e6e7f30fd28bb8a0
MD5 8fdfa046ff07f27dfc12bf5f26d3983b
BLAKE2b-256 31ea5e5e2f42e77cee2fadc7a8311006641c81e040ad93f3fbe0716592208160

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