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
Metadata
Release files for jewcal 0.8.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 | |
|---|---|---|---|
| jewcal-0.8.0.tar.gz | 15.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jewcal-0.8.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.9 kB
Release files / jewcal-0.8.0.tar.gz
| Download URL | jewcal-0.8.0.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5497ee60fbfa3a5830e465698fd0ca64e41301016c82c73fadda873b1f836bf
|
|
BLAKE2b-256 checksum How to use checksums |
4d7e1383bccaa4c2b6e2a3999d62488c9d013bf672e68284fbc4bfde65c82dc7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 20, 2024.
Transparency logRelease files / jewcal-0.8.0-py3-none-any.whl
| Download URL | jewcal-0.8.0-py3-none-any.whl |
|---|---|
| Size | 17.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b91b690046d6a09ec4e0f8cd179689a5e20177fc4be173b886c22bfad06d415
|
|
BLAKE2b-256 checksum How to use checksums |
813dcf0a669493ff93c8ea4b817ced1896cd70f8f0d1cd57c769b65d5be2a3ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 20, 2024.
Transparency log