Hebrew date and Zmanim
Project description
Jewish/Hebrew date and Zmanim in native python 2.7/3.x
Originally ported from libhdate, see http://libhdate.sourceforge.net/ for more details (including license)
>>> import hdate
>>> import datetime
>>> c = hdate.Location("פתח תקוה", 32.08707, 34.88747, "Asia/Jerusalem", 54)
>>> z = hdate.Zmanim(date=datetime.date(2016, 4, 18), location=c)
>>> print z
עלות השחר - 04:53:00 זמן טלית ותפילין - 05:19:00 הנץ החמה - 06:09:00 סוף זמן ק"ש מג"א - 08:46:00 סוף זמן ק"ש הגר"א - 09:24:00 סוף זמן תפילה מג"א - 10:03:40 סוף זמן תפילה גר"א - 10:29:00 חצות היום - 12:39:00 מנחה גדולה - 13:11:30 מנחה קטנה - 16:26:30 פלג מנחה - 17:48:45 שקיעה - 19:10:00 צאת הככבים - 19:35:00 חצות הלילה - 00:39:00
>>> z = hdate.Zmanim(date=datetime.date(2016, 4, 18), location=c)
>>> print z
Alot HaShachar - 04:53:00 Talit & Tefilin's time - 05:19:00 Sunrise - 06:09:00 Shema EOT MG"A - 08:46:00 Shema EOT GR"A - 09:24:00 Tefila EOT MG"A - 10:03:40 Tefila EOT GR"A - 10:29:00 Midday - 12:39:00 Big Mincha - 13:11:30 Small Mincha - 16:26:30 Plag Mincha - 17:48:45 Sunset - 19:10:00 First stars - 19:35:00 Midnight - 00:39:00
>>> h=hdate.HDate(datetime.date(2016, 4, 18), hebrew=False)
>>> print h
Monday 10 Nisan 5776
>>> h=hdate.HDate(datetime.date(2016, 4, 26), hebrew=True)
>>> print h
יום שלישי י"ח בניסן התשע"ו ג' בעומר חול המועד פסח
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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
hdate-0.8.7-py2.py3-none-any.whl
(30.9 kB
view details)
File details
Details for the file hdate-0.8.7-py2.py3-none-any.whl.
File metadata
- Download URL: hdate-0.8.7-py2.py3-none-any.whl
- Upload date:
- Size: 30.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3d8d83124c8376afc32535ea33689db74193340eb10325cbfcca5bbe6886a37
|
|
| MD5 |
dc4b2f1de5e63c4122a2e1da3cf5c3b1
|
|
| BLAKE2b-256 |
797010b3b220566915ce091558b9dffcfee7549db3f754eaf01c50ec94d6219b
|