How tirupathic/realestate-analysis works
This Flask application helps people research California housing markets: users search historical prices by ZIP, city, or county, or find active listings through links to external platforms. Supporting branches include location suggestions, county and Bay Area directories, and builder, lender, crime, and school resources. Historical trends are calculated from local Zillow CSV data. Separate listing-data modules provide API and CSV-backed capabilities, but the excerpts do not show them wired into the app’s direct-link search flow; those connections are therefore not inferred.
Main entry points: app.py Flask app · hybrid_data.py Hybrid listings · price_trends.py Trend analysis · realty_api.py Realty API client
Components 19
Web experience
- Flask app
app.py - Trends page
templates/trends.html - Listings page
templates/active_listings.html - Location suggestions
app.py
Market research
- Trend analysis
scripts/data_sources/price_trends.py - Zillow history data
data - County directory
templates/counties.html - Bay Area directory
templates/bayarea.html
Homebuyer resources
- Builder directory
templates/builders.html - Lender directory
templates/lenders.html - Crime and schools
templates/property.html
Listing data sources
- Hybrid listings
scripts/data_sources/hybrid_data.py - Realtor API
scripts/data_sources/realtor_api.py - CSV listings
scripts/data_sources/csv_data.py - Realty API client
scripts/data_sources/realty_api.py - API response cache
scripts/data_sources/cache.py - Apify Zillow
scripts/data_sources/apify_zillow.py
Other components
- Home seeker
- Listing platforms
Connections 17
- Home seeker → Flask app: requests pages
README.md - Flask app → Trend analysis: loads trends
app.py - Trend analysis → Zillow history data: reads history
README.md - Flask app → Trends page: renders trends
app.py - Flask app → Listings page: renders listings
app.py - Flask app → Listing platforms: builds search links
app.py - Home seeker → Location suggestions: enters location
README.md - Flask app → Location suggestions: ranks matches
app.py - Home seeker → County directory: browses counties
README.md - Home seeker → Bay Area directory: browses Bay Area
README.md - Home seeker → Builder directory: browses builders
README.md - Home seeker → Lender directory: browses lenders
README.md - Home seeker → Crime and schools: opens resources
README.md - Hybrid listings → Realtor API: tries API
scripts/data_sources/hybrid_data.py - Hybrid listings → CSV listings: falls back
scripts/data_sources/hybrid_data.py - Realty API client → API response cache: reads and writes
scripts/data_sources/realty_api.py - Home seeker → Apify Zillow: optional scraper use
README.md