{ "info": { "author": "David Riggs", "author_email": "driggs@myotisoft.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3" ], "description": "This is 'solartime', a Python module which calculates times for various positions of the sun:\ndawn, sunrise, solar noon, sunset, and dusk.\n\n'solartime' is a vastly-simplified fork of Simon Kennedy's 'astral' module, and is Free / Libre\nOpen Source software under the Apache 2.0 license.\n\nIts only dependency is the `pytz` package, and Python 2.6, 2.7, 3.3+.\n\n\nExample usage:\n\n >>> from datetime import date\n >>> from pytz import timezone\n >>> from solartime import SolarTime\n >>>\n >>> today = date(2014, 4, 20)\n >>> localtz = timezone('US/Eastern')\n >>> lat, lon = 38.0, -79.0\n >>>\n >>> sun = SolarTime()\n >>> schedule = sun.sun_utc(today, lat, lon)\n >>> sunset = schedule['sunset'].astimezone(localtz)\n >>> print sunset\n 2014-04-20 19:56:38-04:00\n\n\nLicense\n=======\n\nCopyright 2015 David A. Riggs \nCopyright 2009-2014 Simon Kennedy \n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "Apache-2.0", "maintainer": "", "maintainer_email": "", "name": "solartime", "package_url": "https://pypi.org/project/solartime/", "platform": "", "project_url": "https://pypi.org/project/solartime/", "project_urls": null, "release_url": "https://pypi.org/project/solartime/0.1b1/", "requires_dist": null, "requires_python": "", "summary": "Calculations for solar time such as dawn, sunrise, sunset, dusk.", "version": "0.1b1" }, "last_serial": 5269221, "releases": { "0.1b0": [ { "comment_text": "", "digests": { "md5": "4403b17e739bf33e512ad90be8f48d73", "sha256": "d6f6ee49a17b374a53a1e1cbbd3b0716a3e30b6f2c598ecd666b2cbeb9ccc695" }, "downloads": -1, "filename": "solartime-0.1b0.tar.gz", "has_sig": false, "md5_digest": "4403b17e739bf33e512ad90be8f48d73", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5735, "upload_time": "2015-01-20T19:35:15", "url": "https://files.pythonhosted.org/packages/69/6b/d395a1fff9a23112f66fe704d54f9d0cd0c8de0d0a3ccef9b493500c8d44/solartime-0.1b0.tar.gz" } ], "0.1b1": [ { "comment_text": "", "digests": { "md5": "f95da429925bf9d063cb7a15fde158d5", "sha256": "ba7075d502ff32efd0644028dfc1c54e06ccf88fb6634b2038ab148ff37826e5" }, "downloads": -1, "filename": "solartime-0.1b1.tar.gz", "has_sig": false, "md5_digest": "f95da429925bf9d063cb7a15fde158d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4814, "upload_time": "2019-05-14T20:10:30", "url": "https://files.pythonhosted.org/packages/de/11/17952e2e49caad49fc372ba1ae20b9abedb94f238f67623f83e35e7c0700/solartime-0.1b1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f95da429925bf9d063cb7a15fde158d5", "sha256": "ba7075d502ff32efd0644028dfc1c54e06ccf88fb6634b2038ab148ff37826e5" }, "downloads": -1, "filename": "solartime-0.1b1.tar.gz", "has_sig": false, "md5_digest": "f95da429925bf9d063cb7a15fde158d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4814, "upload_time": "2019-05-14T20:10:30", "url": "https://files.pythonhosted.org/packages/de/11/17952e2e49caad49fc372ba1ae20b9abedb94f238f67623f83e35e7c0700/solartime-0.1b1.tar.gz" } ] }