CLI Calendar
CLI Calendar with multiple styles to display the current month on your terminal.
NOTE: Monday is always the first day of the week. Currently this is not configurable, if you are interested in this option being tweakable with a parameter, open an issue and I will take a look at it.
┌─────────────────────────────────────────┐
│ 8 August 2026 │
├─────┬─────┬─────┬─────┬─────┬─────┬─────┤
│ Mon │ Tue │ Wed │ Thu │ Fri │ Sat │ Sun │
├─────┼─────┼─────┼─────┼─────┼─────┼─────┤
│ 27 │ 28 │ 29 │ 30 │ 31 │ 1 │ 2 │
├─────┼─────┼─────┼─────┼─────┼─────┼─────┤
│ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │
├─────┼─────┼─────┼─────┼─────┼─────┼─────┤
│ 10 │ 11 │ 12 │ 13 │ 14 │ 15 │ 16 │
├─────┼─────┼─────┼─────┼─────┼─────┼─────┤
│ 17 │ 18 │ 19 │ 20 │ 21 │ 22 │ 23 │
├─────┼─────┼─────┼─────┼─────┼─────┼─────┤
│ 24 │ 25 │ 26 │ 27 │ 28 │ 29 │ 30 │
├─────┼─────┼─────┼─────┼─────┼─────┼─────┤
│ 31 │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │
└─────┴─────┴─────┴─────┴─────┴─────┴─────┘
- Author: LluisE
- Website: https://kitsune.cat
- Source: https://github.com/lluises/cli_calendar
- Licence: https://www.mozilla.org/en-US/MPL/2.0/
Installation
This project is available in PyPI: https://pypi.org/project/cli-calendar
You can install it in your machine by just doing:
pip install cli-calendar
Usage
After installation, just run calendar on your shell.
Double check your PATH in case the command is not found. Sometimes pip might install it under $HOME/.local/bin/ and if you don't have it your $PATH you will need to either add it or create an alias like alias calendar=$HOME/.local/bin/calendar
usage: calendar.py [-h] [-d DAY] [-m MONTH] [-y YEAR] [-a] [-l LOOK] [-nc]
[--lang LANG] [--lang-days LANG_DAYS]
[--lang-months LANG_MONTHS] [-c]
CLI Calendar for the terminal by LluisE
options:
-h, --help show this help message and exit
-d, --day DAY Calendar day: 27
-m, --month MONTH Calendar month: 07 or May
-y, --year YEAR Calendar year: 2019
-a, --all Print all the calendars of the year
-l, --look LOOK Change how the calendar looks: 0, 1 or 2
-nc, --no-color Disable colored output
--lang LANG Language: en, es, ca, jp
--lang-days LANG_DAYS
Language for days
--lang-months LANG_MONTHS
Language for months
-c, --compact Compact calendar width
Styles
Style 0
8 August 2026
Mon Tue Wed Thu Fri Sat Sun
27 28 29 30 31 1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31 1 2 3 4 5 6
Style 1
|-----------------------------------------|
| 8 August 2026 |
|-----------------------------------------|
| Mon | Tue | Wed | Thu | Fri | Sat | Sun |
|-----+-----+-----+-----+-----+-----+-----|
| 27 | 28 | 29 | 30 | 31 | 1 | 2 |
|-----+-----+-----+-----+-----+-----+-----|
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|-----+-----+-----+-----+-----+-----+-----|
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
|-----+-----+-----+-----+-----+-----+-----|
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
|-----+-----+-----+-----+-----+-----+-----|
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
|-----+-----+-----+-----+-----+-----+-----|
| 31 | 1 | 2 | 3 | 4 | 5 | 6 |
|-----------------------------------------|
Style 2
┌─────────────────────────────────────────┐
│ 8 August 2026 │
├─────┬─────┬─────┬─────┬─────┬─────┬─────┤
│ Mon │ Tue │ Wed │ Thu │ Fri │ Sat │ Sun │
├─────┼─────┼─────┼─────┼─────┼─────┼─────┤
│ 27 │ 28 │ 29 │ 30 │ 31 │ 1 │ 2 │
├─────┼─────┼─────┼─────┼─────┼─────┼─────┤
│ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │
├─────┼─────┼─────┼─────┼─────┼─────┼─────┤
│ 10 │ 11 │ 12 │ 13 │ 14 │ 15 │ 16 │
├─────┼─────┼─────┼─────┼─────┼─────┼─────┤
│ 17 │ 18 │ 19 │ 20 │ 21 │ 22 │ 23 │
├─────┼─────┼─────┼─────┼─────┼─────┼─────┤
│ 24 │ 25 │ 26 │ 27 │ 28 │ 29 │ 30 │
├─────┼─────┼─────┼─────┼─────┼─────┼─────┤
│ 31 │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │
└─────┴─────┴─────┴─────┴─────┴─────┴─────┘
Style 3
···········································
: 8 August 2026 :
···········································
: Mon : Tue : Wed : Thu : Fri : Sat : Sun :
···········································
: 27 : 28 : 29 : 30 : 31 : 1 : 2 :
···········································
: 3 : 4 : 5 : 6 : 7 : 8 : 9 :
···········································
: 10 : 11 : 12 : 13 : 14 : 15 : 16 :
···········································
: 17 : 18 : 19 : 20 : 21 : 22 : 23 :
···········································
: 24 : 25 : 26 : 27 : 28 : 29 : 30 :
···········································
: 31 : 1 : 2 : 3 : 4 : 5 : 6 :
···········································
All the styles can be compacted with the -c or --compact flag:
┌───────────────────────────┐
│ 8 August 2026 │
├───┬───┬───┬───┬───┬───┬───┤
│Mon│Tue│Wed│Thu│Fri│Sat│Sun│
├───┼───┼───┼───┼───┼───┼───┤
│ 27│ 28│ 29│ 30│ 31│ 1 │ 2 │
├───┼───┼───┼───┼───┼───┼───┤
│ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │
├───┼───┼───┼───┼───┼───┼───┤
│ 10│ 11│ 12│ 13│ 14│ 15│ 16│
├───┼───┼───┼───┼───┼───┼───┤
│ 17│ 18│ 19│ 20│ 21│ 22│ 23│
├───┼───┼───┼───┼───┼───┼───┤
│ 24│ 25│ 26│ 27│ 28│ 29│ 30│
├───┼───┼───┼───┼───┼───┼───┤
│ 31│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │
└───┴───┴───┴───┴───┴───┴───┘
LICENSE
This project is licenced under the Mozilla Public License version 2.0. You may obtain a copy of the licence at the LICENCE file in this repository, or online at https://www.mozilla.org/en-US/MPL/2.0/.
Metadata
Release files for cli-calendar 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cli_calendar-1.0.0.tar.gz | 11.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cli_calendar-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.5 kB
Release files / cli_calendar-1.0.0.tar.gz
| Download URL | cli_calendar-1.0.0.tar.gz |
|---|---|
| Size | 11.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da9901f9d73e5aea0799e80bf1d34df1bffa780aeb8ef03d655f39db8a515f14
|
|
BLAKE2b-256 checksum How to use checksums |
df1ae845e7db2d8923821a3f63a4a7783b26cf155753089d3d6a879eaf84140a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / cli_calendar-1.0.0-py3-none-any.whl
| Download URL | cli_calendar-1.0.0-py3-none-any.whl |
|---|---|
| Size | 12.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
314f7b8dcebe4aa6ced15be7eed0b33a1c8836b7fcb7af168e51c187fdbdc7c5
|
|
BLAKE2b-256 checksum How to use checksums |
733d948e988591dbc70b2a2fd3b42736cd9374b9e5c1cd2a4abd1fa8cbee766a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|