banip
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file banip-2.1.2.tar.gz.
File metadata
- Download URL: banip-2.1.2.tar.gz
- Upload date:
- Size: 36.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
708725bb719e941eaab6261c7bfd41eaa866913879faaf78f91c6d5dc279d59e
|
|
| MD5 |
48bc44b72f8f589868313344dc0a0bc4
|
|
| BLAKE2b-256 |
f5b9ceac314eca0cec51d8184713a0caabbb470c09bd0208719e125ff2a582cc
|
Provenance
The following attestation bundles were made for banip-2.1.2.tar.gz:
Publisher:
release.yml on geozeke/banip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
banip-2.1.2.tar.gz -
Subject digest:
708725bb719e941eaab6261c7bfd41eaa866913879faaf78f91c6d5dc279d59e - Sigstore transparency entry: 2347085095
- Sigstore integration time:
-
Permalink:
geozeke/banip@7119f76e4c715fd9f1b6f32d1f6fa60fe7bef682 -
Branch / Tag:
refs/tags/v2.1.2 - Owner: https://github.com/geozeke
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7119f76e4c715fd9f1b6f32d1f6fa60fe7bef682 -
Trigger Event:
push
-
Statement type:
File details
Details for the file banip-2.1.2-py3-none-any.whl.
File metadata
- Download URL: banip-2.1.2-py3-none-any.whl
- Upload date:
- Size: 43.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
789bea507ef5fa3599abcc4210b321d686722ef88b84a84eb845db2b833d3d7d
|
|
| MD5 |
0b871a5d6ca935bef0bfe92c8387f0cc
|
|
| BLAKE2b-256 |
e1d45854cdd674e6ec2c1f3a722595d7920eb2afcc5cd8689ce2617d6aaed9f5
|
Provenance
The following attestation bundles were made for banip-2.1.2-py3-none-any.whl:
Publisher:
release.yml on geozeke/banip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
banip-2.1.2-py3-none-any.whl -
Subject digest:
789bea507ef5fa3599abcc4210b321d686722ef88b84a84eb845db2b833d3d7d - Sigstore transparency entry: 2347085202
- Sigstore integration time:
-
Permalink:
geozeke/banip@7119f76e4c715fd9f1b6f32d1f6fa60fe7bef682 -
Branch / Tag:
refs/tags/v2.1.2 - Owner: https://github.com/geozeke
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7119f76e4c715fd9f1b6f32d1f6fa60fe7bef682 -
Trigger Event:
push
-
Statement type: