Skip to main content

⛅ weatherly

Weatherly license Weatherly version on PyPI Supported Python versions Project status Build status

Weatherly is a simple package that retrieves weather data from WeatherAPI.com. It provides an easy to use interface to access current and historical weather data for a specific location.

Features

  • Easy to use,

  • Intuitive design,

  • Can provide current weather data aswell as forecast, historical data, future predictions and even more!

  • Modern and typed Python package,

  • Support for languages (provided by WeatherAPI)

Installing

To install weatherly on your computer Python 3.10 or higher is required. If your python version meets the requirements run:

# Windows
py -3 -m pip install -U weatherly

# MacOS / Linux
python3 -m pip install -U weatherly

Congratulations! Now weatherly is ready to use on your machine.

Code example

import weatherly

client = weatherly.Client(api_key="your WeatherAPI key")
# you can set language to all requests, or pass it manually
client.set_language("fr")     # lang code
client.set_language("German") # language full name

# getting weather info
current_weather = client.get_current_weather(query="London")

# getting forecast info
forecast = client.get_forecast_data(query="Paris", days=3)

# historical data
history = client.get_historical_data(query="48.8567,2.3508", date="2010-01-01") # query could also be latitude,longitude

# marine data
marine = client.get_marine_data(query="Madrid")

Metadata

Release files for weatherly 0.10.0

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

Source distribution (sdist)

Source distribution for weatherly 0.10.0
File Size Uploaded Provenance Actions
weatherly-0.10.0.tar.gz 21.7 kB Without provenance Details for weatherly-0.10.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for weatherly 0.10.0
File Interpreter ABI Platform Actions
weatherly-0.10.0-py3-none-any.whl Python 3 none any Details for weatherly-0.10.0-py3-none-any.whl

Total release size: 51.0 kB

Release files / weatherly-0.10.0.tar.gz

Download URL weatherly-0.10.0.tar.gz
Size 21.7 kB
Tags Source
SHA-256 checksum
How to use checksums
be74ca5bcb48995e59334942313f7756977cccaa58f6c55347aa791245382496
BLAKE2b-256 checksum
How to use checksums
fe05e46fa322f72ae6f3f14112c1be5f386293a47304cd3c0f0fb63777d32be5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / weatherly-0.10.0-py3-none-any.whl

Download URL weatherly-0.10.0-py3-none-any.whl
Size 29.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cc309139448d013abcc431fc90ac1949d5be091ed9ed3e110406ecea6843309c
BLAKE2b-256 checksum
How to use checksums
60d190e47f9dd7c7b5c7d8f421cdce6c3c8bde01ed8ffc0464b69e16d12fa05f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Security for weatherly 0.10.0

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