Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

adblock

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adblock

  • 0.6.0
  • PyPI
  • Socket score

Maintainers
1

python-adblock

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

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc