Skip to main content

📦 BLOCK PORN

telegram badge telegram badge telegram badge

INSTALLATION

  pip install blockporn

USAGE

from Blockporn import Blocker

url = "https://xxx.com"

resu = Blocker().blocker(url)

print(resu)
#======[ ADD MORE SITES ]======

from Blockporn import Blocker

url = "https://xxx.dc"

blok = ["xxx.db", "xxx.dc"]

core = Blocker(block=blok)

resu = core.blocker(url)

print(resu)
#======[ CUSTOM BLOCK ]======

from Blockporn import Blocker

url = "https://xxx.me"

blok = ["xxx.me", "xxx.ms"]

core = Blocker(block=blok)

resu = core.blocked(url)

print(resu)
#======[ LOAD FILE ]======

from Blockporn import LoadeR
from Blockporn import Blocker

path = "./Home/blocked.txt"

urls = LoadeR.loadfile(path)

url = "https://xxx.com"

core = Blocker(block=urls)

resu = core.blocker(url)

print(resu)

11M+ Domains blocked.txt file

LICENSE

The MIT License. Please see License File for more information.

Download files

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

Source Distribution

blockporn-0.1.7.tar.gz (9.3 MB view details)

Uploaded Source

Built Distribution

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

blockporn-0.1.7-py3-none-any.whl (9.4 MB view details)

Uploaded Python 3

File details

Details for the file blockporn-0.1.7.tar.gz.

File metadata

  • Download URL: blockporn-0.1.7.tar.gz
  • Upload date:
  • Size: 9.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for blockporn-0.1.7.tar.gz
Algorithm Hash digest
SHA256 ca153d6cda0e35c614c2b2a38f03232d857c65a6d99f1ded74bc18a097ad095e
MD5 1c6ae5ca07cc85ac916ca959ebe8473b
BLAKE2b-256 0a9218532dd2e94182ff439c81ebacd3602428ccc67de10c6c12d35e3700df76

See more details on using hashes here.

File details

Details for the file blockporn-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: blockporn-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 9.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for blockporn-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 3be86282c671fae90ac5c76a511dc4f355f468a7e6814051e0ded4e6bc6ba459
MD5 2f6bc62a114ef2608b0973f9d879eda8
BLAKE2b-256 f9b0dc7bb9c4f9af6dd729a0283a9c663b6121dc5ed6a2c83239a1ca3a64cf9d

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 Sentry Error logging StatusPage Status page