Catalog PyPI
PACKAGE EXPLORERView in registry

abip-cli

PyPI

Command-line interface for checking and reporting abusive IP addresses with AbuseIPDB

abuseipdbclicybersecurityip-reputationthreat-intelligence
Versions collected1
Direct dependencies4From release 0.1.0
Last observed20 Oct, 17:26 UTC

README

Version 0.1.0 documentation

abip-cli

abip-cli is a Python package that installs the abip command for checking and reporting abusive IP addresses with the AbuseIPDB API.

It supports single IP lookups, CIDR block checks, abuse reports, and blacklist queries with either rich terminal output or JSON for scripting.

Features

  • Check the reputation of a single IP address
  • Inspect an entire CIDR block for reported addresses
  • Submit abuse reports to AbuseIPDB
  • Fetch blacklist entries with filters for confidence, IP version, and countries
  • Use readable terminal output or --json for automation

Install

pip install abip-cli

The package name on PyPI is abip-cli, but the installed command is:

abip

You can also run it as a module:

python -m abip --help

Authentication

Create an AbuseIPDB API token and make it available as ABUSEIPDB_TOKEN.

Preferred for installed CLI usage:

export ABUSEIPDB_TOKEN="your-token-here"

For local development, a .env file is also supported:

ABUSEIPDB_TOKEN=your-token-here

Usage

Show help:

abip --help

Show the installed version:

abip --version

Check a single IP:

abip check 8.8.8.8
abip check 8.8.8.8 --days 90 --verbose
abip --json check 8.8.8.8

Check a CIDR block:

abip block 203.0.113.0/24
abip --json block 203.0.113.0/24 --days 7

Report an abusive IP:

abip report 203.0.113.10 --categories 18,22 --comment "SSH brute-force attempts"
abip report 203.0.113.10 --categories 14 --comment "Port scanning" --timestamp 2025-01-10T15:04:05Z

Fetch blacklist data:

abip blacklist
abip blacklist --min-confidence 75 --limit 50
abip blacklist --ip-version 4 --countries US,CN
abip --json blacklist --limit 10

Exit codes

  • 0 for successful execution
  • 1 for API and runtime errors

Development

Install development dependencies with uv:

uv sync --group dev

Run tests:

uv run pytest

Build distributions:

uv run python -m build
uv run twine check dist/*

Release

This repository includes GitHub Actions workflows for CI and PyPI publishing via Trusted Publishing.

Before the first release, configure the project on PyPI to trust this GitHub repository, then create a GitHub release to trigger publishing.

Downloads & popularity

2downloads
1-day window · source-reported counts22 Oct 2026
24120
2026-07-27: 1 · observed 2026-10-23T10:41:04.2361709Z · period 2026-07-27–2026-07-272026-07-29: 14 · observed 2026-10-23T10:41:04.2361709Z · period 2026-07-29–2026-07-292026-08-01: 2 · observed 2026-10-23T10:41:04.2361709Z · period 2026-08-01–2026-08-012026-08-02: 1 · observed 2026-10-23T10:41:04.2361709Z · period 2026-08-02–2026-08-022026-08-03: 4 · observed 2026-10-23T10:41:04.2361709Z · period 2026-08-03–2026-08-032026-08-04: 3 · observed 2026-10-23T10:41:04.2361709Z · period 2026-08-04–2026-08-042026-08-06: 1 · observed 2026-10-23T10:41:04.2361709Z · period 2026-08-06–2026-08-062026-08-09: 1 · observed 2026-10-23T10:41:04.2361709Z · period 2026-08-09–2026-08-092026-08-13: 2 · observed 2026-10-23T10:41:04.2361709Z · period 2026-08-13–2026-08-132026-08-14: 5 · observed 2026-10-23T10:41:04.2361709Z · period 2026-08-14–2026-08-142026-08-17: 4 · observed 2026-10-23T10:41:04.2361709Z · period 2026-08-17–2026-08-172026-08-18: 24 · observed 2026-10-23T10:41:04.2361709Z · period 2026-08-18–2026-08-182026-08-20: 2 · observed 2026-10-23T10:41:04.2361709Z · period 2026-08-20–2026-08-202026-08-22: 1 · observed 2026-10-23T10:41:04.2361709Z · period 2026-08-22–2026-08-222026-08-23: 4 · observed 2026-10-23T10:41:04.2361709Z · period 2026-08-23–2026-08-232026-08-24: 9 · observed 2026-10-23T10:41:04.2361709Z · period 2026-08-24–2026-08-242026-08-25: 1 · observed 2026-10-23T10:41:04.2361709Z · period 2026-08-25–2026-08-252026-08-28: 1 · observed 2026-10-23T10:41:04.2361709Z · period 2026-08-28–2026-08-282026-08-31: 2 · observed 2026-10-23T10:41:04.2361709Z · period 2026-08-31–2026-08-312026-09-01: 1 · observed 2026-10-23T10:41:04.2361709Z · period 2026-09-01–2026-09-012026-09-03: 2 · observed 2026-10-23T10:41:04.2361709Z · period 2026-09-03–2026-09-032026-09-06: 3 · observed 2026-10-23T10:41:04.2361709Z · period 2026-09-06–2026-09-062026-09-07: 1 · observed 2026-10-23T10:41:04.2361709Z · period 2026-09-07–2026-09-072026-09-09: 2 · observed 2026-10-23T10:41:04.2361709Z · period 2026-09-09–2026-09-092026-09-10: 1 · observed 2026-10-23T10:41:04.2361709Z · period 2026-09-10–2026-09-102026-09-12: 1 · observed 2026-10-23T10:41:04.2361709Z · period 2026-09-12–2026-09-122026-09-18: 4 · observed 2026-10-23T10:41:04.2361709Z · period 2026-09-18–2026-09-182026-09-19: 2 · observed 2026-10-23T10:41:04.2361709Z · period 2026-09-19–2026-09-192026-09-21: 1 · observed 2026-10-23T10:41:04.2361709Z · period 2026-09-21–2026-09-212026-09-22: 1 · observed 2026-10-23T10:41:04.2361709Z · period 2026-09-22–2026-09-222026-09-26: 1 · observed 2026-10-23T10:41:04.2361709Z · period 2026-09-26–2026-09-262026-09-27: 1 · observed 2026-10-23T10:41:04.2361709Z · period 2026-09-27–2026-09-272026-09-29: 2 · observed 2026-10-23T10:41:04.2361709Z · period 2026-09-29–2026-09-292026-09-30: 3 · observed 2026-10-23T10:41:04.2361709Z · period 2026-09-30–2026-09-302026-10-01: 1 · observed 2026-10-23T10:41:04.2361709Z · period 2026-10-01–2026-10-012026-10-02: 2 · observed 2026-10-23T10:41:04.2361709Z · period 2026-10-02–2026-10-022026-10-04: 1 · observed 2026-10-23T10:41:04.2361709Z · period 2026-10-04–2026-10-042026-10-06: 2 · observed 2026-10-23T10:41:04.2361709Z · period 2026-10-06–2026-10-062026-10-07: 1 · observed 2026-10-23T10:41:04.2361709Z · period 2026-10-07–2026-10-072026-10-08: 3 · observed 2026-10-23T10:41:04.2361709Z · period 2026-10-08–2026-10-082026-10-09: 2 · observed 2026-10-23T10:41:04.2361709Z · period 2026-10-09–2026-10-092026-10-11: 1 · observed 2026-10-23T10:41:04.2361709Z · period 2026-10-11–2026-10-112026-10-13: 1 · observed 2026-10-23T10:41:04.2361709Z · period 2026-10-13–2026-10-132026-10-14: 2 · observed 2026-10-23T10:41:04.2361709Z · period 2026-10-14–2026-10-142026-10-15: 1 · observed 2026-10-23T10:41:04.2361709Z · period 2026-10-15–2026-10-152026-10-19: 1 · observed 2026-10-23T10:41:04.2361709Z · period 2026-10-19–2026-10-192026-10-20: 2 · observed 2026-10-23T10:41:04.2361709Z · period 2026-10-20–2026-10-202026-10-21: 2 · observed 2026-10-23T10:41:04.2361709Z · period 2026-10-21–2026-10-212026-10-22: 2 · observed 2026-10-23T10:41:04.2361709Z · period 2026-10-22–2026-10-22
27 Jul22 Oct

pypistats · 49 observations shown. Missing days are unknown. Source category: overall: without mirrors.

View observed values
Date / source periodValueObserved at
2026-10-22 – 2026-10-2222026-10-23T10:41:04.2361709Z
2026-10-21 – 2026-10-2122026-10-23T10:41:04.2361709Z
2026-10-20 – 2026-10-2022026-10-23T10:41:04.2361709Z
2026-10-19 – 2026-10-1912026-10-23T10:41:04.2361709Z
2026-10-15 – 2026-10-1512026-10-23T10:41:04.2361709Z
2026-10-14 – 2026-10-1422026-10-23T10:41:04.2361709Z
2026-10-13 – 2026-10-1312026-10-23T10:41:04.2361709Z
2026-10-11 – 2026-10-1112026-10-23T10:41:04.2361709Z
2026-10-09 – 2026-10-0922026-10-23T10:41:04.2361709Z
2026-10-08 – 2026-10-0832026-10-23T10:41:04.2361709Z
2026-10-07 – 2026-10-0712026-10-23T10:41:04.2361709Z
2026-10-06 – 2026-10-0622026-10-23T10:41:04.2361709Z
2026-10-04 – 2026-10-0412026-10-23T10:41:04.2361709Z
2026-10-02 – 2026-10-0222026-10-23T10:41:04.2361709Z
2026-10-01 – 2026-10-0112026-10-23T10:41:04.2361709Z
2026-09-30 – 2026-09-3032026-10-23T10:41:04.2361709Z
2026-09-29 – 2026-09-2922026-10-23T10:41:04.2361709Z
2026-09-27 – 2026-09-2712026-10-23T10:41:04.2361709Z
2026-09-26 – 2026-09-2612026-10-23T10:41:04.2361709Z
2026-09-22 – 2026-09-2212026-10-23T10:41:04.2361709Z
2026-09-21 – 2026-09-2112026-10-23T10:41:04.2361709Z
2026-09-19 – 2026-09-1922026-10-23T10:41:04.2361709Z
2026-09-18 – 2026-09-1842026-10-23T10:41:04.2361709Z
2026-09-12 – 2026-09-1212026-10-23T10:41:04.2361709Z
2026-09-10 – 2026-09-1012026-10-23T10:41:04.2361709Z
2026-09-09 – 2026-09-0922026-10-23T10:41:04.2361709Z
2026-09-07 – 2026-09-0712026-10-23T10:41:04.2361709Z
2026-09-06 – 2026-09-0632026-10-23T10:41:04.2361709Z
2026-09-03 – 2026-09-0322026-10-23T10:41:04.2361709Z
2026-09-01 – 2026-09-0112026-10-23T10:41:04.2361709Z
2026-08-31 – 2026-08-3122026-10-23T10:41:04.2361709Z
2026-08-28 – 2026-08-2812026-10-23T10:41:04.2361709Z
2026-08-25 – 2026-08-2512026-10-23T10:41:04.2361709Z
2026-08-24 – 2026-08-2492026-10-23T10:41:04.2361709Z
2026-08-23 – 2026-08-2342026-10-23T10:41:04.2361709Z
2026-08-22 – 2026-08-2212026-10-23T10:41:04.2361709Z
2026-08-20 – 2026-08-2022026-10-23T10:41:04.2361709Z
2026-08-18 – 2026-08-18242026-10-23T10:41:04.2361709Z
2026-08-17 – 2026-08-1742026-10-23T10:41:04.2361709Z
2026-08-14 – 2026-08-1452026-10-23T10:41:04.2361709Z
2026-08-13 – 2026-08-1322026-10-23T10:41:04.2361709Z
2026-08-09 – 2026-08-0912026-10-23T10:41:04.2361709Z
2026-08-06 – 2026-08-0612026-10-23T10:41:04.2361709Z
2026-08-04 – 2026-08-0432026-10-23T10:41:04.2361709Z
2026-08-03 – 2026-08-0342026-10-23T10:41:04.2361709Z
2026-08-02 – 2026-08-0212026-10-23T10:41:04.2361709Z
2026-08-01 – 2026-08-0122026-10-23T10:41:04.2361709Z
2026-07-29 – 2026-07-29142026-10-23T10:41:04.2361709Z
2026-07-27 – 2026-07-2712026-10-23T10:41:04.2361709Z

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.018 Mar 20264

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
fernansd/abip-cli

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:26 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:3014a86871002a11678ec347ac75b8034c97045c582c2b9be2a4fda50557b18d