2017-04-03 17:29:29 +02:00
Flatisfy
========
2017-12-30 14:37:48 +01:00
**PROJECT HAS MOVED: Please use
2017-12-30 14:37:22 +01:00
[Framagit ](https://framagit.org/phyks/Flatisfy ) to create issues on the
project. You can still create merge requests from either
[Github ](https://github.com/phyks/flatisfy ) or
2017-12-30 14:38:15 +01:00
[Framagit ](https://framagit.org/phyks/Flatisfy ).**
2017-12-30 14:37:22 +01:00
2017-04-03 17:29:29 +02:00
Flatisfy is your new companion to ease your search of a new housing :)
2017-12-05 15:17:03 +01:00
< script src = "https://liberapay.com/Phyks/widgets/button.js" > < / script >
< noscript > < a href = "https://liberapay.com/Phyks/donate" > < img alt = "Donate using Liberapay" src = "https://liberapay.com/assets/widgets/donate.svg" > < / a > < / noscript >
2017-04-03 17:29:29 +02:00
2017-04-25 15:58:06 +02:00
**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 :)
2017-05-04 10:46:37 +02:00
< img src = "doc/img/home.png" width = "45%" / > < img src = "doc/img/home2.png" width = "45%" / >
2017-04-25 15:58:06 +02:00
2021-04-08 20:08:23 +02:00
It uses [woob ](https://gitlab.com/woob/woob/ ) to get all the housing posts on most of
2017-04-03 17:29:29 +02:00
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
2017-06-21 15:09:49 +02:00
See the [getting started guide ](doc/0.getting_started.md ). If you want to give
it a try quickly, you can have a look at the [Docker image ](doc/2.docker.md ).
2017-04-25 15:58:06 +02:00
2017-12-05 15:17:03 +01:00
Documentation for the whole app is available
[online ](https://doc.phyks.me/flatisfy/ ).
2017-04-25 15:58:06 +02:00
## Documentation
See the [dedicated folder ](doc/ ).
2017-04-03 17:29:29 +02:00
2017-05-04 10:46:37 +02:00
## Screenshots
### Home page
Display available flats on a map:
< img src = "doc/img/home.png" / >
And list them with the details in a sortable table:
< img src = "doc/img/home2.png" / >
### Details page
Uniform display of the flat information in a dedicated page, with the contact etc:
< img src = "doc/img/details.png" / >
### Follow flats
Track interesting flats and store them with notes:
< img src = "doc/img/followed.png" / >
2017-04-03 17:29:29 +02:00
## 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 ](https://datanova.legroupe.laposte.fr/explore/dataset/laposte_hexasmal/?disjunctive.code_commune_insee&disjunctive.nom_de_la_commune&disjunctive.code_postal&disjunctive.libell_d_acheminement&disjunctive.ligne_5 ) for the list of cities and postal codes in France.
2017-12-03 19:36:00 +01:00
* [Navitia public transport datasets ](https://navitia.opendatasoft.com/explore/?sort=modified&refine.geographicarea=France ) 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.
2017-04-03 17:29:29 +02:00
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.
2017-04-13 23:24:31 +02:00
## Contributing
See the `CONTRIBUTING.md` file for more infos.
2017-12-05 15:17:03 +01:00
## API
Your Flatisfy instance is accessible through an API. API documentation is
available
[here ](https://doc.phyks.me/flatisfy/flatisfy.web.routes.html#module-flatisfy.web.routes.api ).
## Getting help
2017-06-20 11:04:05 +02:00
Feel free to open issues. An IRC channel is available at [irc://irc.freenode.net/flatisfy ](irc://irc.freenode.net/flatisfy ) as well.
2017-04-03 17:29:29 +02:00
## Thanks
2021-04-08 20:08:23 +02:00
* [Woob ](https://gitlab.com/woob/woob/ ). Note that this is actually the only and best
2018-07-25 08:57:31 +02:00
software out there to scrape housing posts online. Using it in Flatisfy does
2021-04-08 20:08:23 +02:00
not mean the authors of Flatisfy endorse Woob authors' views.
2017-04-03 17:29:29 +02:00
* 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 ](https://framagit.org/bnjbvr/kresus ) which gave me part of the
original idea (at least proved me such software based on scraping can
achieve a high quality level :)
2017-04-26 19:12:30 +02:00
* Current favicon is from [Wikipedia ](https://commons.wikimedia.org/wiki/File:Home_Icon.svg )