Skip to content

PyWeather 0.5 beta (The Back to the Future Update)

Pre-release
Pre-release
Compare
Choose a tag to compare
@o355 o355 released this 31 Mar 16:02
· 750 commits to master since this release

PyWeather 0.5 beta is by far the biggest release yet. After 3 weeks of solid work, there's a ton of features and bug fixes. Here's what I added.

Oh, and the release name is a combo for the fact that I added historical information "The Back", and 10-day hourly information "the Future". Get it? I'm sorry.

Here's the new features that got added:

  • Added historical weather information to PyWeather - You can now view a summary of a day, and the detailed hourly information.
  • Added 10-day hourly weather information to PyWeather.
  • Adds the output of raw tracebacks in PyWeather - It'll help for reporting issues, and if you understand the Python interpreter, help you.
  • Adds a method in which PyWeather will show rain/snow data on the detailed forecast, depending on the temperature for the day/night.
  • Reworks the configuration file entirely, so things are more organized.
  • Adds the ability to turn off the "enter to continue" prompt when viewing detailed information.
  • Adds the ability to set the interval of iterations between the "enter to continue" prompt when viewing detailed information (that requires the "enter to continue")
  • Adds the ability to show how many iterations PyWeather has gone through when viewing detailed information.
  • Adds the option to view the release tag in the PyWeather updater, for those using git checkout.
  • Makes the verbosity code much more lighter (on code lines), by removing the conditional for each verbosity statement, in the setup script.
  • Adds all the verbosity for all the new functions. It's now a standard for everything rolling forward.
  • Adds verbosity information for loaded configuration variables.
  • Made some minor UI changes.

And, while I was at it, some bugs got fixed!

  • Fixed a bug in which if the config file wouldn't load, PyWeather wouldn't load (the checking for updates on boot variable was undefined)
  • Fixed a bug in which if the updater at boot couldn't contact GitHub, it'd still try and parse the non-existent updater information.
  • Fixed a bug in which if exceptions occurred while attempting to fetch the almanac JSON, the exception wouldn't get caught.
  • Fixed a (probably intentional) bug in which if astronomy data couldn't be fetched (when viewing detailed information, and when it wasn't prefetched), PyWeather would completely exit.
  • Fixed a bug in which the setup script wouldn't start. Why? Copy + pasting is great, but it can really screw you up if you don't debug.
  • Fixed a bug in which if the config file wouldn't load, the sunrise/sunset data would get shown.

To update, you can use the PyWeather updater. With Git? git pull, git checkout 0.5-beta.

As always, with such a big release, if any bugs appear, report them! Subsequent 0.5.x releases are on the release bandwagon, and should all be done by late April. 0.6.x will be the last of the beta releases, before we hit full on 1.x releases somewhere around June-July 2017.

Oh, and hey! PyWeather is close to hitting 2,000 lines (well..the main script), and pyweather.py is now <100 KB! Hurray!

And, no! This release is not an April Fools joke. The timing was bad. Enjoy 0.5 beta!