Skip to main content

py_weather_cli

py_weather_cli is a Python version implementation of wego which is a weather client for the terminal.

This project is just only for study purpose, please do not use it for business.

screen.png

Dependencies

  • requests
  • click

Installation

pip3 install py_weather_cli

weather_cli -c toronto

Configration

Once you run py_weather_cli after installing, you will get error about OpenWeatherMap account and api key. However the config .weather-cli has been generated in HOME dirctinary. (it might be hidden due to started '.').

  • city_name

    the default city

  • api_key

    OpenWeatherMap api_key

  • lang

    client language

  • num_days

    the number of days of forecast

  • unit

    measure unit, you can specify any of (metric|imperial|si')

Metadata

Release files for py-weather-cli 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-weather-cli 1.0.2
File Size Uploaded Provenance Actions
py_weather_cli-1.0.2.tar.gz 9.5 kB Without provenance Details for py_weather_cli-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py-weather-cli 1.0.2
File Interpreter ABI Platform Actions
py_weather_cli-1.0.2-py2.py3-none-any.whl Python 3, Python 2 none any Details for py_weather_cli-1.0.2-py2.py3-none-any.whl

Total release size: 19.7 kB

Release files / py_weather_cli-1.0.2.tar.gz

Download URL py_weather_cli-1.0.2.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
72233d062ac37b5d36a6dd15bbe7b2f0f0b09c1efc4c5e728f00b5dcacc08cc7
BLAKE2b-256 checksum
How to use checksums
e2964014a891097b83dbda38d914d52885720d23dd8d834201e3d43743920c85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.0

Release files / py_weather_cli-1.0.2-py2.py3-none-any.whl

Download URL py_weather_cli-1.0.2-py2.py3-none-any.whl
Size 10.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0f12ed343af0af7f3514aaac8281c6b5011d375595ecee8652b2139defacd1e9
BLAKE2b-256 checksum
How to use checksums
85aebaf996806c4508a94f1500aa1a3b4cdb97a524b38b70c5ffc7760349bdba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.0

Security for py-weather-cli 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page