wrongmove/crawler
2025-06-22 13:04:10 +00:00
..
alembic add user auth boilerplate 2025-06-11 21:08:48 +00:00
api add logger for more strucutred logging in python 2025-06-21 22:38:30 +00:00
data removing decisions from the repo 2025-06-18 00:59:16 +01:00
frontend replace available from component with a nicer search which takes human input 2025-06-21 23:46:19 +00:00
models add support for querying buying listings as well as by max price 2025-06-18 20:38:50 +00:00
proof_of_concept ruff format 2024-03-25 20:48:48 +00:00
rec add tenacity to retry transient blockouts by rightmove 2025-06-08 20:59:04 +00:00
repositories add support for querying buying listings as well as by max price 2025-06-18 20:38:50 +00:00
.dockerignore add dockerignore to ignore frontend as that is built separately 2025-06-16 22:40:36 +00:00
.env.sample parameterize routing logic - extract api key as env var; allow searching dest by address; limit the number of listings to process to prevent accidental api key usage 2025-05-18 21:13:50 +00:00
.style.yapf add readme and .style.yapf for formatting 2025-05-07 20:58:22 +00:00
1_dump_listings.py bugfix - pages start from 1 2025-06-22 13:04:10 +00:00
3_dump_images.py retry transient errors from rightmove when fetching images 2025-06-21 12:06:19 +00:00
4_detect_floorplan.py do 1 attempt to detect sqm from floorplan. if that fails then set to 0 instead of returning none 2025-06-21 12:06:57 +00:00
5_routing.py migrate routing command to use the models and store data there 2025-06-08 11:45:05 +00:00
9_recalculate_regex_squaremeter.py ruff format 2024-03-25 20:48:48 +00:00
91_recalculate_floorplan.py reformat most things 2025-05-07 21:25:40 +00:00
alembic.ini add sqlmodel + alembic + setup models skeleton to slowly enable transition towards a db 2025-06-03 20:01:30 +00:00
csv_exporter.py use query params to filter out models; also make csv exporter work with models 2025-06-08 17:01:33 +00:00
data_access.py bugfix fetching transactions to make use of db cache 2025-06-09 21:45:29 +00:00
database.py add command to dump existing listing from fs to db 2025-06-04 22:03:55 +00:00
Dockerfile add fastapi endpoint + deps + update dockerfile to run service instead 2025-06-11 20:05:26 +00:00
exploration.ipynb remove some empty fields in exploration notebook 2025-05-17 23:24:40 +00:00
GUIDE merging the visual query answering with the crawler. Monorepo go! 2024-03-01 16:42:48 +01:00
logger.py add logger for more strucutred logging in python 2025-06-21 22:38:30 +00:00
main.py add worker api to refresh data in the background 2025-06-21 12:49:04 +00:00
main_tmp.py ruff format 2024-03-25 20:48:48 +00:00
ocr.ipynb notebooks 2025-03-30 23:42:29 +01:00
poetry.lock upgrade some poetry files 2025-06-21 20:10:30 +00:00
pyproject.toml setup fastapi auth using authentik instance 2025-06-14 13:39:37 +00:00
README.md add readme and .style.yapf for formatting 2025-05-07 20:58:22 +00:00
runall.sh some cleanups 2025-06-08 20:58:28 +00:00
TASKS.md adding tasks and updating exploration notebook 2024-04-01 15:10:15 +02:00
ui_exporter.py add api endpoint for geojson data fetching 2025-06-15 12:42:56 +00:00

Setup

pip install -r requirements.txt

Formatting

yapf --style .style.yapf --recursive .

For VSCode - install yapf extension. Enable formatting using yap and the style file in this repo (there may be an easier way; I put this in my user settings json):

{
    "[python]": {
        "editor.formatOnSaveMode": "file",
        "editor.formatOnSave": true,
        "editor.defaultFormatter": "eeyore.yapf",
        "editor.formatOnType": false
      },
      "yapf.args": ["--style", "/home/wizard/code/realestate-crawler/crawler/.style.yapf"]
}