Convert Gregorian to Jewish dates with holidays and zmanim (Diaspora/Israel).
Project description
Convert Gregorian to Jewish dates with holidays and zmanim (Diaspora/Israel).
Get info about:
The Jewish date
Shabbos and Yom Tov events
The action (Candles or Havdalah)
The zmanim
Sunrise
Sunset
Plag Hamincha
Hadlokas Haneiros (adjust the minutes before sunset)
Tzeis (adjust to stars or minutes after sunset)
Determine whether it is:
Erev Shabbos or Erev Yom Tov
Shabbos
Yom Tov
Issur Melacha
If latitude and longitude are specified, nightfall is taken into account to calculate the Jewish date.
Quickstart
Install JewCal using 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,
zmanim=None
)
Zmanim for Jerushalayim:
{
'hadlokas_haneiros': '2024-05-31T15:59:12.468117+00:00',
'plag_hamincha': '2024-05-31T15:11:15.201081+00:00',
'sunrise': '2024-05-31T02:34:50.704559+00:00',
'sunset': '2024-05-31T16:39:12.468117+00:00',
'tzeis_hakochavim': '2024-05-31T17:21:11.859783+00:00',
'tzeis_minutes': '2024-05-31T17:51:12.468117+00:00'
}
Location(
latitude=31.76904, longitude=35.21633,
use_tzeis_hakochavim=True,
hadlokas_haneiros_minutes=40,
tzeis_minutes=72
)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jewcal-0.8.0.tar.gz.
File metadata
- Download URL: jewcal-0.8.0.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5497ee60fbfa3a5830e465698fd0ca64e41301016c82c73fadda873b1f836bf
|
|
| MD5 |
3e93f64799fa60acb4660a9d78c39404
|
|
| BLAKE2b-256 |
4d7e1383bccaa4c2b6e2a3999d62488c9d013bf672e68284fbc4bfde65c82dc7
|
Provenance
The following attestation bundles were made for jewcal-0.8.0.tar.gz:
Publisher:
pypi.yml on essel-dev/jewcal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jewcal-0.8.0.tar.gz -
Subject digest:
e5497ee60fbfa3a5830e465698fd0ca64e41301016c82c73fadda873b1f836bf - Sigstore transparency entry: 156991363
- Sigstore integration time:
-
Permalink:
essel-dev/jewcal@d224ca31309d5570a5e5aac32f00a1c8a01fb507 -
Branch / Tag:
refs/tags/v0.8.0 - Owner: https://github.com/essel-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@d224ca31309d5570a5e5aac32f00a1c8a01fb507 -
Trigger Event:
release
-
Statement type:
File details
Details for the file jewcal-0.8.0-py3-none-any.whl.
File metadata
- Download URL: jewcal-0.8.0-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b91b690046d6a09ec4e0f8cd179689a5e20177fc4be173b886c22bfad06d415
|
|
| MD5 |
cc000deaa36f334eabab17c73f1b1ce1
|
|
| BLAKE2b-256 |
813dcf0a669493ff93c8ea4b817ced1896cd70f8f0d1cd57c769b65d5be2a3ec
|
Provenance
The following attestation bundles were made for jewcal-0.8.0-py3-none-any.whl:
Publisher:
pypi.yml on essel-dev/jewcal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jewcal-0.8.0-py3-none-any.whl -
Subject digest:
1b91b690046d6a09ec4e0f8cd179689a5e20177fc4be173b886c22bfad06d415 - Sigstore transparency entry: 156991366
- Sigstore integration time:
-
Permalink:
essel-dev/jewcal@d224ca31309d5570a5e5aac32f00a1c8a01fb507 -
Branch / Tag:
refs/tags/v0.8.0 - Owner: https://github.com/essel-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@d224ca31309d5570a5e5aac32f00a1c8a01fb507 -
Trigger Event:
release
-
Statement type: