Skip to main content

No project description provided

Project description

ripe-ip-search

Search ip addresses using RIPE DB. It uses fulltext search API.

Installation:

pipx install ripe-ip-search

git clone https://github.com/s3rgeym/ripe-ip-search.git
pipx install .

pipx install git+https://github.com/s3rgeym/ripe-ip-search.git

Example:

$ ripe-ip-search 'sberbank'
94.25.75.0/24
91.217.194.0/24
109.124.69.104/30
...
46.38.35.56/30

Use --detailed flag to output results in JSONL.

Example JSONL output:

{"networks": ["46.38.35.56/30"], "num_addresses": 4, "item": {"primary-key": "10344800", "object-type": "inetnum", "lookup-key": "46.38.35.56 - 46.38.35.59", "inetnum": "46.38.35.56 - 46.38.35.59", "netname": "TEL-NET-10873", "descr": ["object-KRASNOGORSKRECHNAYA8, client-Aktsionernij kommercheskij Sberegatelnij bank Rossijskoj Federatsii otkritoe aktsionernoe obshestvo, Sberbank Rossii OAO"], "country": "RU", "admin-c": ["AVB160-RIPE"], "tech-c": ["AVB160-RIPE"], "status": "ASSIGNED PA", "notify": ["kalex@tel.ru"], "mnt-by": ["TEL-NET-MNT"], "created": "2011-12-02T05:24:21Z", "last-modified": "2011-12-02T05:24:21Z"}}

If you are looking for self-hosted ripe db search, you can try this.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ripe_ip_search-0.1.1.tar.gz (9.0 kB view hashes)

Uploaded Source

Built Distribution

ripe_ip_search-0.1.1-py3-none-any.whl (12.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page