Move Python script constants to main library; allow query.py to look up
announcements if a date other than today is requested.