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.

Download files

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

Source Distribution

banip-2.1.0.tar.gz (31.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

banip-2.1.0-py3-none-any.whl (38.3 kB view details)

Uploaded Python 3

File details

Details for the file banip-2.1.0.tar.gz.

File metadata

  • Download URL: banip-2.1.0.tar.gz
  • Upload date:
  • Size: 31.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for banip-2.1.0.tar.gz
Algorithm Hash digest
SHA256 b12ae260896b38c7533e91753768b0fce7b2dbebfef56b9e9c6259d1a941b183
MD5 83c0fe1493844c78a997660ff158e07a
BLAKE2b-256 dd8ab796d98f334e6bf25a70308ad4a46c0fd8d4af98dee23ac717c6e6ea20e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for banip-2.1.0.tar.gz:

Publisher: release.yml on geozeke/banip

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file banip-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: banip-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 38.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for banip-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a9345e415f91365fa5ac41f47ae6a21ca2172762b8015dec64828a84421d038a
MD5 3d60afb098c6665659aed0435bbe5e44
BLAKE2b-256 469bb764ee5286f887f851f7ad4bfd8f680499ec7534159088c74f9d40c3bc73

See more details on using hashes here.

Provenance

The following attestation bundles were made for banip-2.1.0-py3-none-any.whl:

Publisher: release.yml on geozeke/banip

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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