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.0.tar.gz (19.4 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.0-cp36-abi3-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.6+Windows x86-64

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

Uploaded CPython 3.6+Windows x86

adblock-0.5.0-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.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (8.3 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

adblock-0.5.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (8.8 MB view details)

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

adblock-0.5.0-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.0-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.0.tar.gz.

File metadata

  • Download URL: adblock-0.5.0.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for adblock-0.5.0.tar.gz
Algorithm Hash digest
SHA256 c7bb626f96e0f311f5423afe8098305aa68821d374248b7e2cc61ba7048bc7b5
MD5 1183beaf1e82e16fae7a797e57de013f
BLAKE2b-256 a4228b1ab68f68de445d9fb8c4bf67e4d8023faf03706ce196a4af28abed3dd8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: adblock-0.5.0-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.6+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for adblock-0.5.0-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f348d49ab06cd7ecf15951e43dc1f70ba160703a0964e429148fa196fb6dbaa8
MD5 796feada3026b86739e9895bf4e95a15
BLAKE2b-256 66e2bcd328faad289ce8b57a4e252bee9e243d1dd4e8e78c1d0417770d9b7405

See more details on using hashes here.

File details

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

File metadata

  • Download URL: adblock-0.5.0-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.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for adblock-0.5.0-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 5eb07d8fb989779ed28925440adab425c964baca9ad2881affa25040d3f85e59
MD5 20431430b9aa8ac2a2f2b257646b1cb5
BLAKE2b-256 94996b5e6c469683296c55d4a60dc31b1cd923958d2cf51fabf12875ac522457

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adblock-0.5.0-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 4c77aa9d84d5008166eada9962162d3ed1b3626605105a86acbb9f1d548af492
MD5 a60a572ba4e4c4667e3936ed3907fb6f
BLAKE2b-256 448cc0c187526396511d59a519d64fc3a49076a8035de881f8108ccee1136382

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adblock-0.5.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 05a6d5baa882696774abfeb6686d6698d0ce3866dfe8ab96e2188fab18d12123
MD5 da4807a2d7e322d97e647df6a2f3a8c5
BLAKE2b-256 053d9c7679b8ada502627d67a3280dc1f45aa49d2ce7cc8d0088dc0d932c6533

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adblock-0.5.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 e79c35ff9a6cd60dedfc817f2ff8bee8c66247024d0428d1ae1cfdc1f2238da4
MD5 5e032b6439f602589641a7c5831fa06f
BLAKE2b-256 eaf00810b51772f5ebc83657ce9fc5b6c698e6cdf217b39f7ea8ac97d46e2f3d

See more details on using hashes here.

File details

Details for the file adblock-0.5.0-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.0-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 b54ce55d7df522bd2f2897c064748612ccd035e184ad18b205a0220e2332878c
MD5 62782115aa32958fac3304ce3aa07658
BLAKE2b-256 9a83ab3b13285fa08c0a9b2bd52033cad7ea2b5e86b79ca9da8ed2b4d242e62a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: adblock-0.5.0-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.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for adblock-0.5.0-cp36-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 1bd8380417853e574ecbf12f3adc0f058355993ab80bc91ecf786b162dbbfce1
MD5 edaba2a40b6d6a44a9c82fb26de6d144
BLAKE2b-256 f3670085142964c0d3298f567250439857da689adf057a378f03a9992ffe7856

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