{ "info": { "author": "Zuhair Parvez", "author_email": "zuhairparvez@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Religion" ], "description": "========\nadhan.py\n========\n.. image:: https://travis-ci.org/hayalasalah/adhan.py.svg?branch=master\n :target: https://travis-ci.org/hayalasalah/adhan.py\n.. image:: https://img.shields.io/github/license/hayalasalah/adhan.py.svg\n :target: https://github.com/hayalasalah/adhan.py/blob/master/LICENSE\n\nadhan.py is a Python 2.7 and 3+ library for computing adhan times.\n\nIt is a refactoring of the PrayTimes.org Python adhan calculator that will ensure:\n\n* PEP8 compliant code\n* A PyPI package\n* A simplified API that favors convention over configuration\n* A test suite\n* Presence on GitHub to encourage contribution\n\nInstallation\n============\n\n.. code:: bash\n\n pip install adhan\n\n\nUsage\n=====\n\n.. code:: python\n\n from datetime import date\n\n from adhan import adhan\n from adhan.methods import ISNA, ASR_STANDARD\n\n params = {}\n params.update(ISNA)\n params.update(ASR_STANDARD)\n\n adhan_times = adhan(\n day=date.today(),\n location=(30.25,-97.75),\n parameters=params,\n timezone_offset=-6,\n )\n\n \"\"\"\n adhan_times will be a dict containing datetime objects for the keys 'fajr',\n 'shuruq', 'zuhr', 'asr', 'maghrib', and 'isha'\n\n \"\"\"\n\n\n\nAvailable Methods\n=================\n\nThe following methods are available in the adhan.methods module and should cover\nthe vast majority of cases\n\n* ISNA: Islamic Society of North America\n* MUSLIM_WORLD_LEAGUE: Muslim World League\n* EGYPT: Egyptian General Authority of Survey\n* MAKKAH: Umm al-Qura University, Makkah\n* KARACHI: University of Islamic Sciences, Karachi\n* TEHRAN: Institude of Geophysics, University of Tehran\n* SHIA: Shia Ithna Ashari, Leva Research Institute, Qum\n\n* ASR_STANDARD: Shafi'i, Maliki, Ja'fari, and Hanbali\n* ASR_HANAFI: Hanafi\n\nCustom Parameter Dictionary\n===========================\n\nIn case you want to define your own parameters, the parameters argument accepts\ndicts with the following keys\n\n* fajr_angle: The angle below sunrise to compute Fajr for\n* isha_angle: The angle below sunset to compute Isha for\n* asr_multiplier: The multiplier to use for Asr, such that the length of\n an object's shadow is the multiplier * the object's length + the length of the\n object's shadow at midday\n* isha_delay: The floating point number of hours after Maghrib that Isha is\n\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/hayalasalah/adhan.py/releases/tag/0.1", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/hayalasalah/adhan.py", "keywords": "adhan,islam,muslim,religious", "license": "LGPL 3.0", "maintainer": null, "maintainer_email": null, "name": "adhan", "package_url": "https://pypi.org/project/adhan/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/adhan/", "project_urls": { "Download": "https://github.com/hayalasalah/adhan.py/releases/tag/0.1", "Homepage": "https://github.com/hayalasalah/adhan.py" }, "release_url": "https://pypi.org/project/adhan/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Python library for computing adhan times", "version": "0.1.1" }, "last_serial": 2213328, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "b10c9ff28c468d7adabfbaf1188894de", "sha256": "05d6aef77dcf4be4d17dac258bd6c23ad15625f34d695ea0fdf4cdfc08629468" }, "downloads": -1, "filename": "adhan-0.1.1.tar.gz", "has_sig": false, "md5_digest": "b10c9ff28c468d7adabfbaf1188894de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5980, "upload_time": "2015-12-23T04:09:24", "url": "https://files.pythonhosted.org/packages/57/ef/b76c5fe56d70eea0dd5062e3a90ce01f4f6698d93a1301d3388554527ebc/adhan-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b10c9ff28c468d7adabfbaf1188894de", "sha256": "05d6aef77dcf4be4d17dac258bd6c23ad15625f34d695ea0fdf4cdfc08629468" }, "downloads": -1, "filename": "adhan-0.1.1.tar.gz", "has_sig": false, "md5_digest": "b10c9ff28c468d7adabfbaf1188894de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5980, "upload_time": "2015-12-23T04:09:24", "url": "https://files.pythonhosted.org/packages/57/ef/b76c5fe56d70eea0dd5062e3a90ce01f4f6698d93a1301d3388554527ebc/adhan-0.1.1.tar.gz" } ] }