python-adblock
Python wrapper for Brave's adblocking library, which is written in Rust.
Building from source
Build dependencies
| Build Dependency | Versions | Arch Linux | Url |
|---|---|---|---|
| Python | >=3.7 |
python |
- |
| Rust | >=1.53 |
rust |
- |
| Maturin | >=0.10 |
maturin |
https://github.com/PyO3/maturin |
PEP 517
The python-adblock library is PEP 517 compatible, so you can build and install it from source, simply by running
pip install .
from the root of this directory.
Wheels
To create a wheel for this library, run the following command
maturin build --release --no-sdist --out dist/
the result can be found in the dist/ directory.
Developing
I use Poetry for development. To create and enter a virtual environment, do
poetry install
poetry shell
then, to install the adblock module into the virtual environment, do
maturin develop
Documentation
Rust documentation for the latest master branch can be found at https://arnidagur.github.io/python-adblock/docs/adblock/index.html.
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Metadata
Release files for adblock 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| adblock-0.6.0.tar.gz | 21.6 kB | Without provenance | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| adblock-0.6.0-cp37-abi3-win_amd64.whl | CPython 3.7 | abi3 | Windows x86-64 | Details |
| adblock-0.6.0-cp37-abi3-win32.whl | CPython 3.7 | abi3 | Windows x86-32 | Details |
| adblock-0.6.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl | CPython 3.7 | abi3 | Linux glibc 2.17+ ARMv7l | Details |
| adblock-0.6.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.7 | abi3 | Linux glibc 2.17+ ARM64 | Details |
| adblock-0.6.0-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl | CPython 3.7 | abi3 | Linux glibc 2.12+ x86-64 | Details |
| adblock-0.6.0-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl | CPython 3.7 | abi3 | macOS 11.0+ ARM64, macOS 10.9+ x86-64, macOS 10.9+ universal2 (ARM64, x86-64) | Details |
| adblock-0.6.0-cp37-abi3-macosx_10_7_x86_64.whl | CPython 3.7 | abi3 | macOS 10.7+ x86-64 | Details |
Total release size: 36.9 MB
Release files / adblock-0.6.0.tar.gz
| Download URL | adblock-0.6.0.tar.gz |
|---|---|
| Size | 21.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
11651e956c69b3ee571404754df665854717255b80f437e9dc323ee82b564e72
|
|
BLAKE2b-256 checksum How to use checksums |
f262f77f4ef114a74e15104675a1e0f77302aad72bcc0bfcdda867e4c24f7ffe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / adblock-0.6.0-cp37-abi3-win_amd64.whl
| Download URL | adblock-0.6.0-cp37-abi3-win_amd64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.7 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
58074d280edeb2fe53228befff42152e8f71fd7a6b7d6ff048788bba93b88729
|
|
BLAKE2b-256 checksum How to use checksums |
5db5f769cd99493602ef7514cd0acc3e221702aaa90577410633533acd7d757c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / adblock-0.6.0-cp37-abi3-win32.whl
| Download URL | adblock-0.6.0-cp37-abi3-win32.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.7 Windows x86-32 abi3 |
|
SHA-256 checksum How to use checksums |
4f750dede164f19a0915b45c1238bc7f56ce388f1b1b1bd2ad01779720000565
|
|
BLAKE2b-256 checksum How to use checksums |
996e8d172b16147a58f5c0c4b60efb9e8b3333628a10df3fc4c0c1fbc7ea0934
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / adblock-0.6.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
| Download URL | adblock-0.6.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl |
|---|---|
| Size | 9.3 MB |
| Tags | CPython 3.7 Linux glibc 2.17+ ARMv7l abi3 |
|
SHA-256 checksum How to use checksums |
f54ee39fa20bb529dc10cbd7eef4b0046eb684c2b7bc7dd6398814892e581c82
|
|
BLAKE2b-256 checksum How to use checksums |
bdafb43dd38bf8c2fae093b621069394cc098e01e853bd8142b434e5955c3442
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / adblock-0.6.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | adblock-0.6.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 9.7 MB |
| Tags | CPython 3.7 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
93b40157aeab45364df39b55d947c542a803942650c43a3830799b1e89bd3215
|
|
BLAKE2b-256 checksum How to use checksums |
cb3f2eed1a5a7ef27d745b97f0f2d3c7544f4e37fdef8bc198f1b91cf3268ba9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / adblock-0.6.0-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
| Download URL | adblock-0.6.0-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl |
|---|---|
| Size | 10.3 MB |
| Tags | CPython 3.7 Linux glibc 2.12+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
d008b53101d3e10148b66039b5df9e1ff821b8e3803480148542d614b7783abf
|
|
BLAKE2b-256 checksum How to use checksums |
062639fad77ba6fe8bd5b1c5ebe411ea84a768075f40caa5400e889678de39b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / adblock-0.6.0-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
| Download URL | adblock-0.6.0-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl |
|---|---|
| Size | 3.3 MB |
| Tags | CPython 3.7 abi3 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
a3d42afa8f4bb46376bbd2e12b670b1fdf4e13b1842b1e262b40fa2c786e18fa
|
|
BLAKE2b-256 checksum How to use checksums |
8251fef5e4c2c184e35d6dd47eecf2068fb9509f1447965813ff489bac7ab3f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / adblock-0.6.0-cp37-abi3-macosx_10_7_x86_64.whl
| Download URL | adblock-0.6.0-cp37-abi3-macosx_10_7_x86_64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.7 abi3 macOS 10.7+ x86-64 |
|
SHA-256 checksum How to use checksums |
4d0493e410298ef3d7bc60b303ba87a03dd09623b950b50a39351c7810678906
|
|
BLAKE2b-256 checksum How to use checksums |
23db9dd1e59fb4229904a60db01f7aa84e34577d938f996dc394eb35c83ebe34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for adblock 0.6.0
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.