Releases: null8626/python-weather
python-weather-1.0.3
python-weather v1.0.3 is here!
changelog:
- revert: added the missing
index
property in theUltraviolet
enum, as specified in #43. - feat: added more helper methods
- doc: improved docstrings of several properties.
python-weather-1.0.2
The following update fixes #35 through #41 and fixes problems with the Ultraviolet
enum with #42.
Special thanks to @xcloudyunx! ❤️
python-weather-1.0.1
The following release ensures that python-weather
is backwards-compatible with Python 3.7! Thank you #40 for notifying me about this.
For the major notable changes in the previous major release, see release v1.0.0.
python-weather-1.0.0
After over six months, python-weather v1.0.0 is here! 🥳
This means that the library is now marked as 5 - Production/Stable
! The primary feature added to this release is Locale support!! examples are:
client = python_weather.Client(locale=python_weather.Locale.ENGLISH)
or
await client.get("...", locale=python_weather.Locale.ENGLISH)
Other than that, i've also added tests to that ensure EVERY property of every object works as intended, proper docstrings, formatted code with yapf
, and other several breaking changes! Make sure to read the README.md for more details.
Thank you all for supporting python-weather
! ❤️
python-weather-0.4.3
A minor python-weather update that addresses the issues in #33. The HourlyForecast#time
property should be returning a datetime time
object instead of a raw API int
.
python-weather-0.4.2
After nearly a month of me being busy, python-weather
v0.4.2 is here!
- [BREAKING] refactor: for consistency,
DailyForecast#average_temperature
is renamed toDailyForecast#temperature
- fix: #30
- fix:
Weather#location
should not returnNone
now, and should returnfloat
s insead ofint
s. (making it consistent to the type-hint) - perf: remove unused
__slots__
tuple member in theBaseForecast
abstract class - meta: removed my email from
setup.py
. please don't report bugs or ask questions in my email, it's not because i am annoyed by them, but because i very rarely check my email and chances are your email might get buried. if you want to report bugs or ask questions, please leave them in the issues tab.
python-weather-0.4.1
python-weather-0.4.0
An IMPORTANT and BREAKING update to python-weather
is here!
The most significant change is the shift from using the MSN API to wttr.in
, since Microsoft retired their API a few months ago (see #25), this means everything has to be rewritten, which means lots of breaking changes. Sorry!
Other changes include async with
support for the Client so you don't have to call await client.close()
every time you use it, fixed Dependabot Alerts, and minor changes to the README (#24)
python-weather-0.3.8
After nearly 8 months, i've decided to go back to maintain this project again.
Changelog for 0.3.8:
- Removed the CLI feature. This also removes the
halo
dependency. - Removed the caching feature. Responses are now no longer cached.
- Fixed a potential NameError bug.
- Added GitHub releases to test the example.
- Updated
example.py
with a fix for Windows systems
python-weather-0.3.7
Fixed a bug that remained undetected for four months.
HTTPException
now derives fromException
class.- Calling
__repr__
on aHTTPException
object should work. - Added
__slots__
to the class definition forHTTPException
, which should save occupied memory space.