{ "info": { "author": "Egor Dunaev", "author_email": "egodunaev@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# GisMeteoScraper\n\nThis is a python web scraper for [gismeteo](https://www.gismeteo.com/), it scrapes all html content from webpage.\n\n\n### Requirements\n\nGisMeteoScraper uses libraries such as:\n* requests\n* bs4 (BeautifulSoup4)\n\nGisMeteoScraper is also built on `python 3.7.3`\n\n### Usage example\n\n from scraper import GisMeteoScraper\n \n gis = GisMeteoScraper(\"link to gismeteo with town\")\n weather = gis.scrape_info()\n\n\n### Output\nGisMeteoScraper's `scrape_info()` outputs `dict()` object, which contains weather on each timeslot `as int()` *(like 0, or 21)*, for example:\n\n timeslot: \n {'gm_activity': {\n\t\t 'description': '', \n\t\t 'value': },\n 'humidity': '',\n 'id': ,\n 'moon': {'description': '',\n 'sunrise': '',\n 'sunset': '',\n 'title': ''},\n 'percipitation': '',\n 'percipitation_in_radius': '',\n 'pressure': {\n\t\t 'h_pa': '', \n\t\t 'in_hg': '', \n\t\t 'mm_hg_atm': ''},\n 'road_condition': '',\n 'sun': {\n\t\t 'description': '',\n 'sunrise': '',\n 'sunset': '',\n 'title': ''},\n 'temperature': {\n\t\t 'celsius': '', \n\t\t 'fahrenheit': ''},\n 'uvb_index': {\n\t\t 'description': '', \n\t\t 'value': },\n 'visibility': '',\n 'wind': {'direction': '',\n 'gust': {\n\t\t 'km/h': '', \n\t\t 'm/s': '', \n\t\t 'mi/h': ''},\n 'speed': {\n\t\t 'km/h': '', \n\t\t 'm/s': '', \n\t\t 'mi/h': ''}}},\n\nNote:\n> Description values *like `humidity[description]`* may contain text according to your region.\n> For example `SW` (South-West) in English -> `\u0420\u00ae\u0420\u2019` (\u0420\u00ae\u0420\u0456\u0420\u0455-\u0420\u2019\u0420\u0455\u0421\u0403\u0421\u201a\u0420\u0455\u0420\u0454) in Russian, and so on.\n\nBut sometimes some field may have `No data` in them. That's probably because [gismeteo](https://www.gismeteo.com/) didn't show this field, or it was empty. Also, returning `dict()` may contain `_error` field if there was any.\n\nIf you have any questions or issues, you can see all issues [here](https://github.com/egordunaev/gismeteo-scraper/issues), alternatively you can [create a new issue](https://github.com/egordunaev/gismeteo-scraper/issues/new)", "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/egordunaev/gismeteo-scraper", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "gismeteoscraper", "package_url": "https://pypi.org/project/gismeteoscraper/", "platform": "", "project_url": "https://pypi.org/project/gismeteoscraper/", "project_urls": { "Homepage": "https://github.com/egordunaev/gismeteo-scraper" }, "release_url": "https://pypi.org/project/gismeteoscraper/0.0.3/", "requires_dist": null, "requires_python": ">=3.6", "summary": "A simple web scraper for gismeteo.com", "version": "0.0.3" }, "last_serial": 5824606, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "17a189357de0e483d187432ea5e33e36", "sha256": "ac98a3c25200d8b8fde190f2cdbc596eaf42599ee3f03c47fae4e90c0fa24691" }, "downloads": -1, "filename": "gismeteoscraper-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "17a189357de0e483d187432ea5e33e36", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 2973, "upload_time": "2019-09-09T15:33:09", "url": "https://files.pythonhosted.org/packages/30/35/f894d18cf2c2d55bbed30dd3af95e20f70cab795873ce62cf6b33d8ef0a5/gismeteoscraper-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3227503bc8a027bfb344390b48047ddf", "sha256": "17a66686e866056e148683caafd5b44528821b34b13c7099693da6b474c034f5" }, "downloads": -1, "filename": "gismeteoscraper-0.0.2.tar.gz", "has_sig": false, "md5_digest": "3227503bc8a027bfb344390b48047ddf", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 2214, "upload_time": "2019-09-09T15:33:13", "url": "https://files.pythonhosted.org/packages/17/9d/1b7e5aa551faf955ea77bf73b954d5bcc44687407ad87f43c485a8cfccd2/gismeteoscraper-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "88d3250ecd961ede4cf03ebbd9295691", "sha256": "0012f7ecf6ee67fb51a66efc02157ab29882a3dd8605b7db2cfb6c7cd0f608d6" }, "downloads": -1, "filename": "gismeteoscraper-0.0.3.tar.gz", "has_sig": false, "md5_digest": "88d3250ecd961ede4cf03ebbd9295691", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 2216, "upload_time": "2019-09-13T09:07:38", "url": "https://files.pythonhosted.org/packages/ef/a6/c207ac221099ffbacbb83b49b666ea01058a510fde32d17327a2131d1b73/gismeteoscraper-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "88d3250ecd961ede4cf03ebbd9295691", "sha256": "0012f7ecf6ee67fb51a66efc02157ab29882a3dd8605b7db2cfb6c7cd0f608d6" }, "downloads": -1, "filename": "gismeteoscraper-0.0.3.tar.gz", "has_sig": false, "md5_digest": "88d3250ecd961ede4cf03ebbd9295691", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 2216, "upload_time": "2019-09-13T09:07:38", "url": "https://files.pythonhosted.org/packages/ef/a6/c207ac221099ffbacbb83b49b666ea01058a510fde32d17327a2131d1b73/gismeteoscraper-0.0.3.tar.gz" } ] }