Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Brave's adblock library in Python

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
NotificationsYou must be signed in to change notification settings

ArniDagur/python-adblock

Repository files navigation

Python wrapper for Brave's adblocking library, which is written in Rust.

Building from source

Build dependencies

Build DependencyVersionsArch LinuxUrl
Python>=3.7python-
Rust>=1.53rust-
Maturin>=0.10maturinhttps://github.com/PyO3/maturin

PEP 517

Thepython-adblock library isPEP 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 thedist/ directory.

Developing

I use Poetry for development. To create and enter a virtual environment, do

poetry installpoetry shell

then, to install theadblock module into the virtual environment, do

maturin develop

Documentation

Rust documentation for the latestmaster branch can be found athttps://arnidagur.github.io/python-adblock/docs/adblock/index.html.

License

This project is licensed under either of

at your option.

About

Brave's adblock library in Python

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp