Skip to content

FastAPI backend that evaluates apartment prices from CSV comps, returning KPIs, fair range, and long-term trends.

Notifications You must be signed in to change notification settings

ohad2406/real_estate_backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏠 Real Estate Valuation API (CSV-based)

Small FastAPI backend that evaluates an apartment's asking price using recent comparable sales and long-term trends.
Data source (for now): a local CSV at data/transactions.csv (synthetic/dev).

✨ What it does

  • Filters comparable sales in the same city + neighborhood, exact rooms, and ±8% size tolerance.
  • Computes a fair price per sqm from the last 2 years and classifies asking price as cheap / fair / expensive with a ±4% band.
  • Returns recent KPIs (avg/min/max), long-term bucketed means (~2-year windows across ~10 years), and sales volume of the last 5 years.

🗂 Project layout

🧰 Prerequisites

  • Python 3.10+ (tested on macOS)
  • CSV at data/transactions.csv (already provided)

📦 Install

python3 -m pip install -r requirements.txt

About

FastAPI backend that evaluates apartment prices from CSV comps, returning KPIs, fair range, and long-term trends.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages