Skip to main content

ooniauth-py

This is the bindings library used to call the anonymous credentials library from Python land

We use this in our backend implement the anonymous credentials protocol in our API

Installation

You can install this library by running:

pip install ooniauth-py

Development requirements

These tools are required to contribute to this library

  1. maturin: Is used to build the library itself, it's heavily used to develop this library

In order to use maturin, you need a virtual environment to manage the resulting Python package during development, see more details here

Testing installation

Run the Rust tests with:

cargo test

The Python extension-module linker mode is enabled only for Maturin builds. If you need to test against a specific Python interpreter, activate a virtualenv or set PYO3_PYTHON before running the tests. The virtualenv must point to a base Python installation which provides an embeddable shared library.

Usage

  1. Create a ready-to-use .whl to import in python: make wheels
  • Note: You will find the wheels file in: /userauth/ooniauth-py/wheels
  1. Build the library and install it in a virtualenv for trying it in Python: make dev
  • Note: Requires an active virtual environment to install the library
  1. Run tests: make test

Metadata

Release files for ooniauth-py 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for ooniauth-py 0.3.3
File Interpreter ABI Platform Actions
ooniauth_py-0.3.3-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details for ooniauth_py-0.3.3-cp310-abi3-manylinux_2_28_x86_64.whl
ooniauth_py-0.3.3-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for ooniauth_py-0.3.3-cp310-abi3-macosx_11_0_arm64.whl

Total release size: 1.2 MB

Release files / ooniauth_py-0.3.3-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL ooniauth_py-0.3.3-cp310-abi3-manylinux_2_28_x86_64.whl
Size 649.5 kB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
123262c953c598b08c5ce16f85b3ed8fc68e346e868910c618203325334a2800
BLAKE2b-256 checksum
How to use checksums
2a27d5abe1f671c606b58fe858e1f03e4fdea26629a1e5b9100d353ef54e7b91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.14

Release files / ooniauth_py-0.3.3-cp310-abi3-macosx_11_0_arm64.whl

Download URL ooniauth_py-0.3.3-cp310-abi3-macosx_11_0_arm64.whl
Size 583.7 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7a280f9f1f36159fc93cf2c98d51014c355a24cf0bed75a9cea28ad40015defb
BLAKE2b-256 checksum
How to use checksums
6ef7c4e139efe452abf7885af922d1245b9786bef2c22001a017acb7ba43360e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.14

Security for ooniauth-py 0.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page