PySchoolClock: The Python School Alarm Clock

By Matthew Groat


Setting the Clock

1: Finding your closings listings

This is the most important part of getting the alarm clock set up. You can find the listings for your city by doing a search for {your city} school closings. Once you've found your listings, run clock-gui.py (or clock-gui.exe if you're running Windows) and paste the URL you found into the field labeled Closings URL.

1.1: Testing

It is a good idea to test the listings that you just found. The easiest way to do this is to open a command line and run clock.py -z 0 -s {The name of any school that is currently closed} -u {the url you just found} (Windows users should replace clock.py with clock.exe). If everything is working properly, you should get several lines of text, including one that says No school today, enjoy the snow. If not, try a different listings page.

2: Your school name

In the field labeled School Name enter the name of your school exactly as it will appear on your listings page.

3: Alarm time

You can change your alarm time by using the fields labeled Alarm Time.

4: Snooze time

The snooze time is the number of extra minutes you get to sleep if your school is closed.

5: Running

Once you have all of your settings right all you have to do is click Set Alarm and leave the program running.

License

This program is licensed under version 3 of the GNU General Public License.

Music

The two included music tracks are Fixing My Brain by Brad Sucks and Snow by Cynical Sense. Fixing My Brain is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 2.5 Generic License and Snow is under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.