Convert Gregorian to Jewish dates with holidays for Diaspora and Israel.
Project description
Convert Gregorian to Jewish dates with holidays for Diaspora and Israel.
Get info about:
The Jewish date
Shabbos and Yom Tov events
The action (Candles or Havdalah)
Determine whether it is:
Erev Shabbos or Erev Yom Tov
Shabbos
Yom Tov
Issur Melacha
Quickstart
Install with pip:
pip install jewcal
Run in the console:
jewcal
The output:
Today is 23 Iyar 5784
today.has_events()=True
today.is_erev()=True
today.is_erev_shabbos()=True
today.is_shabbos()=False
today.is_erev_yomtov()=False
today.is_yomtov()=False
today.is_issur_melacha()=False
JewCal(
jewish_date=JewishDate(
year=5784, month=2, day=23,
gregorian_date=datetime.date(2024, 5, 31)
),
events=Events(
shabbos='Erev Shabbos',
yomtov=None,
action='Candles'
),
diaspora=True
)
Resources
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jewcal-0.6.1.tar.gz
(12.1 kB
view hashes)
Built Distribution
jewcal-0.6.1-py3-none-any.whl
(12.7 kB
view hashes)