A fast and easy adblockplus parser and matcher based on adblock-rust package
Table of Contents
About The Project
This library is a Python binding to the adblock-rust library that was written by Brave's browser team. The binding uses pyo3 to interact with the rust package.
Built With
Installation
pip3 install braveblock
Usage
import braveblock
# Initialize the engine loaded with a rules list
# One can download easylist and load its lines into the engine
braveblock.Adblocker(
rules=[
"-advertisement-icon.",
"-advertisement/script.",
]
)
# This function checks whether the specified url should be blocked
adblocker.check_network_urls(
url="http://example.com/-advertisement-icon.",
source_url="http://example.com/helloworld",
request_type="image",
)
License
Distributed under the MIT License. See LICENSE for more information.
Contact
Gal Ben David - gal@intsights.com
Project Link: https://github.com/intsights/Braveblock
Metadata
Release files for braveblock 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 36.1 MB
Release files / braveblock-0.5.1-cp311-none-win_amd64.whl
| Download URL | braveblock-0.5.1-cp311-none-win_amd64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
8182a0b629a0cce7d00fca04d8a43fb50cf39d8c32409f23ebf27a4c65c0278f
|
|
BLAKE2b-256 checksum How to use checksums |
dbfecdc7a956e1bd2633501234f577379a81b2e7140cf6d2f2a46f3a2a33d9c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / braveblock-0.5.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | braveblock-0.5.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
d464154214f2bc2053c2406d3f8e1b42f047da578eb838b331d8b946682b9945
|
|
BLAKE2b-256 checksum How to use checksums |
9624a022dfa65731c364d2a972755ee5af6b79c79cef1a4e5207f965ada93360
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / braveblock-0.5.1-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | braveblock-0.5.1-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
70feae35ee255cc4e188e3de4cd8c9a30394b071aeceb06d9a54890957300914
|
|
BLAKE2b-256 checksum How to use checksums |
9290412c1060396f696dee4cf3e3c15cefbca816d67d63c7edb2c8a83162b7d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / braveblock-0.5.1-cp311-cp311-macosx_10_7_x86_64.whl
| Download URL | braveblock-0.5.1-cp311-cp311-macosx_10_7_x86_64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.11 macOS 10.7+ x86-64 |
|
SHA-256 checksum How to use checksums |
49a90251b73ff0160bfc0dee0655b02179eaf8689af72eecf44a138a677229d8
|
|
BLAKE2b-256 checksum How to use checksums |
c63ca35f412df2f6cfaf81c9e36685bcd54cab31bd264d06e8efad356efa3458
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / braveblock-0.5.1-cp310-none-win_amd64.whl
| Download URL | braveblock-0.5.1-cp310-none-win_amd64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
b8460d20ba71e20d8d9dd1ea7dd6becb010697d493551c8c9e05a81175461a21
|
|
BLAKE2b-256 checksum How to use checksums |
441d06c43c29590a863ec50a78915982f02c4ec49451ee7af63518eef62f5f83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / braveblock-0.5.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | braveblock-0.5.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
5d4f22aacdeb907d338db663b3709ef120bd703621ce25450de48d182c3ad5e8
|
|
BLAKE2b-256 checksum How to use checksums |
253182c8f4b4a6ed003d11ac5592b6af4d4144d80ce989b59dfe69c903d6ba39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / braveblock-0.5.1-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | braveblock-0.5.1-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
4d39105c9c60ff3ba7375c3237ca589f2f5de75333c032f29db7189d5b5fe282
|
|
BLAKE2b-256 checksum How to use checksums |
94296b34a86c81d0d131808815a83315372943e55ccc1bb3385761914d51ae5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / braveblock-0.5.1-cp310-cp310-macosx_10_7_x86_64.whl
| Download URL | braveblock-0.5.1-cp310-cp310-macosx_10_7_x86_64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.10 macOS 10.7+ x86-64 |
|
SHA-256 checksum How to use checksums |
d576b0936fdc7c5390fbca744fb25626ef58f56b8d4eb63c5ddfd2e6c77e1074
|
|
BLAKE2b-256 checksum How to use checksums |
52686d919be681dcc1082b7ba413caae795ed5a25f84296c048e1d657d2c4c49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / braveblock-0.5.1-cp39-none-win_amd64.whl
| Download URL | braveblock-0.5.1-cp39-none-win_amd64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
2cd3d3c8805c8618dc6de5ed30acb0d71007203474580d2a81b525d1ef8e25ea
|
|
BLAKE2b-256 checksum How to use checksums |
df63724ffe1d97c6316992fe3ce7ea358bffcec0323ca00c77dcbfc5779a4eab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / braveblock-0.5.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | braveblock-0.5.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
6f4287281f6df15baad7ef8d06bf46a3d315f5bdd8e897a1c56ef8b48b594486
|
|
BLAKE2b-256 checksum How to use checksums |
82a504f11f692705613de0fb8d215f33cb3cfda9e8ef49d951ff5bb976a30e57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / braveblock-0.5.1-cp39-cp39-macosx_11_0_arm64.whl
| Download URL | braveblock-0.5.1-cp39-cp39-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.9 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
093ada56bf80c2391972636056199a23de50b57475607df98f36017575c7feba
|
|
BLAKE2b-256 checksum How to use checksums |
54c632877ae62069e975c467f2a262ac16157b23a6bc4a6d6e99fe37acfbcb84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / braveblock-0.5.1-cp39-cp39-macosx_10_7_x86_64.whl
| Download URL | braveblock-0.5.1-cp39-cp39-macosx_10_7_x86_64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.9 macOS 10.7+ x86-64 |
|
SHA-256 checksum How to use checksums |
b63f0bdc4b97c4be2317554a6141c1bd35bc995612bad4fec11f02e7263a5f19
|
|
BLAKE2b-256 checksum How to use checksums |
66acba153a72a6dbed1bf76588a86bab6bf24dcb8f46a5a2014dbc52b945b353
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / braveblock-0.5.1-cp38-none-win_amd64.whl
| Download URL | braveblock-0.5.1-cp38-none-win_amd64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
3ba8e4886679e68134076b8d0734348363a23071a26e1b4dda9cc4dd7df4c24d
|
|
BLAKE2b-256 checksum How to use checksums |
09596ea8c29e582a704f02c94b31e6d19045e79bd13584fbc1ca4afc1b1d8276
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / braveblock-0.5.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | braveblock-0.5.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
3462fb33eb42e7fc153567dcf735fa745a539a076c4e477d44dcb4acb90af40d
|
|
BLAKE2b-256 checksum How to use checksums |
cfa32ef22d1e3082ff20c603a880865e8740cc8b42d13ff67a55793f740be10e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / braveblock-0.5.1-cp38-cp38-macosx_11_0_arm64.whl
| Download URL | braveblock-0.5.1-cp38-cp38-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.8 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
04e5b3738f54d1e5b81aa7e91e1ec882bab67c61923900ae5feffc24d618dabd
|
|
BLAKE2b-256 checksum How to use checksums |
573bbafc52b59e5f60b46bc56cd34e80a24a9d15a3d75ad93db1899a017f2be6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / braveblock-0.5.1-cp38-cp38-macosx_10_7_x86_64.whl
| Download URL | braveblock-0.5.1-cp38-cp38-macosx_10_7_x86_64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.8 macOS 10.7+ x86-64 |
|
SHA-256 checksum How to use checksums |
ff7ff46c5b9a3fb6cf6af663d5c3cb6e42d6eae835fbc94d5c28aa9cbb3e04f7
|
|
BLAKE2b-256 checksum How to use checksums |
de8293d6c2e94be0d28e06fab3d283dd41a4396a330b60748a24b2a95796b6d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / braveblock-0.5.1-cp37-none-win_amd64.whl
| Download URL | braveblock-0.5.1-cp37-none-win_amd64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.7 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
0ca0570f9bb0a3950f13683cd0660dc8201425c6cb660e9b749a28843dd10001
|
|
BLAKE2b-256 checksum How to use checksums |
97b322140f024151eef9503e676c60645a203a6c21cd2aeb9d841acc96c75c44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / braveblock-0.5.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | braveblock-0.5.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
b661fc0b4bc37e2144e47f0ab9209a4ea2575425cb5911bbd2caba827a265ab8
|
|
BLAKE2b-256 checksum How to use checksums |
90c1fa04e85e0e6e24e74ca654acc7cc86238cd594dcbf587c5d2275e13c2c00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / braveblock-0.5.1-cp37-cp37m-macosx_11_0_arm64.whl
| Download URL | braveblock-0.5.1-cp37-cp37m-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ca6d502754393ecd1f6957c3d23f82b86b41cabf1d86104846a30f977f8fa09e
|
|
BLAKE2b-256 checksum How to use checksums |
f783dae1c6247b0a6543e04f40772d182e27807d281e4e33608a1554b5549236
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Release files / braveblock-0.5.1-cp37-cp37m-macosx_10_7_x86_64.whl
| Download URL | braveblock-0.5.1-cp37-cp37m-macosx_10_7_x86_64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.7+ x86-64 |
|
SHA-256 checksum How to use checksums |
343c049e420f6380ec716d6e373d78a64e9debdad149dcdf54357e8a4f07cc29
|
|
BLAKE2b-256 checksum How to use checksums |
61bc303dad209d04bbfcbc50479418644c4f55bc13f893ceb0a949814f82ba7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.20
|
Security for braveblock 0.5.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.