Jalali (Shamsi) calendar in your terminal, with holidays
Project description
#+TITLE: jalali-calendar-cli
* Install
#+begin_example bash
pip install -U jalali-calendar-cli
#+end_example
* Usage
#+ATTR_HTML: :width 800
[[file:readme.org_imgs/20230524_003016_h5V1Xf.png]]
#+begin_example bash
usage: jcal [-h] [--color {auto,always,never}]
[--true-color | --no-true-color] [--footnotes | --no-footnotes]
[--indentation INDENTATION]
[--holidays-json-path HOLIDAYS_JSON_PATH]
[month] [year]
positional arguments:
month month in Jalali calendar (default: current month)
year year in Jalali calendar (default: current year)
options:
-h, --help show this help message and exit
--color {auto,always,never}
colorize the output
--true-color, --no-true-color
enable true color support for output (default: False)
--footnotes, --no-footnotes
show footnotes in the output (default: True)
--indentation INDENTATION
number of spaces for indentation (default: 5)
--holidays-json-path HOLIDAYS_JSON_PATH
path to JSON file containing holiday data
#+end_example
#+begin_example bash
jcal 12
#+end_example
#+begin_example
1402 Esfand
Sat Sun Mon Tue Wed Thu Fri
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
Holidays:
6: Birthday of Imam Mahdi
29: Nationalization of the Oil Industry
#+end_example
* Holidays Data
The default data dictionary is [[https://github.com/NightMachinery/jalali-calendar-cli/blob/master/jalali_calendar_cli/holidays.json][here]]. I plan to keep the data up-to-date, but you can always supply your own.
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
Built Distribution
Close
Hashes for jalali_calendar_cli-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5bb7f7e121a4fd4c9b72a9aa982d5087edfbe934a19069f81c9ab6cb86272e2 |
|
MD5 | e26d82112d945ad2ee1695477936d546 |
|
BLAKE2b-256 | d376f40b2c605a64b7c9be35af40dab5e28c3ac7c6aebb78b2798ec118bb59b5 |
Close
Hashes for jalali_calendar_cli-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e1d82d2bd9253fa3e3d61179a4da3b0aec696b937f1a60c8bea7e2421cf668f |
|
MD5 | f148651df531149a9967cc571416c61c |
|
BLAKE2b-256 | c4c546f92ecb785c8543f4b9dfc0e38e4ef133b5335f0692158478e26f80e27b |