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.

Metadata

Release files for blockporn 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for blockporn 0.1.7
File Size Uploaded
blockporn-0.1.7.tar.gz 9.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for blockporn 0.1.7
File Interpreter ABI Platform
blockporn-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 18.6 MB

Release files / blockporn-0.1.7.tar.gz

Download URL blockporn-0.1.7.tar.gz
Size 9.3 MB
Tags Source
SHA-256 checksum
How to use checksums
ca153d6cda0e35c614c2b2a38f03232d857c65a6d99f1ded74bc18a097ad095e
BLAKE2b-256 checksum
How to use checksums
0a9218532dd2e94182ff439c81ebacd3602428ccc67de10c6c12d35e3700df76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / blockporn-0.1.7-py3-none-any.whl

Download URL blockporn-0.1.7-py3-none-any.whl
Size 9.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
3be86282c671fae90ac5c76a511dc4f355f468a7e6814051e0ded4e6bc6ba459
BLAKE2b-256 checksum
How to use checksums
f9b0dc7bb9c4f9af6dd729a0283a9c663b6121dc5ed6a2c83239a1ca3a64cf9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page