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.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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file adblock-0.6.0.tar.gz
.
File metadata
- Download URL: adblock-0.6.0.tar.gz
- Upload date:
- Size: 21.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11651e956c69b3ee571404754df665854717255b80f437e9dc323ee82b564e72 |
|
MD5 | 46e5f48fce555c1cf8a979118c781e7a |
|
BLAKE2b-256 | f262f77f4ef114a74e15104675a1e0f77302aad72bcc0bfcdda867e4c24f7ffe |
File details
Details for the file adblock-0.6.0-cp37-abi3-win_amd64.whl
.
File metadata
- Download URL: adblock-0.6.0-cp37-abi3-win_amd64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.7+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58074d280edeb2fe53228befff42152e8f71fd7a6b7d6ff048788bba93b88729 |
|
MD5 | 354fd83f1e22b66eafb78485ad0ed9d3 |
|
BLAKE2b-256 | 5db5f769cd99493602ef7514cd0acc3e221702aaa90577410633533acd7d757c |
File details
Details for the file adblock-0.6.0-cp37-abi3-win32.whl
.
File metadata
- Download URL: adblock-0.6.0-cp37-abi3-win32.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.7+, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f750dede164f19a0915b45c1238bc7f56ce388f1b1b1bd2ad01779720000565 |
|
MD5 | 186224c832172c6dc60b7e0be8cb2e98 |
|
BLAKE2b-256 | 996e8d172b16147a58f5c0c4b60efb9e8b3333628a10df3fc4c0c1fbc7ea0934 |
File details
Details for the file adblock-0.6.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
.
File metadata
- Download URL: adblock-0.6.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
- Upload date:
- Size: 9.3 MB
- Tags: CPython 3.7+, manylinux: glibc 2.17+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f54ee39fa20bb529dc10cbd7eef4b0046eb684c2b7bc7dd6398814892e581c82 |
|
MD5 | b02189c28779c25f8ad07472fd1e6f48 |
|
BLAKE2b-256 | bdafb43dd38bf8c2fae093b621069394cc098e01e853bd8142b434e5955c3442 |
File details
Details for the file adblock-0.6.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: adblock-0.6.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 9.7 MB
- Tags: CPython 3.7+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93b40157aeab45364df39b55d947c542a803942650c43a3830799b1e89bd3215 |
|
MD5 | c041099ac12b27ded80d8c4ab9ec9591 |
|
BLAKE2b-256 | cb3f2eed1a5a7ef27d745b97f0f2d3c7544f4e37fdef8bc198f1b91cf3268ba9 |
File details
Details for the file adblock-0.6.0-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
.
File metadata
- Download URL: adblock-0.6.0-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
- Upload date:
- Size: 10.3 MB
- Tags: CPython 3.7+, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d008b53101d3e10148b66039b5df9e1ff821b8e3803480148542d614b7783abf |
|
MD5 | c8653c10db5900c22054b27a03924988 |
|
BLAKE2b-256 | 062639fad77ba6fe8bd5b1c5ebe411ea84a768075f40caa5400e889678de39b3 |
File details
Details for the file adblock-0.6.0-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
.
File metadata
- Download URL: adblock-0.6.0-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 3.3 MB
- Tags: CPython 3.7+, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3d42afa8f4bb46376bbd2e12b670b1fdf4e13b1842b1e262b40fa2c786e18fa |
|
MD5 | e99372d06ffc7fb0178c11f25702672e |
|
BLAKE2b-256 | 8251fef5e4c2c184e35d6dd47eecf2068fb9509f1447965813ff489bac7ab3f6 |
File details
Details for the file adblock-0.6.0-cp37-abi3-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: adblock-0.6.0-cp37-abi3-macosx_10_7_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.7+, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d0493e410298ef3d7bc60b303ba87a03dd09623b950b50a39351c7810678906 |
|
MD5 | c6d3d483841da9f90a2f37edfe0159db |
|
BLAKE2b-256 | 23db9dd1e59fb4229904a60db01f7aa84e34577d938f996dc394eb35c83ebe34 |