Commit graph

97 commits

Author SHA1 Message Date
Viktor Barzin
f9a7620bf0
recalculate floorplans when theres only an empty object 2025-05-31 23:31:06 +00:00
Viktor Barzin
20ab7fde95
add all of dict_nicely to the export for immoweb to allow using any of the available listing data 2025-05-31 21:57:44 +00:00
Viktor Barzin
18b0e39495
add photo thumbnail to dict_nicely to allow visualizing in the ui 2025-05-31 21:57:03 +00:00
Viktor Barzin
7e8c79d3d1
add command to export the data in a way that the ui (immoweb) can consume 2025-05-26 19:37:06 +00:00
Viktor Barzin
102c20ac42
[bugfix] if no district is passed, fetch data for all 2025-05-26 19:31:33 +00:00
Viktor Barzin
56c203189f
dockerize 2025-05-21 21:30:00 +00:00
Viktor Barzin
1e0f302178
defer transformers and pytesseract imports to when used. this shortens startup time of all other commands quite a bit 2025-05-21 21:24:57 +00:00
Viktor Barzin
10ae25e0d3
allow caching routing by destination and travel mode; also export all travel methods to csv column 2025-05-20 22:12:56 +00:00
Viktor Barzin
f2118c9bc4
update runall script to use new command for sourcing routes 2025-05-18 21:32:16 +00:00
Viktor Barzin
d9fe5421fc
fix type hint in paths vs strings 2025-05-18 21:31:51 +00:00
Viktor Barzin
482fff689b
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
Viktor Barzin
57f477c54d
add .env.sample env with api key for routing service exported 2025-05-18 19:52:49 +00:00
Viktor Barzin
ea24847cae
add stratford region 2025-05-18 18:02:32 +00:00
Viktor Barzin
9067d45327
add council tax band when exporting 2025-05-18 18:02:19 +00:00
Viktor Barzin
5192b1955c
export agency 2025-05-18 17:41:50 +00:00
Viktor Barzin
9f3e466b23
add filter for furnished/unfurnished type for rented listings 2025-05-18 17:22:48 +00:00
Viktor Barzin
b873eaf203
fix types and format 2025-05-18 12:30:49 +00:00
Viktor Barzin
91d3237516
remove some empty fields in exploration notebook 2025-05-17 23:24:40 +00:00
Viktor Barzin
0b3c644ea3
set the min price param in runall 2025-05-17 23:18:27 +00:00
Viktor Barzin
2741a77560
sort output dataframe by price per sqm 2025-05-17 23:14:18 +00:00
Viktor Barzin
47347543d2
update runall script to use the click entrypoint 2025-05-17 23:14:00 +00:00
Viktor Barzin
b1e0ed170b
detect floorplan using asyncio 2025-05-17 22:58:35 +00:00
Viktor Barzin
68cc70bd11
dump images using aiohttp and concurrently 2025-05-17 22:43:05 +00:00
Viktor Barzin
01ac24b4b7
use aiohttp to fetch details concurrently 2025-05-17 22:34:27 +00:00
Viktor Barzin
61b8c82592
add ipdb to the dev deps 2025-05-17 22:11:51 +00:00
Viktor Barzin
3e7a144fb4
make dumping details async 2025-05-17 22:11:33 +00:00
Viktor Barzin
ad879f2d4f
convert listings dump to asyncio 2025-05-17 21:55:42 +00:00
Viktor Barzin
df24c2c1b7
add cli param for querying properties to rent
example:
python main.py --data-dir data/rs2 dump-listings --max-price 3500 --min-bedrooms 2 --max-bedrooms 4 --district islington -t rent
2025-05-17 21:22:39 +00:00
Viktor Barzin
bb9afc76fe
expose rightmove query parameters as cli options 2025-05-17 20:40:44 +00:00
Viktor Barzin
96562c0895
add csv exporter command 2025-05-17 20:13:28 +00:00
Viktor Barzin
ca5619976f
parameterize routing step to work with custom data paths 2025-05-14 21:08:03 +00:00
Viktor Barzin
e3abf4b373
parameterize detect floorplan step to work with custom data paths 2025-05-14 21:05:59 +00:00
Viktor Barzin
07fef7fbab
parameterize dump images step to work with custom data paths 2025-05-14 21:02:32 +00:00
Viktor Barzin
e424361ed9
parameterize dump_detail to use a custom data dir and also move data dir param as part of the click context 2025-05-14 20:32:37 +00:00
Viktor Barzin
48d379567b
parameterize data path when fetching listings 2025-05-14 20:19:08 +00:00
Viktor Barzin
ea56555884 refactor main.py click to use click commands to allow passing parameters to commands and enable fetching districts by district name 2025-05-14 19:42:08 +00:00
Kadir
bb2488a63b Removing sqlalchemy and the db part as it was never used 2025-05-12 01:17:45 +01:00
Kadir
3f4be8b7ff decisions + logger 2025-05-12 01:01:48 +01:00
Viktor Barzin
962c9a2f38
print all steps that we are running with 2025-05-11 19:13:19 +00:00
Viktor Barzin
9134145e02
[5/n] click-ify add routing command
run with:
poetry run python main.py --step routing
2025-05-11 19:11:23 +00:00
Viktor Barzin
48f694e002
[4/n] click-ify add detect floorplan command
run with
poetry run python main.py --step detect_floorplan
2025-05-11 19:06:08 +00:00
Viktor Barzin
70e8ef9f95
[3/n] click-ify add dump images command
run with
poetry run python main.py --step dump_images
2025-05-11 19:04:19 +00:00
Viktor Barzin
c2196c15c1
[2/n] click-ify - add 2_dump_detail command
run with
poetry run python main.py --step dump_detail
2025-05-11 19:02:23 +00:00
Viktor Barzin
90b531f5d9
[1/n] click-ify - add entrypoint for click script and add
1_dump_listings command

run via:
poetry run python main.py --step dump_listings
2025-05-11 18:59:41 +00:00
Viktor Barzin
0a66efa48a
update pyproject.toml to use latest version of dev dependency section 2025-05-07 21:56:12 +00:00
Viktor Barzin
835494d29f
reformat most things 2025-05-07 21:25:40 +00:00
Viktor Barzin
bd7c781adb
remove requirements.txt as we are using poetry...im blind.. 2025-05-07 21:06:43 +00:00
Viktor Barzin
028eef63a8
add readme and .style.yapf for formatting 2025-05-07 20:58:22 +00:00
Viktor Barzin
d24b667e73
add sqlalchemy to requirements.txt 2025-05-07 20:57:28 +00:00
Viktor Barzin
dd2de477bc
Add requirements.txt 2025-05-07 17:31:29 +00:00