{"id":13773439,"url":"https://github.com/csparpa/pyowm","last_synced_at":"2026-02-19T08:02:12.252Z","repository":{"id":10387085,"uuid":"12535703","full_name":"csparpa/pyowm","owner":"csparpa","description":"A Python wrapper around the OpenWeatherMap web API","archived":false,"fork":false,"pushed_at":"2025-08-27T06:59:13.000Z","size":35441,"stargazers_count":815,"open_issues_count":26,"forks_count":176,"subscribers_count":34,"default_branch":"master","last_synced_at":"2025-12-21T17:02:28.310Z","etag":null,"topics":["api","api-client","openweathermap","openweathermap-api","owm","pyowm","python","python-wrapper"],"latest_commit_sha":null,"homepage":"https://pyowm.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/csparpa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"docs/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2013-09-02T08:43:51.000Z","updated_at":"2025-12-19T07:42:23.000Z","dependencies_parsed_at":"2024-01-16T05:18:56.033Z","dependency_job_id":"5792545b-8b87-4816-af70-899528543506","html_url":"https://github.com/csparpa/pyowm","commit_stats":{"total_commits":925,"total_committers":34,"mean_commits":"27.205882352941178","dds":0.2875675675675675,"last_synced_commit":"51d669a3f2de339d053bdc2460bfed7e5b33a083"},"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/csparpa/pyowm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csparpa%2Fpyowm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csparpa%2Fpyowm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csparpa%2Fpyowm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csparpa%2Fpyowm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csparpa","download_url":"https://codeload.github.com/csparpa/pyowm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csparpa%2Fpyowm/sbom","scorecard":{"id":311122,"data":{"date":"2025-08-11","repo":{"name":"github.com/csparpa/pyowm","commit":"334d04ae9bbb43689b586ee7a347098e05c1e8e1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.1,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":4,"reason":"Found 3/7 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: pipCommand not pinned by hash: scripts/update-pipfilelock.sh:9","Warn: pipCommand not pinned by hash: tests/local_installation_test.sh:15","Warn: pipCommand not pinned by hash: tests/local_installation_test.sh:16","Warn: pipCommand not pinned by hash: tests/pypi_installation_test.sh:8","Info:   0 out of   4 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"32 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-230 / GHSA-248v-346w-9cwc","Warn: Project is vulnerable to: PYSEC-2023-135 / GHSA-xqr8-7jwr-rhp7","Warn: Project is vulnerable to: GHSA-79v4-65xg-pq4g","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: GHSA-cpwx-vrp4-4pq7","Warn: Project is vulnerable to: GHSA-gmj6-6f8f-6699","Warn: Project is vulnerable to: GHSA-h5c8-rqwp-cp95","Warn: Project is vulnerable to: GHSA-h75v-3vvj-5mfj","Warn: Project is vulnerable to: GHSA-q2x7-8rv6-6q7h","Warn: Project is vulnerable to: PYSEC-2022-42969","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f","Warn: Project is vulnerable to: GHSA-48p4-8xcf-vxj5","Warn: Project is vulnerable to: PYSEC-2024-187 / GHSA-rqc4-2hc7-8c8v","Warn: Project is vulnerable to: PYSEC-2019-217 / GHSA-462w-v97r-4m45","Warn: Project is vulnerable to: PYSEC-2014-8 / GHSA-8r7q-cvjq-x353","Warn: Project is vulnerable to: PYSEC-2014-82 / GHSA-fqh9-2qgg-h84h","Warn: Project is vulnerable to: PYSEC-2021-66 / GHSA-g3rq-g295-4j3m","Warn: Project is vulnerable to: PYSEC-2019-220 / GHSA-hj2j-77xm-mc5v","Warn: Project is vulnerable to: PYSEC-2021-437 / GHSA-5xp3-jfq3-5q8x","Warn: Project is vulnerable to: PYSEC-2020-173 / GHSA-gpvv-69j7-gwj8","Warn: Project is vulnerable to: PYSEC-2023-228 / GHSA-mq26-g339-26xf","Warn: Project is vulnerable to: PYSEC-2011-23 / GHSA-3jhc-wjqf-5f2c","Warn: Project is vulnerable to: PYSEC-2014-14 / GHSA-652x-xj99-gmcc","Warn: Project is vulnerable to: PYSEC-2014-13 / GHSA-cfj3-7x9c-4p3h","Warn: Project is vulnerable to: PYSEC-2018-28 / GHSA-x84v-xcm2-53pg","Warn: Project is vulnerable to: PYSEC-2015-17","Warn: Project is vulnerable to: PYSEC-2023-74"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T23:11:48.897Z","repository_id":10387085,"created_at":"2025-08-17T23:11:48.897Z","updated_at":"2025-08-17T23:11:48.897Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29608152,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T06:47:36.664Z","status":"ssl_error","status_checked_at":"2026-02-19T06:45:47.551Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","api-client","openweathermap","openweathermap-api","owm","pyowm","python","python-wrapper"],"created_at":"2024-08-03T17:01:15.654Z","updated_at":"2026-02-19T08:02:12.235Z","avatar_url":"https://github.com/csparpa.png","language":"Python","readme":"[![logo](https://raw.githubusercontent.com/csparpa/pyowm/master/logos/180x180.png)](https://github.com/csparpa)\n\n#  PyOWM  \n**A Python wrapper around OpenWeatherMap web APIs**\n\n[![PyPI version](https://badge.fury.io/py/pyowm.svg)](https://badge.fury.io/py/pyowm)\n[![PyPI - Downloads](https://img.shields.io/pypi/dm/pyowm.svg)](https://img.shields.io/pypi/dm/pyowm.svg)\n\u003cbr\u003e\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyowm.svg)](https://img.shields.io/pypi/pyversions/pyowm.svg)\n\u003cbr\u003e\n[![Latest Release Documentation](https://readthedocs.org/projects/pyowm/badge/?version=latest)](https://pyowm.readthedocs.io/en/latest/)\n[![Build Status](https://travis-ci.org/csparpa/pyowm.png?branch=develop)](https://travis-ci.org/csparpa/pyowm)\n[![Coverage Status](https://coveralls.io/repos/github/csparpa/pyowm/badge.svg?branch=develop)](https://coveralls.io/github/csparpa/pyowm?branch=master)\n\u003cbr\u003e\n\u003ca href=\"https://www.buymeacoffee.com/LmAl1n9\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/black_img.png\" alt=\"Buy Me A Coffee\" style=\"height: auto !important;width: auto !important;\" \u003e\u003c/a\u003e\n[![Say Thanks!](https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg)](https://saythanks.io/to/csparpa%40gmail.com)\n\n##  What is it?\nPyOWM is a client Python wrapper library for OpenWeatherMap (OWM) web APIs. It allows quick and easy consumption of OWM data from Python applications via a simple object model and in a human-friendly fashion.\n\nPyOWM runs on Python 3.9+\n\n**Former Dark Sky API users**: you can can use PyOWM to get [OpenWeatherMap's OneCall API](https://openweathermap.org/api/one-call-api) data as an easy replacement to Dark Sky\n\n### What kind of data can I get with PyOWM ?\nWith PyOWM you can integrate into your code any of the following OpenWeatherMap web APIs:\n\n - **Weather API v3.0** + **OneCall API**, providing current weather data, weather forecasts, weather history\n - **Agro API v1.0**, providing soil data and satellite imagery search and download\n - **Air Pollution API v3.0**, providing data about CO, O3, NO2 and SO2\n - **UV Index API v3.0**, providing data about Ultraviolet exposition\n - **Stations API v3.0**, allowing to create and manage meteostation and publish local weather measurements\n - **Weather Alerts API v3.0**, allowing to set triggers on weather conditions and areas and poll for spawned alerts\n - **Image tiles** for several map layers provided by OWM\n - **Geocoding API v1.0** allowing to perform direct/reverse geocoding \n\n\n## In case of trouble...\nPlease **read the [FAQ](https://pyowm.readthedocs.io/en/latest/v3/faq.html)** before filing a new issue on GitHub! There are many common issues, therefore a fix for your issue might come easier than you think\n\n ##  Get started\n\n### API key\n\nAs OpenWeatherMap APIs need a valid API key to allow responses, *PyOWM won't work if you don't provide one*. This stands for both free and paid (pro) subscription plans.\nYou can signup for a free API key [on the OWM website](https://home.openweathermap.org/users/sign_up)\nPlease notice that the free API subscription plan is subject to requests throttling.\n\n### Example\n\nWith a free OWM API Key:\n\n```python\nfrom pyowm import OWM\nfrom pyowm.utils import config\nfrom pyowm.utils import timestamps\n\n# ---------- FREE API KEY examples ---------------------\n\nowm = OWM('your free OWM API key')\nmgr = owm.weather_manager()\n\n\n# Search for current weather in London (Great Britain) and get details\nobservation = mgr.weather_at_place('London,GB')\nw = observation.weather\n\nw.detailed_status         # 'clouds'\nw.wind()                  # {'speed': 4.6, 'deg': 330}\nw.humidity                # 87\nw.temperature('celsius')  # {'temp_max': 10.5, 'temp': 9.7, 'temp_min': 9.0}\nw.rain                    # {}\nw.heat_index              # None\nw.clouds                  # 75\n\n# Will it be clear tomorrow at this time in Milan (Italy) ?\nforecast = mgr.forecast_at_place('Milan,IT', 'daily')\nanswer = forecast.will_be_clear_at(timestamps.tomorrow())\n\n# ---------- PAID API KEY example ---------------------\n\nconfig_dict = config.get_default_config_for_subscription_type('professional')\nowm = OWM('your paid OWM API key', config_dict)\n\n# What's the current humidity in Berlin (Germany) ?\none_call_object = mgr.one_call(lat=52.5244, lon=13.4105)\none_call_object.current.humidity\n```\n\n\n##  Installation\nInstall with `pip` for your ease:\n\n```shell\n$ pip install pyowm\n```\n\nThere are alternatives: _setuptools_, _Windows installers_ and common Linux package managers such as _Yaourt (Arch Linux)_\n_YaST/Zypper (OpenSuse)_ (please refer to the documentation for more detail)\n\nEager to fetch the very latest updates to PyOWM? Install the development trunk (which might be unstable). Eg on Linux:\n\n```shell\n$ git clone https://github.com/csparpa/pyowm.git\n$ cd pyowm \u0026\u0026 git checkout develop\n$ pip install -r requirements.txt \u0026\u0026 python setup.py install\n```\n\n## Documentation\nThe library software API documentation is available on [Read the Docs](https://pyowm.readthedocs.io/en/latest/).\n\nThe [Code recipes](https://pyowm.readthedocs.io/en/latest/v3/code-recipes.html) section comes in handy!\n\n\n## Community \u0026 Contributing\n\nHere are [some cool projects](https://github.com/csparpa/pyowm/wiki/Community-Projects-using-PyOWM) that use PyOWM\n\n_Contributors (coding, testing, packaging, reporting issues) are welcome!_ See the [the official documentation website](https://pyowm.readthedocs.io/) for details.\n\n\n## License\n[MIT license](https://github.com/csparpa/pyowm/blob/master/LICENSE)\n","funding_links":["https://www.buymeacoffee.com/LmAl1n9"],"categories":["Python","Libraries","Software"],"sub_categories":["Climate"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsparpa%2Fpyowm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsparpa%2Fpyowm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsparpa%2Fpyowm/lists"}