SkillAgentSearch skills...

BlockedMap

Map of IP addresses that are blocked in Russia

Install / Use

/learn @Pitovsky/BlockedMap
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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).
<img src="./static/img/map_screen.png">

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 )

Related Skills

View on GitHub
GitHub Stars13
CategoryDevelopment
Updated1y ago
Forks1

Languages

Python

Security Score

65/100

Audited on Aug 19, 2024

No findings