The code in this repository serves two purposes.
- Recording the data in a database
- Analysising the data stored in said database.
- Ensures when populating the database that it does
push duplicate information into the database using
CONFLICT
clauses on unique indexes
scripts/populate.py
The data base population scriptscripts/format.py
Outputs data from the database in different formatsscripts/server.py
Provides a read only JSON API for reading the data
It's worth noting that scripts/format is just a cli interface to the same application as scripts/server, scripts/server just uses http as the main means of input instead of command line arguements
If you want some help on the figuring out the required arguments, just run the following.
python3 scripts/populate.py --help
python3 scripts/format.py --help
python3 scripts/server.py --help