Skip to main content
Tests Status PyPi Status Documentation Status

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

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.8.0.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jewcal-0.8.0-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

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

Hashes for jewcal-0.8.0.tar.gz
Algorithm Hash digest
SHA256 e5497ee60fbfa3a5830e465698fd0ca64e41301016c82c73fadda873b1f836bf
MD5 3e93f64799fa60acb4660a9d78c39404
BLAKE2b-256 4d7e1383bccaa4c2b6e2a3999d62488c9d013bf672e68284fbc4bfde65c82dc7

See more details on using hashes here.

Provenance

The following attestation bundles were made for jewcal-0.8.0.tar.gz:

Publisher: pypi.yml on essel-dev/jewcal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for jewcal-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b91b690046d6a09ec4e0f8cd179689a5e20177fc4be173b886c22bfad06d415
MD5 cc000deaa36f334eabab17c73f1b1ce1
BLAKE2b-256 813dcf0a669493ff93c8ea4b817ced1896cd70f8f0d1cd57c769b65d5be2a3ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for jewcal-0.8.0-py3-none-any.whl:

Publisher: pypi.yml on essel-dev/jewcal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 files

0.7.4

2 files

0.7.3

2 files

0.7.2

2 files

0.7.1

2 files

0.7.0

2 files

0.6.1

2 files

0.5.1

2 files

0.5.0

2 files

0.4.6

2 files

0.4.5

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.2

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page