blockporn


Nameblockporn JSON
Version 0.1.3 PyPI version JSON
download
home_pagehttps://github.com/Clinton-Abraham/PORN-X-BLOCKER
Summaryblock pornography sites
upload_time2024-08-06 20:31:52
maintainerNone
docs_urlNone
authorClinton-Abraham
requires_python~=3.10
licenseMIT
keywords python block blocker
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Clinton-Abraham/PORN-X-BLOCKER",
    "name": "blockporn",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "~=3.10",
    "maintainer_email": null,
    "keywords": "python, block, blocker",
    "author": "Clinton-Abraham",
    "author_email": "clintonabrahamc@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/74/fa/b55b9157945355421a852bf10b52a4cc882d43ea71155e82ff2e8ff29db1/blockporn-0.1.3.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\n \ud83d\udce6 <a href=\"https://pypi.org/project/blockporn\" style=\"text-decoration:none;\">BLOCK PORN</a>\n</p>\n\n\n<p align=\"center\">\n   <a href=\"https://telegram.dog/clinton_abraham\"><img src=\"https://img.shields.io/badge/\ud835\udc6a\ud835\udc8d\ud835\udc8a\ud835\udc8f\ud835\udc95\ud835\udc90\ud835\udc8f \ud835\udc68\ud835\udc83\ud835\udc93\ud835\udc82\ud835\udc89\ud835\udc82\ud835\udc8e-30302f?style=flat&logo=telegram\" alt=\"telegram badge\"/></a>\n   <a href=\"https://telegram.dog/Space_x_bots\"><img src=\"https://img.shields.io/badge/S\u1d18\u1d00\u1d04\u1d07 \ud835\udd69 \u0299\u1d0f\u1d1b\ua731-30302f?style=flat&logo=telegram\" alt=\"telegram badge\"/></a>\n   <a href=\"https://telegram.dog/sources_codes\"><img src=\"https://img.shields.io/badge/S\u1d0f\u1d1c\u0280\u1d04\u1d07 \u1d04\u1d0f\u1d05\u1d07\ua731-30302f?style=flat&logo=telegram\" alt=\"telegram badge\"/></a>\n</p>\n\n## INSTALLATION\n\n```bash\n  pip install blockporn\n```\n\n## USAGE\n\n```python\n\nfrom Blockporn import Blocker\n\nurl = \"https://xxx.com\"\n\nresu = Blocker().blocker(url)\n\nprint(resu)\n\n```\n\n```python\n#======[ ADD MORE SITES ]======\n\nfrom Blockporn import Blocker\n\nurl = \"https://xxx.dc\"\n\nblok = [\"xxx.db\", \"xxx.dc\"]\n\ncore = Blocker(block=blok)\n\nresu = core.blocker(url)\n\nprint(resu)\n\n```\n\n```python\n#======[ CUSTOM BLOCK ]======\n\nfrom Blockporn import Blocker\n\nurl = \"https://xxx.me\"\n\nblok = [\"xxx.me\", \"xxx.ms\"]\n\ncore = Blocker(block=blok)\n\nresu = core.blocked(url)\n\nprint(resu)\n\n```\n\n```python\n#======[ LOAD FILE ]======\n\nfrom Blockporn import LoadeR\n\npath = \"./Home/blocked.txt\"\n\nresu = LoadeR.loadfile(path)\n\nprint(len(resu))\n\n```\n\n\n[11M+ Domains blocked.txt file](https://telegram.me/WARRIOR_TECHNOLOGY/75)\n\n\n## LICENSE\n\nThe MIT License. Please see [License File](https://github.com/Clinton-Abraham/PORN-X-BLOCKER/blob/V1.0/LICENSE) for more information.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "block pornography sites",
    "version": "0.1.3",
    "project_urls": {
        "Homepage": "https://github.com/Clinton-Abraham/PORN-X-BLOCKER"
    },
    "split_keywords": [
        "python",
        " block",
        " blocker"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "06c8acfe8f3cc86121d56b8223cf998d8529a4c36a7fdf9d8c354269abbfd8c6",
                "md5": "dd603f7eaae413f844595117d5e085e9",
                "sha256": "055b657fba35d98712c88f41e1e90ef569750ca6872455e92171cfed579d40e1"
            },
            "downloads": -1,
            "filename": "blockporn-0.1.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "dd603f7eaae413f844595117d5e085e9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.10",
            "size": 9360289,
            "upload_time": "2024-08-06T20:31:46",
            "upload_time_iso_8601": "2024-08-06T20:31:46.746850Z",
            "url": "https://files.pythonhosted.org/packages/06/c8/acfe8f3cc86121d56b8223cf998d8529a4c36a7fdf9d8c354269abbfd8c6/blockporn-0.1.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "74fab55b9157945355421a852bf10b52a4cc882d43ea71155e82ff2e8ff29db1",
                "md5": "47c44f2e362652fb028ce42fdc8677c5",
                "sha256": "99f9ded3636000e42affd62dcf2b1fbb2dd5b4d2de165de02066092d54f1ad10"
            },
            "downloads": -1,
            "filename": "blockporn-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "47c44f2e362652fb028ce42fdc8677c5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.10",
            "size": 9262650,
            "upload_time": "2024-08-06T20:31:52",
            "upload_time_iso_8601": "2024-08-06T20:31:52.065087Z",
            "url": "https://files.pythonhosted.org/packages/74/fa/b55b9157945355421a852bf10b52a4cc882d43ea71155e82ff2e8ff29db1/blockporn-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-06 20:31:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Clinton-Abraham",
    "github_project": "PORN-X-BLOCKER",
    "github_not_found": true,
    "lcname": "blockporn"
}
        
Elapsed time: 3.75315s