Python 3 library for Hebrew date and zmanim (times) objects in python
GPL-3.0 License
Bot releases are visible (Hide)
Published by github-actions[bot] 4 months ago
Published by github-actions[bot] 4 months ago
Install it with pip
pip install hdate==0.10.9
See it on pypi: https://pypi.org/project/hdate
Published by tsvi 7 months ago
Revert astral dependency to be ^2.2
Full Changelog: https://github.com/py-libhdate/py-libhdate/compare/v0.10.7...v0.10.8
Published by tsvi 7 months ago
Published by tsvi 7 months ago
Published by github-actions[bot] 7 months ago
Install it with pip
pip install hdate==0.10.5
See it on pypi: https://pypi.org/project/hdate
Full Changelog: https://github.com/py-libhdate/py-libhdate/compare/v0.10.4...v0.10.5
Published by github-actions[bot] about 3 years ago
Install it with pip
pip install hdate==0.10.4
See it on pypi: https://pypi.org/project/hdate
Published by github-actions[bot] over 3 years ago
Install it with pip
pip install hdate==0.10.3
See it on pypi: https://pypi.org/project/hdate
Published by github-actions[bot] almost 4 years ago
Install it with pip
pip install hdate==0.10.2
See it on pypi: https://pypi.org/project/hdate
Published by github-actions[bot] almost 4 years ago
Install it with pip
pip install hdate==0.10.1
See it on pypi: https://pypi.org/project/hdate
Published by github-actions[bot] almost 4 years ago
Install it with pip
pip install hdate==0.10.0
See it on pypi: https://pypi.org/project/hdate
Published by github-actions[bot] almost 4 years ago
Install it with pip
pip install hdate==0.9.12
See it on pypi: https://pypi.org/project/hdate
Published by tsvi about 4 years ago
Install it with pip
pip install hdate==0.9.11
See it on pypi: https://pypi.org/project/hdate
Published by github-actions[bot] about 4 years ago
Install it with pip
pip install hdate==0.9.10
See it on pypi: https://pypi.org/project/hdate
Published by github-actions[bot] about 4 years ago
Install it with pip
pip install hdate==0.9.9
See it on pypi: https://pypi.org/project/hdate
Published by royi1000 almost 5 years ago
Published by tsvi almost 6 years ago
This release cleans up the API for accessing info of the HDate object, making it easier to use in homeassistant.
The following methods have been replaced or changed in the date object:
hdate_set_hdate(self, day, month, year)
- replaced by giving a value to HDate.hdate
, the value must be of the form hdate.common.HebrewDate(year, month, day)
h_day
, h_month
and h_year
have been deprecated in favor of hdate
HDate.gdate
a datetime.datetime
or datetime.date
objectget_hebrew_date()
has been deprecated in favor of the hebrew_date
property. The previous returned 3 values of day, month and year. The new one returns the string either in hebrew or english of the date only.get_reading()
has been fixed according to #23. It doesn't accept the diaspora
argument anymore, rather the class variable diaspora
should be changed.date.get_parashe()
has been deprecated in favor of a class property parasha
property returns the string value either in english or hebrew depending on the class variablehdate_set_jdn()
has been deprecated.get_holyday()
has been renamed to _holiday_entry()
and now returns the full entry from htables
holiday_description
property returns the string either in english or hebrew depending on the class variabledate.get_holyday_type()
has moved to be a class property holyday_type
get_holyday_name()
has been renamed to be a class property holyday_name
get_omer_day()
has been renamed be a class property omer_day
date.get_hebrew_date()
has been deprecated.__repr__()
has been implementedhdate_julian
has been renamed to converters
. The following method signatures have been changed:
gdate_to_jdn
now expects a datetime
objecthdate_to_jdn
now expects a datetime
objectjdn_to_gdate
now returns a datetime
objectjdn_to_gdate
now expects a HebrewDate
namedtuplePublished by tsvi almost 7 years ago
to_string()
has been removed from HDate() in favor of __str__
__repr__
has been removed in favor of __str__
(__repr__
should be used for a programmatic representation)Published by tsvi about 7 years ago
This fixes a critical bug in Zmanim class, created because of a bad division due to updating the code for python 3.