pywttr


Namepywttr JSON
Version 4.0.0 PyPI version JSON
download
home_pageNone
SummaryWrapper for wttr.in weather API
upload_time2024-12-12 09:32:31
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseMIT
keywords forecast
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # pywttr

[![CI](https://github.com/monosans/pywttr/actions/workflows/ci.yml/badge.svg)](https://github.com/monosans/pywttr/actions/workflows/ci.yml)
[![Downloads](https://static.pepy.tech/badge/pywttr)](https://pepy.tech/project/pywttr)

Wrapper for [wttr.in](https://wttr.in) weather API.

Asynchronous version [here](https://github.com/monosans/aiopywttr).

## Installation

```bash
pip install -U pywttr pywttr-models
```

## Documentation

<https://pywttr.readthedocs.io>

## Simple example

```python
with pywttr.Wttr() as wttr:
    weather = wttr.weather("Paris", language=pywttr.Language.EN)
print(weather.weather[0].avgtemp_c)
```

## License

[MIT](https://github.com/monosans/pywttr/blob/main/LICENSE)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pywttr",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "forecast",
    "author": null,
    "author_email": "monosans <hsyqixco@protonmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/c1/41/485f16754a638e6a9276b65147c95d5fdbd9a46b3717f9a9667f0999c2a6/pywttr-4.0.0.tar.gz",
    "platform": null,
    "description": "# pywttr\n\n[![CI](https://github.com/monosans/pywttr/actions/workflows/ci.yml/badge.svg)](https://github.com/monosans/pywttr/actions/workflows/ci.yml)\n[![Downloads](https://static.pepy.tech/badge/pywttr)](https://pepy.tech/project/pywttr)\n\nWrapper for [wttr.in](https://wttr.in) weather API.\n\nAsynchronous version [here](https://github.com/monosans/aiopywttr).\n\n## Installation\n\n```bash\npip install -U pywttr pywttr-models\n```\n\n## Documentation\n\n<https://pywttr.readthedocs.io>\n\n## Simple example\n\n```python\nwith pywttr.Wttr() as wttr:\n    weather = wttr.weather(\"Paris\", language=pywttr.Language.EN)\nprint(weather.weather[0].avgtemp_c)\n```\n\n## License\n\n[MIT](https://github.com/monosans/pywttr/blob/main/LICENSE)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Wrapper for wttr.in weather API",
    "version": "4.0.0",
    "project_urls": {
        "documentation": "https://pywttr.readthedocs.io",
        "repository": "https://github.com/monosans/pywttr"
    },
    "split_keywords": [
        "forecast"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "78e4b7e4704b970718adf4a1d1cf56156c6c578a5fabd87baaaed2af13a12d93",
                "md5": "bcb714c73f15817e088a76912919bb10",
                "sha256": "f1651852e5aa3070289b73d815b7e6bc3c5affd6c8a2e16fa307c2af02907cba"
            },
            "downloads": -1,
            "filename": "pywttr-4.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bcb714c73f15817e088a76912919bb10",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 4556,
            "upload_time": "2024-12-12T09:32:30",
            "upload_time_iso_8601": "2024-12-12T09:32:30.557327Z",
            "url": "https://files.pythonhosted.org/packages/78/e4/b7e4704b970718adf4a1d1cf56156c6c578a5fabd87baaaed2af13a12d93/pywttr-4.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c141485f16754a638e6a9276b65147c95d5fdbd9a46b3717f9a9667f0999c2a6",
                "md5": "908a4cab0ec2f6c480f809f9a32a6546",
                "sha256": "ebdd738a43c72795b8fd7165514d1d128704107cbbcfd39c326f8443b197845c"
            },
            "downloads": -1,
            "filename": "pywttr-4.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "908a4cab0ec2f6c480f809f9a32a6546",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 6603,
            "upload_time": "2024-12-12T09:32:31",
            "upload_time_iso_8601": "2024-12-12T09:32:31.978560Z",
            "url": "https://files.pythonhosted.org/packages/c1/41/485f16754a638e6a9276b65147c95d5fdbd9a46b3717f9a9667f0999c2a6/pywttr-4.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-12 09:32:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "monosans",
    "github_project": "pywttr",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "lcname": "pywttr"
}
        
Elapsed time: 0.83584s