Commit Graph

6 Commits

Author SHA1 Message Date
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