Commit graph

12 commits

Author SHA1 Message Date
Félix Baylac-Jacqué 17612b2a8b
Ajout d'un script d'ingestion des données laposte-insee
Je n'ai pas encore proprement releasé fast-fantoir. On pointe pour
l'instant sur une branche WIP. Le format de la DB générée ne devrait
pas cependant changer.

Ça vaudrait probablement le coup de wrapper tout le pipeline (ie.
génération des données FANTOIR *et* insee) dans un seul et même script
provisionné par Nix a terme.
2021-11-17 22:27:39 +01:00
johan.le.baut f8ba58b120 Logique pour chercher les voies d'une communes dans la DB fantoir/rivoli
Reviewed-on: felix.baylac/axione-elig-test#8
2021-11-10 22:26:08 +00:00
Johan Le Baut d6ee46ccda update README 2021-11-10 23:23:58 +01:00
Johan Le Baut d2b53be534 add tests 2021-11-10 23:22:46 +01:00
Johan Le Baut 7a70f693b3 Update README 2021-11-02 15:35:21 +01:00
Johan Le Baut 6e2899a91b Endpoints to find a Fantoir address 2021-11-02 15:21:34 +01:00
Félix Baylac-Jacqué f53d5b6373
First aquilenet deployment
It's hacky as hell, but it's what we currently have deployed... We'll
have to come back to that later.
2021-10-19 18:41:05 +02:00
Félix Baylac-Jacqué 682b538e16
Add deployment scripts
We add a rudimentary deployment setup based on gunicorn and systemd.
2021-10-19 16:59:23 +02:00
Félix Baylac-Jacqué 2daf6ab8e2
PTO lookup webapp
We add a small flask-powered web application in charge of retrieving
the PBO-related data from axione.
2021-10-18 19:49:35 +02:00
Félix Baylac-Jacqué 53af975601
Pep-8 reformat
I did not really used a standard python format so far. Running the
codebase through black to make everything pep-8 compliant.
2021-10-17 22:31:06 +02:00
Félix Baylac-Jacqué 8c4c540fb8
Add response parser
This parser is not extensively tested yet. We need to generate more
test cases to make sure we're not falling in any of the numerous
Python traps.

We basically retrieve the data for:

- The FTTH lines.
- The stairs reference for each line.
- The building reference/status for each stairs.
2021-10-17 22:30:42 +02:00
Félix Baylac-Jacqué cfae863043
init 2021-10-17 18:28:51 +02:00