{ "info": { "author": "numbbbbb", "author_email": "lj925184928@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "ChinaWeather\n===========\n* \u901a\u8fc7 BeautifulSoup \u89e3\u6790\u4e2d\u56fd\u6c14\u8c61\u7f51\u4e0a\u7684\u6570\u636e\n* \u53ea\u652f\u6301Python2\n\n\n\u5b89\u88c5\n===========\n\n $ sudo pip install ChinaWeather\n\n\n\u4f9d\u8d56\n===========\nBeautifulSoup\n\n\n\u652f\u6301\u57ce\u5e02\u5217\u8868\n===========\n* [\u6240\u6709\u57ce\u5e02](http://wap.weather.gov.cn/forecast/AAH/index.html)\n\n\n\u4f7f\u7528\u65b9\u6cd5\n===========\n\u9996\u5148\u83b7\u53d6\u57ce\u5e02\u5929\u6c14\u7684\u7f51\u5740\uff0c\u65b9\u6cd5\u662f\u5728[\u6240\u6709\u57ce\u5e02](http://wap.weather.gov.cn/forecast/AAH/index.html)\u4e2d\u627e\u5230\u5177\u4f53\u7684\u57ce\u5e02\uff0c\u6ce8\u610f\u5148\u9009\u7701\u518d\u9009\u5e02\uff0c\u4e00\u5b9a\u8981\u5177\u4f53\u5230\u5e02\uff0c\u786e\u5b9a\u7f51\u9875\u4e0a\u663e\u793a\u7684\u662f\u8be5\u5e02\u7684\u6c14\u8c61\u4fe1\u606f\uff0c\u7136\u540e\u590d\u5236\u7f51\u7ad9\u3002\n\n >>> import ChinaWeather\n >>> print ChinaWeather.get('http://wap.weather.gov.cn/forecast/AAH/hefei.html')[u'\u5929\u6c14'] # \u6ce8\u610f\u8f93\u5165\u662f\u521a\u624d\u590d\u5236\u7684\u7f51\u5740\n \u591a\u4e91\n >>> print ChinaWeather.get('http://wap.weather.gov.cn/forecast/AAH/hefei.html')[u'\u6c14\u538b']\n 1021hPa\n\n\n\u8fd4\u56de\u503c\u7ed3\u6784\n===========\n* \u5929\u6c14 \u2014\u2014 \u5b57\u7b26\u4e32\uff1b\u5f53\u524d\u5929\u6c14\n* \u6c14\u538b \u2014\u2014 \u5b57\u7b26\u4e32\uff1a\u5f53\u524d\u6c14\u538b\n* \u6700\u65b0\u5b9e\u51b5 \u2014\u2014 \u5b57\u7b26\u4e32\uff1b\u66f4\u65b0\u65f6\u95f4\n* \u6e29\u5ea6 \u2014\u2014 \u5b57\u7b26\u4e32\uff1b\u6e29\u5ea6\n* \u4f53\u611f\u6e29\u5ea6 \u2014\u2014 \u5b57\u7b26\u4e32\uff1b\u4f53\u611f\u6e29\u5ea6\n* \u8212\u9002\u611f \u2014\u2014 \u5b57\u7b26\u4e32\uff1b\u8212\u9002\u611f\n* \u98ce\u5411 \u2014\u2014 \u5b57\u7b26\u4e32\uff1b\u98ce\u5411\u548c\u98ce\u529b\n* \u76f8\u5bf9\u6e7f\u5ea6 \u2014\u2014 \u5b57\u7b26\u4e32\uff1b\u76f8\u5bf9\u6e7f\u5ea6\n\n\n\u534f\u8bae\n===========\n\u57fa\u4e8e[WTFPL](http://en.wikipedia.org/wiki/WTFPL)\u534f\u8bae\u5f00\u6e90\u3002", "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/numbbbbb/ChinaWeather", "keywords": null, "license": "WTFPL", "maintainer": null, "maintainer_email": null, "name": "ChinaWeather", "package_url": "https://pypi.org/project/ChinaWeather/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ChinaWeather/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/numbbbbb/ChinaWeather" }, "release_url": "https://pypi.org/project/ChinaWeather/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "\u5b9e\u65f6\u83b7\u53d6\u57ce\u5e02\u7684\u8be6\u7ec6\u6c14\u8c61\u6570\u636e", "version": "0.1.0" }, "last_serial": 1024557, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "8f21649d75baab0b646dc4d6977a5a5c", "sha256": "424048029fb9bfd6537688c56b864ae48596af2a196f79730ab19259a735db62" }, "downloads": -1, "filename": "ChinaWeather-0.1.0.tar.gz", "has_sig": false, "md5_digest": "8f21649d75baab0b646dc4d6977a5a5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2409, "upload_time": "2014-03-10T06:54:52", "url": "https://files.pythonhosted.org/packages/f4/0b/c6c31eb0dd82c79f17f97447d487420083a6808765853f29e155dd8d8712/ChinaWeather-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8f21649d75baab0b646dc4d6977a5a5c", "sha256": "424048029fb9bfd6537688c56b864ae48596af2a196f79730ab19259a735db62" }, "downloads": -1, "filename": "ChinaWeather-0.1.0.tar.gz", "has_sig": false, "md5_digest": "8f21649d75baab0b646dc4d6977a5a5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2409, "upload_time": "2014-03-10T06:54:52", "url": "https://files.pythonhosted.org/packages/f4/0b/c6c31eb0dd82c79f17f97447d487420083a6808765853f29e155dd8d8712/ChinaWeather-0.1.0.tar.gz" } ] }