Skip to content
IPv4 netmask aware grep for firewall scripts etc.
Python Shell
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
ipgrep
sample_files
.gitignore
.travis.yml
README.rst
setup.py
test.sh
tests.py
tox.ini

README.rst

ipgrep

IPv4 netmask aware grep for firewall scripts etc.

Usage:

$ pip install -e .[test]
$ ipgrep 1.2.3.0/24 sample_files/test.txt
eka 1.2.3.4
toka 1.2.3.4/24
neljäs 1.2.3.4/8
viides 1.2.3.4/255.255.0.0
phoo 1.2.3.6/64
xyz 1.2.3.4
Something went wrong with that request. Please try again.