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.

It supports macOS, Linux, and native Windows with Python 3.12 or newer. Windows Subsystem for Linux is optional for running banip and is the recommended Windows environment for the complete development workflow.

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 3.0.0

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 3.0.0
File Size Uploaded
banip-3.0.0.tar.gz 37.3 kB Details

Built distribution (wheel)

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

Total release size: 80.6 kB

Release files / banip-3.0.0.tar.gz

Download URL banip-3.0.0.tar.gz
Size 37.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ac76c1ae0d24b7b421a659d7ea895fcf697705f923f6161b4fe6300160663ec2
BLAKE2b-256 checksum
How to use checksums
9fa631daca3108bc4f6daddb0baab0842bc5485cc18db752bb10418d5530a064
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 26, 2026.

Transparency log

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

Download URL banip-3.0.0-py3-none-any.whl
Size 43.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
35c9bcec0d7097e2059b0cb5191ecb014983fd4d6cf9c097c294e408fb9532d8
BLAKE2b-256 checksum
How to use checksums
ed787cdcac642c8832b12a8b590f29377b35e54ff1738460d39799a54b23a24c
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 26, 2026.

Transparency log

Release history Release notifications | RSS feed

3.0.1

2 release files

This release

3.0.0 This release

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.5

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