A web application that discovers and displays fun events happening in Waltham, MA.
- Scrapes publicly available event listings from 7 local sources
- Stores events in SQLite database with 6-month lookout
- Provides web interface to browse and filter events
- Daily automatic updates via scheduled scraping (6 AM & 6 PM)
- Event categorization and filtering
- Mobile-responsive design
- City of Waltham Official Website - City council meetings, community events, municipal announcements
- Waltham Public Library - Educational programs, book clubs, workshops, family activities
- Charles River Museum of Industry & Innovation - Historical tours, repair cafes, educational workshops, fundraising events
- Brandeis University - Public lectures, art exhibitions, concerts, academic events open to community
- Waltham Recreation Department - Sports leagues, fitness classes, family activities, outdoor programs
- Waltham Common - Farmers market, summer concerts, outdoor fitness, community celebrations
- Eventbrite - Local community events, business workshops, cultural activities
- Meetup - Social groups, hiking clubs, professional networking, hobby groups
- Clone/download this repository
- Navigate to the project directory
- Create a virtual environment:
python3 -m venv .venv - Activate virtual environment:
source .venv/bin/activate - Install dependencies:
pip install -r requirements.txt - Initialize database:
python database.py - Run initial scraping:
python scraper.py - Start the web app:
python app.py - Open browser to
http://localhost:5000
app.py- Flask web applicationscraper.py- Event scraping logicdatabase.py- Database setup and operationsmodels.py- Data modelstemplates/- HTML templatesstatic/- CSS/JS filesrequirements.txt- Python dependencies
The web interface allows you to:
- Browse all upcoming events
- Filter by date range
- Filter by category (family, music, outdoors, etc.)
- View event details and source links
Events are automatically updated twice daily (6 AM and 6 PM) when the scheduler is running.
python scraper.pypython scheduler.pySee DEPLOYMENT.md for systemd service setup and other production options.