Skip to main content

banip

banip logo

banip creates country-focused IP blocklists from MaxMind GeoLite2 data, the ipsum threat-intelligence feed, and user-managed configuration.

Documentation

Read the full documentation at https://geozeke.github.io/banip/.

It covers installation, configuration, commands, managed bot ranges, development, and the country-code reference.

Quick start

uv tool install --managed-python banip
banip database init
banip database update
banip build

Upgrade an existing installation with uv tool upgrade banip.

For pipx and virtual-environment installation options, see the getting-started guide.

banip database update geolite requires MaxMind credentials. See the getting-started guide for the required account and configuration details.

Development

just setup
just check

See the development guide for focused checks, changelog preparation, and release procedures.

License

banip is released under the MIT license. See LICENSE.

Metadata

Release files for banip 2.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for banip 2.1.5
File Size Uploaded
banip-2.1.5.tar.gz 36.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for banip 2.1.5
File Interpreter ABI Platform
banip-2.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 79.4 kB

Release files / banip-2.1.5.tar.gz

Download URL banip-2.1.5.tar.gz
Size 36.1 kB
Tags Source
SHA-256 checksum
How to use checksums
bd21761bbf8f7e31fa6df6704cb80ae9f988f55f349eb95c46ae1ec91b804237
BLAKE2b-256 checksum
How to use checksums
0a31b4b225d7e96dd5854520182a319b514f67177fc6cba57c9d2206d13e8126
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.

Transparency log

Release files / banip-2.1.5-py3-none-any.whl

Download URL banip-2.1.5-py3-none-any.whl
Size 43.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f2112fbac2b746346b1f1b1e8125192a9508a30f83e2821052b8eef36f0fcd6
BLAKE2b-256 checksum
How to use checksums
bc293afdc75b0f9657620b11985202a4b31c4958bc64c57d788b6494986307ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.

Transparency log

Release history Release notifications | RSS feed

3.0.1

2 release files

3.0.0

2 release files

2.2.1

2 release files

2.2.0

2 release files

This release

2.1.5 This release

2 release files

2.1.4

2 release files

2.1.3

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page