Go to file
Phyks (Lucas Verney) a45eba65c7 Improve cities fuzzy matching
* Convert arabic numerals to roman ones in fuzzy comparison, to ensure
there is no more discrepancies between "Paris 20" and "Paris XX" for
instance. Fix #112 and improve on top of #110.
* Improve handling of opendata postal codes (no more duplicates, better
capitalization).

Note: You should `pip install -r requirements.txt` and rebuild the
database (`python -m flatisfy build-data --config config.json`) after
this commit.

Thanks @nicofrand for building the basic blocks for this!
2018-01-19 11:53:27 +01:00
.ci Do some linting 2017-10-29 21:04:09 +01:00
doc Make CI fail if a test fails + a bit of linting 2018-01-18 14:48:28 +01:00
docker Conditional requirements.txt, including all dependencies 2018-01-18 11:45:32 +01:00
flatisfy Improve cities fuzzy matching 2018-01-19 11:53:27 +01:00
hooks Switch to a Vue-based web app 2017-05-03 15:54:26 +02:00
.babelrc Switch to a Vue-based web app 2017-05-03 15:54:26 +02:00
.eslintrc Switch to a Vue-based web app 2017-05-03 15:54:26 +02:00
.gitignore Sphinx-generated doc 2017-12-05 14:56:08 +01:00
.gitlab-ci.yml Fix CI, also do not fail if ~/.local directory does not exist. 2018-01-18 14:16:38 +01:00
CodeOfConduct.md Add a code of conduct 2017-10-30 11:43:08 -04:00
CONTRIBUTING.md Add a code of conduct 2017-10-30 11:43:08 -04:00
LICENSE.md Initial commit 2017-04-13 20:03:59 +02:00
package.json Add an ICS feed of visits 2017-11-10 16:29:38 +01:00
README.md Fix typo 2017-12-30 14:38:15 +01:00
requirements.txt Improve cities fuzzy matching 2018-01-19 11:53:27 +01:00
webpack.config.js Write some documentation 2017-05-03 15:54:59 +02:00
wsgi.py Switch to a Vue-based web app 2017-05-03 15:54:26 +02:00

Flatisfy

PROJECT HAS MOVED: Please use Framagit to create issues on the project. You can still create merge requests from either Github or Framagit.

Flatisfy is your new companion to ease your search of a new housing :)

Note: This software is under heavy development at the moment, and the database schema could change at any time. Do not consider it as being production ready. However, I am currently using it for my own housing search and it is working fine :)

It uses Weboob to get all the housing posts on most of the websites offering housings posts, and then offers a bunch of pipelines to filter and deduplicate the fetched housings.

It can be used as a command-line utility, but also exposes a web API and visualisation, to browse through the results.

Note: It is targeted at French users (due to the currently supported websites), and in particular at people living close to Paris, as I developped it for my personal use, and am currently living in Paris :) Any feedback and merge requests to better support other countries / cities are more than welcome!

Note: In this repository and across the code, I am using the name "flat". I use it as a placeholder for "housing" and consider both are interchangeable. This code is not restricted to handling flats only!

Getting started

See the getting started guide. If you want to give it a try quickly, you can have a look at the Docker image.

Documentation for the whole app is available online.

Documentation

See the dedicated folder.

Screenshots

Home page

Display available flats on a map:

And list them with the details in a sortable table:

Details page

Uniform display of the flat information in a dedicated page, with the contact etc:

Follow flats

Track interesting flats and store them with notes:

OpenData

I am using the following datasets, available under flatisfy/data_files, which covers Paris. If you want to run the script using some other location, you might have to change these files by matching datasets.

  • LaPoste Hexasmal for the list of cities and postal codes in France.
  • Navitia public transport datasets for the list of subway/tram/bus stations with their positions in France. These are the stops_fr-*.txt files, extracted from the NTFS datasets for each region.

Both datasets are licensed under the Open Data Commons Open Database License (ODbL): https://opendatacommons.org/licenses/odbl/.

License

The content of this repository is licensed under an MIT license, unless explicitly mentionned otherwise.

Contributing

See the CONTRIBUTING.md file for more infos.

API

Your Flatisfy instance is accessible through an API. API documentation is available here.

Getting help

Feel free to open issues. An IRC channel is available at irc://irc.freenode.net/flatisfy as well.

Thanks

  • Weboob
  • The OpenData providers listed above!
  • Navitia for their really cool public transportation API.
  • A lots of Python modules, required for this script (see requirements.txt).
  • Kresus which gave me part of the original idea (at least proved me such software based on scraping can achieve a high quality level :)
  • Current favicon is from Wikipedia