How to use the hdate.Zmanim function in hdate

To help you get started, we’ve selected a few hdate examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github home-assistant / home-assistant / homeassistant / components / jewish_calendar / sensor.py View on Github external
def make_zmanim(self, date):
        """Create a Zmanim object."""
        return hdate.Zmanim(
            date=date,
            location=self._location,
            candle_lighting_offset=self._candle_lighting_offset,
            havdalah_offset=self._havdalah_offset,
            hebrew=self._hebrew,
        )

hdate

Jewish/Hebrew date and Zmanim in native Python 2.7/3.x

GPL-3.0
Latest version published 8 days ago

Package Health Score

75 / 100
Full package analysis