Skip to content

privatebin

PyPI - Version PyPI - Python Version License PyPI - Types

GitHub Build Workflow Status GitHub Tests Workflow Status codecov

Python library for interacting with PrivateBin's v2 API (PrivateBin >= 1.3) to create, retrieve, and delete encrypted pastes.

Installation

privatebin is available on PyPI, so you can simply use pip to install it.

  1. To install the core library:

    pip install privatebin
    
  2. To install the CLI:

    • With pipx or uv (recommended)

      pipx install "privatebin[cli]"
      
      uv tool install "privatebin[cli]"
      

    • With pip

      pip install "privatebin[cli]"
      

License

Distributed under the MIT License. See LICENSE for more information.