Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Map of IP addresses that are blocked in Russia

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).

Usage (python 3.6 environment)

pip -r install requirements.txt
python init_db.py

Snapshot mode

  1. Get the list of blocked IPs, put it into data/dump.csv.

  2. Run:

python csv_parser.py
python geodata_loader.py

Complete mode

  1. 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
  1. Run:
python update_from_repo.py
  1. Wait..

Visualization

python app.py

Voilà!

Built by

Madidea Team ( alexeyqu, neganovalexey, paulin-mipt, Pitovsky )

About

Map of IP addresses that are blocked in Russia

Topics

Resources

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
You can’t perform that action at this time.