Skip to main content

CLI tool for fetching and checking BLAG block list information.

Project description

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"])

Project details


Download files

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

Source Distribution

blagbl-0.1.1.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

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

blagbl-0.1.1-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file blagbl-0.1.1.tar.gz.

File metadata

  • Download URL: blagbl-0.1.1.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.26.0

File hashes

Hashes for blagbl-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4af773cccaad764b4e17f3a59e12c12be3fedae152d8598d65ca2d1dd1415746
MD5 7ac298a4a3b14654a882c2aa6f935157
BLAKE2b-256 0e785437438797f0586f915ff650a756faae6edddac177ee36f0269e8f35a166

See more details on using hashes here.

File details

Details for the file blagbl-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: blagbl-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.26.0

File hashes

Hashes for blagbl-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7710ae012b0915d8bd534e547a1e9f68521785e674f2a12a9475296fd366fbd0
MD5 5c3de3a6a455a563ca62823600f8b190
BLAKE2b-256 8bf462bcce1af5e1cc76dd96df0131ff2c7b15143867d24a6f7ece7ce46ca89a

See more details on using hashes here.

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