Socket
Socket
Sign inDemoInstall

biscuit-python

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

biscuit-python

Python bindings for the biscuit auth platform


Maintainers
1

Python bindings for biscuit

This library provides python bindings to the biscuit_auth rust library.

As it is a pre-1.0 version, you can expect some API changes. However, most of the use cases are covered:

  • building a token
  • appending a (first-party) block to a token
  • parsing a token
  • authorizing a token
  • querying an authorizer

Notable missing features are:

  • sealing tokens
  • third-party blocks
  • snapshots

There are no blockers for these features, they just have not been properly exposed yet.

Documentation

Documentation is available at https://python.biscuitsec.org.

Installation

biscuit-python is published on PyPI: biscuit-python:

pip install biscuit-python

Building/Testing

Set up a virtualenv and install the dev dependencies. Plenty of ways to do that... Here's one of them:

$ python -m venv .env
$ source .env/bin/activate
$ pip install -r requirements-dev.txt

With that, you should be able to run maturin develop to build and install the extension. You can then import biscuit_auth in a Python shell to play around, or run pytest to run the Python tests.

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