{
"info": {
"author": "Sebastien Celles",
"author_email": "s.celles@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Cython",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Topic :: Scientific/Engineering"
],
"description": "|Latest Version| |Supported Python versions| |Wheel format| |License|\n|Development Status| |Downloads monthly| |Documentation Status|\n|Sourcegraph| |Gitter| |Code Health| |Build Status|\n\nOpenWeatherMap Requests\n=======================\n\n`Python `__ package to fetch data from\n`OpenWeatherMap.org `__ using\n`Requests `__ and\n`Requests-cache `__ and get\n`Pandas DataFrame `__ with weather history.\n\nCommand Line Interface Usage\n----------------------------\n\nCurrent weather\n~~~~~~~~~~~~~~~\n\nGet current weather data\n\n::\n\n $ python openweathermap_requests.py --lon 0.34189 --lat 46.5798114\n\nHistorical weather data\n~~~~~~~~~~~~~~~~~~~~~~~\n\nFetch historical weather data from nearest weather station of\ncoordinates (lon=0.34189, lat=46.5798114) from 2014/01/01 to 2014/12/01\nusing:\n\n::\n\n $ python openweathermap_requests.py --lon 0.34189 --lat 46.5798114 --range 20140101:20141201\n\nLibrary Usage\n-------------\n\n::\n\n import datetime\n import logging\n logger = logging.getLogger()\n logger.setLevel(logging.DEBUG)\n from openweathermap_requests import OpenWeatherMapRequests\n\n ow = OpenWeatherMapRequests(api_key='', cache_name='cache-openweathermap', expire_after=5*60)\n\n (lon, lat) = (0.34189, 46.5798114) # Poitiers\n\n data = ow.get_weather(lon=lon, lat=lat) # display current weather data\n print(data)\n\n stations = ow.find_stations_near(lon=lon, lat=lat, cnt=10) # get 10 nearest stations from coordinates (lon, lat)\n\n station_id = stations.iloc[0]['station.id'] # get station_id of nearest station\n\n start_date = datetime.datetime(2014, 1, 1)\n end_date = datetime.datetime(2014, 6, 1)\n\n data = ow.get_historic_weather(station_id, start_date, end_date) # get historic weather from start date to end date\n print(data)\n\nInstall\n-------\n\nFrom Python package index\n~~~~~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n $ pip install openweathermap_requests\n\nFrom source\n~~~~~~~~~~~\n\nGet latest version using Git\n\n::\n\n $ git clone https://github.com/scls19fr/openweathermap_requests.git\n $ cd openweathermap_requests\n $ python setup.py install\n\nLinks\n-----\n\n- Documentation can be found at `Read The\n Docs `__ ;\n- Source code and issue tracking can be found at\n `GitHub `__.\n- Feel free to `tip me `__!\n\n.. |Latest Version| image:: https://img.shields.io/pypi/v/openweathermap_requests.svg\n :target: https://pypi.python.org/pypi/openweathermap_requests/\n.. |Supported Python versions| image:: https://img.shields.io/pypi/pyversions/openweathermap_requests.svg\n :target: https://pypi.python.org/pypi/openweathermap_requests/\n.. |Wheel format| image:: https://img.shields.io/pypi/wheel/openweathermap_requests.svg\n :target: https://pypi.python.org/pypi/openweathermap_requests/\n.. |License| image:: https://img.shields.io/pypi/l/openweathermap_requests.svg\n :target: https://pypi.python.org/pypi/openweathermap_requests/\n.. |Development Status| image:: https://img.shields.io/pypi/status/openweathermap_requests.svg\n :target: https://pypi.python.org/pypi/openweathermap_requests/\n.. |Downloads monthly| image:: https://img.shields.io/pypi/dm/openweathermap_requests.svg\n :target: https://pypi.python.org/pypi/openweathermap_requests/\n.. |Documentation Status| image:: https://readthedocs.org/projects/openweathermap-requests/badge/?version=latest\n :target: http://openweathermap-requests.readthedocs.org/en/latest/\n.. |Sourcegraph| image:: https://sourcegraph.com/api/repos/github.com/scls19fr/openweathermap_requests/.badges/status.png\n :target: https://sourcegraph.com/github.com/scls19fr/openweathermap_requests\n.. |Gitter| image:: https://badges.gitter.im/Join%20Chat.svg\n :target: https://gitter.im/scls19fr/openweathermap_requests?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\n.. |Code Health| image:: https://landscape.io/github/scls19fr/openweathermap_requests/master/landscape.svg?style=flat\n :target: https://landscape.io/github/scls19fr/openweathermap_requests/master\n.. |Build Status| image:: https://travis-ci.org/scls19fr/openweathermap_requests.svg\n :target: https://travis-ci.org/scls19fr/openweathermap_requests",
"description_content_type": null,
"docs_url": null,
"download_url": "UNKNOWN",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/scls19fr/openweathermap_requests",
"keywords": "data weather temperature history",
"license": "BSD",
"maintainer": null,
"maintainer_email": null,
"name": "openweathermap_requests",
"package_url": "https://pypi.org/project/openweathermap_requests/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/openweathermap_requests/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "https://github.com/scls19fr/openweathermap_requests"
},
"release_url": "https://pypi.org/project/openweathermap_requests/0.0.5/",
"requires_dist": null,
"requires_python": null,
"summary": "openweathermap requests fetch weather history Pandas DataFrame",
"version": "0.0.5"
},
"last_serial": 1602298,
"releases": {
"0.0.3": [
{
"comment_text": "",
"digests": {
"md5": "fafa9469b7eeb6dc039d30a6f6fb0e32",
"sha256": "cf52501dcd91fa2bc37dce66b9c291d7a5b5d15f450edbb2ba8be12efc2d1928"
},
"downloads": -1,
"filename": "openweathermap_requests-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "fafa9469b7eeb6dc039d30a6f6fb0e32",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6397,
"upload_time": "2015-01-21T17:20:53",
"url": "https://files.pythonhosted.org/packages/eb/0b/cef23ed916bed94d806ae3ea1d2cb43003f5d962757538c74047aa8c2473/openweathermap_requests-0.0.3.tar.gz"
}
],
"0.0.4": [
{
"comment_text": "",
"digests": {
"md5": "3db0ac0f2174ee39e89d1b41fd1794a7",
"sha256": "c796ed1315c4a078bce8dae5673908b6a2fe5ea685f22a27e182bfe2f14a6c12"
},
"downloads": -1,
"filename": "openweathermap_requests-0.0.4-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "3db0ac0f2174ee39e89d1b41fd1794a7",
"packagetype": "bdist_wheel",
"python_version": "2.7",
"requires_python": null,
"size": 8254,
"upload_time": "2015-02-04T21:02:35",
"url": "https://files.pythonhosted.org/packages/83/01/7a0e2fcb7d0d14089264aaf6708e68a1d2aae2d16baf0eb64dd1d23eb86d/openweathermap_requests-0.0.4-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "27a2a11c201687541e4f20bbb58d29c5",
"sha256": "b0d023eced87e286d39fdac5a431920053f2a89792b8338b9fd735058e0ee252"
},
"downloads": -1,
"filename": "openweathermap_requests-0.0.4.tar.gz",
"has_sig": false,
"md5_digest": "27a2a11c201687541e4f20bbb58d29c5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6699,
"upload_time": "2015-02-04T21:02:31",
"url": "https://files.pythonhosted.org/packages/c6/1e/5e15f41412556f6c9a25f610d0f4a9b7293c8c4bc54cdbf270762df02003/openweathermap_requests-0.0.4.tar.gz"
}
],
"0.0.5": [
{
"comment_text": "",
"digests": {
"md5": "b0d6813c4813223fc8fa870e28cfc38d",
"sha256": "721290a416a44a8d6308b9fa3a4cd4d4255c792ad5df1279943953c190fc95d0"
},
"downloads": -1,
"filename": "openweathermap_requests-0.0.5-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "b0d6813c4813223fc8fa870e28cfc38d",
"packagetype": "bdist_wheel",
"python_version": "2.7",
"requires_python": null,
"size": 8533,
"upload_time": "2015-06-22T20:37:53",
"url": "https://files.pythonhosted.org/packages/74/25/f2aa31e6895cf45cf33105e056e6c1174d8a1c66abeff400f11fb53b25b5/openweathermap_requests-0.0.5-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "d10e1183c8f4422f5f55d1c2d43fe431",
"sha256": "f81350e72eda058ffbf5ab99623cf810f44632c0fa6b205945c509c57af90620"
},
"downloads": -1,
"filename": "openweathermap_requests-0.0.5.tar.gz",
"has_sig": false,
"md5_digest": "d10e1183c8f4422f5f55d1c2d43fe431",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6415,
"upload_time": "2015-06-22T20:37:49",
"url": "https://files.pythonhosted.org/packages/c9/c4/00e9c707349ed99163e62f1f1144bdadf74f4b3ae0a05822a5bb1aaea046/openweathermap_requests-0.0.5.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "b0d6813c4813223fc8fa870e28cfc38d",
"sha256": "721290a416a44a8d6308b9fa3a4cd4d4255c792ad5df1279943953c190fc95d0"
},
"downloads": -1,
"filename": "openweathermap_requests-0.0.5-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "b0d6813c4813223fc8fa870e28cfc38d",
"packagetype": "bdist_wheel",
"python_version": "2.7",
"requires_python": null,
"size": 8533,
"upload_time": "2015-06-22T20:37:53",
"url": "https://files.pythonhosted.org/packages/74/25/f2aa31e6895cf45cf33105e056e6c1174d8a1c66abeff400f11fb53b25b5/openweathermap_requests-0.0.5-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "d10e1183c8f4422f5f55d1c2d43fe431",
"sha256": "f81350e72eda058ffbf5ab99623cf810f44632c0fa6b205945c509c57af90620"
},
"downloads": -1,
"filename": "openweathermap_requests-0.0.5.tar.gz",
"has_sig": false,
"md5_digest": "d10e1183c8f4422f5f55d1c2d43fe431",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6415,
"upload_time": "2015-06-22T20:37:49",
"url": "https://files.pythonhosted.org/packages/c9/c4/00e9c707349ed99163e62f1f1144bdadf74f4b3ae0a05822a5bb1aaea046/openweathermap_requests-0.0.5.tar.gz"
}
]
}