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 hashes)

Uploaded Source

Built Distributions

adblock-0.5.2-cp36-abi3-win_amd64.whl (1.3 MB view hashes)

Uploaded CPython 3.6+ Windows x86-64

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

Uploaded CPython 3.6+ Windows x86

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

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 hashes)

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 hashes)

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 hashes)

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

adblock-0.5.2-cp36-abi3-macosx_10_7_x86_64.whl (1.7 MB view hashes)

Uploaded CPython 3.6+ macOS 10.7+ x86-64

Supported by

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