{ "info": { "author": "Altertech Group", "author_email": "pr@altertech.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering :: Atmospheric Science" ], "description": "# weatherbroker\nWeather broker for Python\n\nLicense: Apache License 2.0\n\nWarning: Refer to weather provider license about caching, storing and\nredistributing weather information.\n\nProvides current weather information as an unified dict:\n\n* time: monitoring time, unix timestamp\n* lat: latitude\n* lon: longitude\n* clouds (%)\n* temp: temperature\n* hum: humidity (%)\n* pres: pressure\n* wind_spd: wind speed\n* wind_deg: wind degree\n* vis: visibility\n* dewp: dew point\n* uv: UV index\n* icon: icon code (provider specific)\n* description: human readable weather description\n* precip_type: precip type\n* precip_prob: precip probability (%)\n* precip_int: precip intensity\n* sunrise: HH:mm\n* sunset: HH:mm\n\nWeather forecast is not implemented (yet).\n\nNote: some providers may not provide certain data fields, in this case they are\nset to None.\n\nThe module contains providers for:\n\n * openweathermap: https://openweathermap.org/\n * weatherbit: https://www.weatherbit.io/\n * darksky: https://darksky.net/\n \nUsage example:\n \n```python\nfrom weatherbroker import WeatherEngine\n\nw = WeatherEngine()\nw.set_provider('darksky')\nw.key = 'my secret api key'\nw.set_location(lat=50.08804, lon=14.42076)\n\n# the code below sets the same location, but DarkSky supports only coordinates,\n# so we use them instead\n\n# w.set_location(city_id=3067696)\n# w.set_location(city='Prague', country='CZ')\n\n# w.lang = 'cs'\n\nprint(w.get_current())\n```\n\n(c) 2018 Altertech Group, https://www.altertech.com/", "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/alttch/weatherbroker", "keywords": "", "license": "Apache License 2.0", "maintainer": "", "maintainer_email": "", "name": "weatherbroker", "package_url": "https://pypi.org/project/weatherbroker/", "platform": "", "project_url": "https://pypi.org/project/weatherbroker/", "project_urls": { "Homepage": "https://github.com/alttch/weatherbroker" }, "release_url": "https://pypi.org/project/weatherbroker/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "Weather broker for Python", "version": "0.0.2" }, "last_serial": 4318597, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "2bd9beb00ac0406a7564c57f39c3628d", "sha256": "70e4fddb0c36b156ee5ce342f56686dc523373848c2905b0857491181cd5dbda" }, "downloads": -1, "filename": "weatherbroker-0.0.1.tar.gz", "has_sig": false, "md5_digest": "2bd9beb00ac0406a7564c57f39c3628d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4552, "upload_time": "2018-09-24T23:48:04", "url": "https://files.pythonhosted.org/packages/40/ca/ce3ad21881bc7b849ff3e12b25a98bd625d7aa870931ab886d6a168a380f/weatherbroker-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "b05bd7a7bf037d9f00e4df52fa592378", "sha256": "704bc6b2f48fd8f1374a1cbf110ef21b501dbd29d299590f5dfbb57f0fd50015" }, "downloads": -1, "filename": "weatherbroker-0.0.2.tar.gz", "has_sig": false, "md5_digest": "b05bd7a7bf037d9f00e4df52fa592378", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4573, "upload_time": "2018-09-28T03:52:05", "url": "https://files.pythonhosted.org/packages/fc/da/20b5b9f9a4d39c2c3ef0cd9c9f89c1e7382a81c8808af436af64c7edcdf9/weatherbroker-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b05bd7a7bf037d9f00e4df52fa592378", "sha256": "704bc6b2f48fd8f1374a1cbf110ef21b501dbd29d299590f5dfbb57f0fd50015" }, "downloads": -1, "filename": "weatherbroker-0.0.2.tar.gz", "has_sig": false, "md5_digest": "b05bd7a7bf037d9f00e4df52fa592378", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4573, "upload_time": "2018-09-28T03:52:05", "url": "https://files.pythonhosted.org/packages/fc/da/20b5b9f9a4d39c2c3ef0cd9c9f89c1e7382a81c8808af436af64c7edcdf9/weatherbroker-0.0.2.tar.gz" } ] }