About
This package is a BLAG block list lookup module and command line tool. See the BLAG webpage for details on the BLAG aggregated blocklist.
Installation
Install using pip or any of the other module management tools:
$ pip install blagbl
CLI Usage
Fetch the most recent dataset:
$ blagbl --fetch
And use it to look up an address:
$ blagbl 112.207.220.102
112.207.220.102 cruzit_web_attacks
Display information about the current database:
$ blagbl --info
Data from: None
IP Count: 1072961
Module Usage
from blagbl import BlagBL
blag = BlagBL()
# blag.fetch() # do this rarely
blag.parse_blag_contents()
print(blag.ips["112.207.220.102"])
Metadata
Release files for blagbl 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| blagbl-0.1.1.tar.gz | 9.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| blagbl-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.9 kB
Release files / blagbl-0.1.1.tar.gz
| Download URL | blagbl-0.1.1.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4af773cccaad764b4e17f3a59e12c12be3fedae152d8598d65ca2d1dd1415746
|
|
BLAKE2b-256 checksum How to use checksums |
0e785437438797f0586f915ff650a756faae6edddac177ee36f0269e8f35a166
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.26.0
|
Release files / blagbl-0.1.1-py3-none-any.whl
| Download URL | blagbl-0.1.1-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7710ae012b0915d8bd534e547a1e9f68521785e674f2a12a9475296fd366fbd0
|
|
BLAKE2b-256 checksum How to use checksums |
8bf462bcce1af5e1cc76dd96df0131ff2c7b15143867d24a6f7ece7ce46ca89a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.26.0
|