Skip to main content

No project description provided

Project description

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.6 python -
Rust >=1.45 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

at your option.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

adblock-0.5.1.tar.gz (19.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

adblock-0.5.1-cp36-abi3-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.6+Windows x86-64

adblock-0.5.1-cp36-abi3-win32.whl (1.2 MB view details)

Uploaded CPython 3.6+Windows x86

adblock-0.5.1-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (8.2 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARMv7l

adblock-0.5.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (8.5 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

adblock-0.5.1-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (9.1 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ x86-64

adblock-0.5.1-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (3.1 MB view details)

Uploaded CPython 3.6+macOS 10.9+ universal2 (ARM64, x86-64)macOS 10.9+ x86-64macOS 11.0+ ARM64

adblock-0.5.1-cp36-abi3-macosx_10_7_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.6+macOS 10.7+ x86-64

File details

Details for the file adblock-0.5.1.tar.gz.

File metadata

  • Download URL: adblock-0.5.1.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for adblock-0.5.1.tar.gz
Algorithm Hash digest
SHA256 eb5e43c418617d56d9920ff2bef9b251e3bd651e60427aed69a886a3fdd7b0c4
MD5 78b9e79d8c2015313a2acd720658db1d
BLAKE2b-256 f470b4dd2f9bf7eeff81baeaf6f004380840aa6473a3991c145fc2fc9c4d4323

See more details on using hashes here.

File details

Details for the file adblock-0.5.1-cp36-abi3-win_amd64.whl.

File metadata

  • Download URL: adblock-0.5.1-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.6+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for adblock-0.5.1-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 31c38b9bd05cac8ce13a3ac897384f0a0838da8d23d3eeb41c8998805b96a6b8
MD5 a483c9a8e420e90a1316d6bb35d84c59
BLAKE2b-256 f43112dd4dfefe023bc84307d8dcb9e00e8cc0b07d8a95fe944e210f91c5b7d8

See more details on using hashes here.

File details

Details for the file adblock-0.5.1-cp36-abi3-win32.whl.

File metadata

  • Download URL: adblock-0.5.1-cp36-abi3-win32.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.6+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for adblock-0.5.1-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 4c79933573c964dea4296c973fcd14a65d874a7d19e12ce0a4160667c22ca9d7
MD5 170217d0cd85681643a9fc299ea8e59e
BLAKE2b-256 5057f051879de57fde18aea7da681d224bc6f56cd3421f225d75db3541c92a77

See more details on using hashes here.

File details

Details for the file adblock-0.5.1-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for adblock-0.5.1-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 d091ba84095338721178bef51b24ca9a28bfe8f6ec1323d2ce9cc3b42a81f554
MD5 e647e581a4f934462f48f8168e8fdef8
BLAKE2b-256 07096c5ac588a602a31ef45e05f833a714b5fbfa3528bc477d7ee5dc3e469ff8

See more details on using hashes here.

File details

Details for the file adblock-0.5.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for adblock-0.5.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 32958ce7a6e646d0c2173a7de2d0dd96bba68f78593ab81567e61b3319b67433
MD5 001cfa5e3ad4f1934d015183c16bc4dc
BLAKE2b-256 e4e20d5bdb815f6c32e55785806a1cda1316eb194fec3af6143b8613d2182a83

See more details on using hashes here.

File details

Details for the file adblock-0.5.1-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for adblock-0.5.1-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 a092c88d8dc456aa14dab30ad9384aeafc20a15d7b39d355a9add135d0cba080
MD5 1904551145f5c5adf125767ca87ce318
BLAKE2b-256 5bf376743cf0b375a9f480c7d664185bc6f078959bc1817628040043fe186eaf

See more details on using hashes here.

File details

Details for the file adblock-0.5.1-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for adblock-0.5.1-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 a244353552fbc5fcf14981d1921d1504b1aac22c272a5c043fcd252593b541eb
MD5 2b0c6be8c2c47fa2197b52631807f35f
BLAKE2b-256 833c7ed1c19748a126d047618a7b21f6f9968c5c79a8a7e41d01999bd7d9396f

See more details on using hashes here.

File details

Details for the file adblock-0.5.1-cp36-abi3-macosx_10_7_x86_64.whl.

File metadata

  • Download URL: adblock-0.5.1-cp36-abi3-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.6+, macOS 10.7+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for adblock-0.5.1-cp36-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 8744418f712559759ffaa47c25340a4f7cf4f0f3c6c8bb3b7086809f36330c7a
MD5 bbd5b23bdcc000cc4d29596bd90e5569
BLAKE2b-256 6e30b307732959dcc2f126033555bb0f132db1b073999a7af83200adc0d0cfd7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page