{ "info": { "author": "Pinny Markowitz", "author_email": "pinny@mwitz.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# python-zmanim\nPython Zmanim library\n\nThis project is a port from Eliyahu Hershfeld's [KosherJava project](https://github.com/KosherJava/zmanim), with some Python niceties and other minor modifications.\n\n## Usage\n\nSome common examples include...\n\n#### Zmanim calculations\n\n```python\n# Initialize a new ZmanimCalendar object, defaults to using today's date in GMT, located at Greenwich, England\nfrom zmanim.zmanim_calendar import ZmanimCalendar\ncalendar = ZmanimCalendar()\ncalendar\n#=> zmanim.zmanim_calendar.ZmanimCalendar(candle_lighting_offset=18, geo_location=zmanim.util.geo_location.GeoLocation(name='Greenwich, England', latitude=51.4772, longitude=0.0, time_zone=tzfile('/usr/share/zoneinfo/GMT'), elevation=0.0), date=datetime.datetime(2018, 8, 26, 11, 40, 29, 334774), calculator=)\n\n# Calculate the sunset for today at that location\ncalendar.sunset()\n#=> datetime.datetime(2018, 8, 26, 18, 58, 40, 796469, tzinfo=tzfile('/usr/share/zoneinfo/GMT')) \n\n# Prepare a new location\nfrom zmanim.util.geo_location import GeoLocation\nlocation = GeoLocation('Lakewood, NJ', 40.0721087, -74.2400243, 'America/New_York', elevation=15)\nlocation\n#=> zmanim.util.geo_location.GeoLocation(name='Lakewood, NJ', latitude=40.0721087, longitude=-74.2400243, time_zone=tzfile('/usr/share/zoneinfo/America/New_York'), elevation=15.0) \n\n# Initialize a new ZmanimCalendar object, passing a specific location and date\nfrom datetime import date\ncalendar = ZmanimCalendar(geo_location=location, date=date(2017, 12, 15))\ncalendar\n#=> zmanim.zmanim_calendar.ZmanimCalendar(candle_lighting_offset=18, geo_location=zmanim.util.geo_location.GeoLocation(name='Lakewood, NJ', latitude=40.0721087, longitude=-74.2400243, time_zone=tzfile('/usr/share/zoneinfo/America/New_York'), elevation=15.0), date=datetime.date(2017, 12, 15), calculator=)\n\n# Calculate Sof Zman Krias Shma for that location/date per the opinion of GR\"A\ncalendar.sof_zman_shma_gra()\n#=> datetime.datetime(2017, 12, 15, 9, 32, 9, 383390, tzinfo=tzfile('/usr/share/zoneinfo/America/New_York'))\n```\n\n#### Date Calculations\n\n```python\n# Initialize a new JewishDate object with today's date\nfrom zmanim.hebrew_calendar.jewish_date import JewishDate \ndate = JewishDate()\ndate\n#=> \n\n# Calculate the JewishDate from 25 days ago\ndate - 25\n#=> \n\n# Initialize a new JewishCalendar object for Pesach of this Jewish calendar year\nfrom zmanim.hebrew_calendar.jewish_calendar import JewishCalendar\npesach = JewishCalendar(date.jewish_year, 1, 15)\npesach\n#=> \npesach.significant_day()\n#=> 'pesach'\npesach.is_yom_tov_assur_bemelacha()\n#=> True\n```\n\nThere is much more functionality included than demonstrated here. Feel free to experiment or read the source code to learn more! \n\n---\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/pinnymz/python-zmanim. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pinnymz/python-zmanim", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "zmanim", "package_url": "https://pypi.org/project/zmanim/", "platform": "", "project_url": "https://pypi.org/project/zmanim/", "project_urls": { "Homepage": "https://github.com/pinnymz/python-zmanim" }, "release_url": "https://pypi.org/project/zmanim/0.2.1/", "requires_dist": [ "python-dateutil", "julian" ], "requires_python": ">=3.6", "summary": "A Zmanim library for Python", "version": "0.2.1" }, "last_serial": 4678029, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "36a361e558980f6a30c84c199cd938bf", "sha256": "3c8beccf780e2e6459717f491a27f5fdeaa8b05c95f11f8b8b29cac3b8614a36" }, "downloads": -1, "filename": "zmanim-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "36a361e558980f6a30c84c199cd938bf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 21780, "upload_time": "2018-08-24T17:43:21", "url": "https://files.pythonhosted.org/packages/96/ed/23f7b19df4bad50cf39e68ddbf90a7430f466879be14d7f6f2b9a2b46b2d/zmanim-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aa878d14a80f837e67eb5a5d7def185d", "sha256": "533c292db9b424cf165cbf204b5b4b7bc1a068f5a5257dc731b5776b04b1e2f8" }, "downloads": -1, "filename": "zmanim-0.0.1.tar.gz", "has_sig": false, "md5_digest": "aa878d14a80f837e67eb5a5d7def185d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16459, "upload_time": "2018-08-24T17:43:22", "url": "https://files.pythonhosted.org/packages/8f/0b/c7d511559e11a3fe702998cbc8ea33ce783aedbdb6702191c127cbfae387/zmanim-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "5b473b7180ca1792457655e4f7a79c8b", "sha256": "68ef82147f85c1543c69c406c6061620cabea4bd8f8439f94d73569281b4258f" }, "downloads": -1, "filename": "zmanim-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "5b473b7180ca1792457655e4f7a79c8b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7", "size": 17811, "upload_time": "2018-08-27T13:25:31", "url": "https://files.pythonhosted.org/packages/c0/28/01797d64c1affbfb2f574c6142cf818e5a76f0679b231ec9c81f37ca7243/zmanim-0.0.2-py3-none-any.whl" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "6f5a59029e6bb1354f0f455becf8d57c", "sha256": "22e1d72ae6d32d6e880a58542486acfe263b1e9d6c234a3cdc586235d86ee611" }, "downloads": -1, "filename": "zmanim-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "6f5a59029e6bb1354f0f455becf8d57c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7", "size": 18310, "upload_time": "2018-09-18T03:40:25", "url": "https://files.pythonhosted.org/packages/14/6a/5ef95ab788de33c4ab2f953d2a4249365ac35ce966e54122c3ac02b7d816/zmanim-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f84aee94647f03d5440093d80cf1c506", "sha256": "70898225272d3e0587cd8ce43d4f686e4c2d6aee1d9793f23c12bff7cc1b29e2" }, "downloads": -1, "filename": "zmanim-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f84aee94647f03d5440093d80cf1c506", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 26679, "upload_time": "2018-09-18T03:40:26", "url": "https://files.pythonhosted.org/packages/22/6d/1643d6e69e45e29648c5b00985e056fab4093fe039fe91e202248462d67f/zmanim-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "fb905aeb1ce9509721789d385f63cc23", "sha256": "760c715de7dd00f955451bcb97fc51b8387e5d8a5108fc64a4e6ead7cf1aaaf9" }, "downloads": -1, "filename": "zmanim-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "fb905aeb1ce9509721789d385f63cc23", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 27804, "upload_time": "2018-10-04T13:48:05", "url": "https://files.pythonhosted.org/packages/a0/c5/ecf38f424791d30dcb0842731f61a54eab470e513f2c69a144de843341e2/zmanim-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "45bddbef2d3d3f96c712ba40b21ae806", "sha256": "f407c677f691cc51efe428d450e30fec8be445afc1e4194e7643ca1bd25e5af3" }, "downloads": -1, "filename": "zmanim-0.2.0.tar.gz", "has_sig": false, "md5_digest": "45bddbef2d3d3f96c712ba40b21ae806", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 26621, "upload_time": "2018-10-04T13:48:06", "url": "https://files.pythonhosted.org/packages/4c/62/ebf6048bc4afe87c61217dc4fe14269cdc5e62ae6afec3034199206e1b6c/zmanim-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "fd77808f096c18ec0edf492272a1c0e2", "sha256": "22396a536cd26b9a8eb878091e340c67aad2a29f9378b412e767cdb18d5866dc" }, "downloads": -1, "filename": "zmanim-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "fd77808f096c18ec0edf492272a1c0e2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 27820, "upload_time": "2019-01-09T18:56:24", "url": "https://files.pythonhosted.org/packages/b0/c3/700713f0e10698105e0269045344035a48b8b1e6444e3550e9e44ff4bfc8/zmanim-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2f0e32f3529a0e395e936be6cbfedbd0", "sha256": "8fb7295381e533d9ae6d495e76661c35cbbec0bbf6dc281dee0980cd72418323" }, "downloads": -1, "filename": "zmanim-0.2.1.tar.gz", "has_sig": false, "md5_digest": "2f0e32f3529a0e395e936be6cbfedbd0", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 26754, "upload_time": "2019-01-09T18:56:25", "url": "https://files.pythonhosted.org/packages/df/6c/354ae7e929c8cc43d781883585f3a5a815e2fe70c3abccc6bac4664c14e6/zmanim-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fd77808f096c18ec0edf492272a1c0e2", "sha256": "22396a536cd26b9a8eb878091e340c67aad2a29f9378b412e767cdb18d5866dc" }, "downloads": -1, "filename": "zmanim-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "fd77808f096c18ec0edf492272a1c0e2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 27820, "upload_time": "2019-01-09T18:56:24", "url": "https://files.pythonhosted.org/packages/b0/c3/700713f0e10698105e0269045344035a48b8b1e6444e3550e9e44ff4bfc8/zmanim-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2f0e32f3529a0e395e936be6cbfedbd0", "sha256": "8fb7295381e533d9ae6d495e76661c35cbbec0bbf6dc281dee0980cd72418323" }, "downloads": -1, "filename": "zmanim-0.2.1.tar.gz", "has_sig": false, "md5_digest": "2f0e32f3529a0e395e936be6cbfedbd0", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 26754, "upload_time": "2019-01-09T18:56:25", "url": "https://files.pythonhosted.org/packages/df/6c/354ae7e929c8cc43d781883585f3a5a815e2fe70c3abccc6bac4664c14e6/zmanim-0.2.1.tar.gz" } ] }