a library for your weathery needs.
Project description
Weather4Py
a weather library for python to get the weather of a location or set of coordinates, with the ability to save to a json.
Github repository for Weather4Py
Here's some examples to how to use the library.
from WeatherPy import WeatherMan
# to get the region of a location
print(WeatherMan("38.8,37.7").region)
# to get the weather of a location
print(WeatherMan("israel").weather)
# to get the temperature of a location
print(WeatherMan("texas").temperature)
# to get the humidity of a location
print(WeatherMan("newyork").humidity)
# to reobtain infromation about a location.
WeatherMan("owo").obtain_information()
# to save the results to a folder in json format
WeatherMan("38.8,37.7").save_to_file("output.json")
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Weather4Py-0.1.3.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for Weather4Py-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de266bfe99b02f5ffc50b49cbb7523c63046e928742cdf3c195f2614761ff9e0 |
|
MD5 | 3354a2128f38f1f6990af3a881118b35 |
|
BLAKE2b-256 | e09f47510800a7543b8bd6db7ddc5f08f602f8404566e7957dafc68267532ef5 |