Visit blockedhere.pythonanywhere.com to explore it!
Project for MLH 2018 Moscow Hack.
Implemented with HERE Geo-API, inspired by RosKomSvoboda.
The data is taken from Zapret-Info repository and can be processed in 2 ways:
- getting it from a particular snapshot of the IP list (faster, but less history is available);
- cloning the whole repo and iterating through commits (takes time, gives the full history).
pip -r install requirements.txt
python init_db.py-
Get the list of blocked IPs, put it into
data/dump.csv. -
Run:
python csv_parser.py
python geodata_loader.py- Clone the whole Zapret-Info repo (default: to
../z-i/).
Inside the Zapret-Info directory, reset it to the first revision:
git reset --hard e784cde5c35ba786b4fa6499e8972c0175beab16- Run:
python update_from_repo.py- Wait..
python app.pyVoilà!
Madidea Team ( alexeyqu, neganovalexey, paulin-mipt, Pitovsky )
