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.49 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.2.tar.gz (21.1 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.2-cp36-abi3-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.6+Windows x86-64

adblock-0.5.2-cp36-abi3-win32.whl (1.3 MB view details)

Uploaded CPython 3.6+Windows x86

adblock-0.5.2-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (9.0 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARMv7l

adblock-0.5.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (9.3 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

adblock-0.5.2-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (9.8 MB view details)

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

adblock-0.5.2-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (3.3 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.2-cp36-abi3-macosx_10_7_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.6+macOS 10.7+ x86-64

File details

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

File metadata

  • Download URL: adblock-0.5.2.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for adblock-0.5.2.tar.gz
Algorithm Hash digest
SHA256 449d4724769d4a8bc96bf0256b40e57eafe91d69e24503c27ceb9de0e5e5fe03
MD5 bc38178bd980bbb0472bead80f835367
BLAKE2b-256 61c4431bb448b93612d35ff2ea2ec39c9bfb864756e3b87f4fc5d2764f994dab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: adblock-0.5.2-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.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for adblock-0.5.2-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 aaa5b28747426496c27289a16c7fd4dbf52545d8b37c6789aaa982b416996165
MD5 8d40c69e732f569a3f78046917f4b866
BLAKE2b-256 9288065a0c2681c56e7d4f2c4513bc3cee71135fe682d350bf91083fc2185ecc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: adblock-0.5.2-cp36-abi3-win32.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.6+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for adblock-0.5.2-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 87802f42cd88e7735ac5f8a7477b273667045b5cd67fc9580aaee7cedc54b30e
MD5 d3ccdabe56f5b39e1811c887487f81f3
BLAKE2b-256 02e186637ff9384ef9b065b92d26f5607cc880b26f0edb08a993fa9bfe109b05

See more details on using hashes here.

File details

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

File metadata

  • Download URL: adblock-0.5.2-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
  • Upload date:
  • Size: 9.0 MB
  • Tags: CPython 3.6+, manylinux: glibc 2.17+ ARMv7l
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for adblock-0.5.2-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 5bf45ae81fb155e1e2c0a55c867de8c575e0ef1c58057de326cf76af152eeba9
MD5 ab174a763b34a8799ee60fbefed2e182
BLAKE2b-256 a9f3c32509dc1160192600517484f976e8fd052b4382f2791db2cf08f51f6747

See more details on using hashes here.

File details

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

File metadata

  • Download URL: adblock-0.5.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
  • Upload date:
  • Size: 9.3 MB
  • Tags: CPython 3.6+, manylinux: glibc 2.17+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for adblock-0.5.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 14ad06c3715a5ee70558ad80b751e42df60a078f3b052df769d170ab502442f1
MD5 9dc1185f680491e312f4dda9c0f8ba9f
BLAKE2b-256 f5ed8e216954abf6c806d762da55e92bf04cf145d7d96ece5f5876b73965005e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: adblock-0.5.2-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
  • Upload date:
  • Size: 9.8 MB
  • Tags: CPython 3.6+, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for adblock-0.5.2-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 422f9a802ba0d1546cd8b14966c3fe0a003648217d356273e12ddee5f6fd9da4
MD5 d45a0ceee0df8ec1a6f62c4697355074
BLAKE2b-256 272e2d98eba665d3d70f4d0bc8e807bac660be0db66330e990978168c05a51a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: adblock-0.5.2-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: CPython 3.6+, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for adblock-0.5.2-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 0708c3fe307b7bfb1f43ea63d4c8e5d77814f51a2386f2416d794849a9e7a8ab
MD5 887354a7df90c161779f49d7ccf96df8
BLAKE2b-256 ca07201eea0fbb4a2f89eca466b400c0d692d342a9b9be9eed81377b3d3af699

See more details on using hashes here.

File details

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

File metadata

  • Download URL: adblock-0.5.2-cp36-abi3-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.6+, macOS 10.7+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for adblock-0.5.2-cp36-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 23e2250c24d69af8cc3c83c5b061e4cec122e5e0789ff3b2dc8934df3abc6156
MD5 5a660a72c665eebd02cf18c3f2597faf
BLAKE2b-256 ae114604d8cb89a9065bfedd236dab157584a06e137bc46370c4ed8f6f55ba70

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