Skip to main content

A cal replacement that includes working days

Project description

cal-plusplus

cal-plusplus displays a calendar on your command line with workalendar integration for showing working days.

CLI output from the updated cal command showing weekends and public holidays in a lighter colour to regular weekdays

Installation

Install with pip:

pip install --user cal-plusplus

Usage

Display current year, attempt to detect your region (it will be displayed in the title):

cal

Specify calendar from workalendar to use:

cal --calendar=AU-VIC

Alternatively you can set the CALPLUSPLUS environment variable to the name of the calendar you would like to use.

Specify a year to display a calendar for:

cal 2024

Output a list of valid calendars:

cal --show-calendars

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

cal-plusplus-1.0.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

cal_plusplus-1.0.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file cal-plusplus-1.0.0.tar.gz.

File metadata

  • Download URL: cal-plusplus-1.0.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.2

File hashes

Hashes for cal-plusplus-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2262f2587381d7aa667744d6cb99d1166a0ed0e6c8347d931162cdd8e830c0e3
MD5 a87e9cff21d42d9cc93d7a629e2232ee
BLAKE2b-256 3ce9105741247bbc4f63e30939f8992e22956dd6af062022098827bd3a60748a

See more details on using hashes here.

File details

Details for the file cal_plusplus-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cal_plusplus-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54e805122a9f3dc76b66f6116eeafa3dfd494d5fc048604b3430224b82a17d0b
MD5 03d02d67dcaceff992e8b998d6a93eb5
BLAKE2b-256 9a4477aaf73c859db616d9cdd0e19b5893c5b49c7bfeb9d6efa3880ec3b603e3

See more details on using hashes here.

Supported by

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