a library for your weathery needs.
Project description
Weather4Py
Github repository of Weather4Py <https://github.com/MintTeaNeko/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.
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.2.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for Weather4Py-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49c14ee56537dc58cc45b95cd26e95f174deb1683ad9ecd3ac16533711ccace2 |
|
MD5 | 1798c3514873a6fd7eb4df6982519c74 |
|
BLAKE2b-256 | d45c7744249a5acd893353fd73ae18d7c1573e76d0288b2a891ac7152f68845d |