Metadata-Version: 2.4
Name: blockporn
Version: 0.1.5
Summary: block pornography sites
Home-page: https://github.com/Clinton-Abraham
Author: Clinton-Abraham
Author-email: clintonabrahamc@gmail.com
License: MIT
Keywords: python,block,blocker
Classifier: Natural Language :: English
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Requires-Python: ~=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary

<p align="center">
 📦 <a href="https://pypi.org/project/blockporn" style="text-decoration:none;">BLOCK PORN</a>
</p>


<p align="center">
   <a href="https://telegram.dog/clinton_abraham"><img src="https://img.shields.io/badge/𝑪𝒍𝒊𝒏𝒕𝒐𝒏 𝑨𝒃𝒓𝒂𝒉𝒂𝒎-30302f?style=flat&logo=telegram" alt="telegram badge"/></a>
   <a href="https://telegram.dog/Space_x_bots"><img src="https://img.shields.io/badge/Sᴘᴀᴄᴇ 𝕩 ʙᴏᴛꜱ-30302f?style=flat&logo=telegram" alt="telegram badge"/></a>
   <a href="https://telegram.dog/sources_codes"><img src="https://img.shields.io/badge/Sᴏᴜʀᴄᴇ ᴄᴏᴅᴇꜱ-30302f?style=flat&logo=telegram" alt="telegram badge"/></a>
</p>

## INSTALLATION

```bash
  pip install blockporn
```

## USAGE

```python

from Blockporn import Blocker

url = "https://xxx.com"

resu = Blocker().blocker(url)

print(resu)

```

```python
#======[ 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)

```

```python
#======[ 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)

```

```python
#======[ LOAD FILE ]======

from Blockporn import LoadeR

path = "./Home/blocked.txt"

resu = LoadeR.loadfile(path)

print(len(resu))

```


[11M+ Domains blocked.txt file](https://telegram.me/WARRIOR_TECHNOLOGY/75)


## LICENSE

The MIT License. Please see [License File](https://github.com/Clinton-Abraham/PORN-X-BLOCKER/blob/V1.0/LICENSE) for more information.
