Skip to main content

Rust extension providing Python bindings to the v2 signal groups

Project description

signal-groups

CircleCI

Experimental Python bindings to Signal's v2 groups implementation zkgroup. This project provides a Rust extension using PyO3 to define a signal_groups Python module. See here for a fundamental limitation storing secrets in Python-allocated memory.

⚠️USE AT YOUR OWN RISK!⚠️

Developer Getting Started

You will need both Rust and Python 3.7+ installed on your system. To install the project in your virtualenv:

pip install -r requirements.txt
python setup.py develop

Then run the tests via pytest -v tests/ to confirm all is working. Tests are (mostly) ported to Python from the upstream crate. You can use the tests as a reference for how to use the library (start with the integration tests).

When developing, simply run python setup.py develop as you make changes to rebuild the library. This script will handle compilation on the Rust side.

Building wheels

See instructions here. In brief:

docker pull quay.io/pypa/manylinux2014_x86_64
docker run --rm -v `pwd`:/io quay.io/pypa/manylinux2014_x86_64 /io/build-wheels.sh

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

signal-groups-0.1.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distributions

signal_groups-0.1.0-cp37-cp37m-manylinux2014_x86_64.whl (13.7 MB view details)

Uploaded CPython 3.7m

signal_groups-0.1.0-cp37-cp37m-macosx_10_14_x86_64.whl (21.6 MB view details)

Uploaded CPython 3.7m macOS 10.14+ x86-64

File details

Details for the file signal-groups-0.1.0.tar.gz.

File metadata

  • Download URL: signal-groups-0.1.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.6

File hashes

Hashes for signal-groups-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9f5e73e39b8d599447458da50a4a53d7edd6077fac3e190add0e57f37934613b
MD5 2fea2737a3f0ad142a9a30635aba53f1
BLAKE2b-256 d90a30fcaaf9a783fc6712ec99a20798a35d4e1f38f43e0f02aebe35aca37b3c

See more details on using hashes here.

File details

Details for the file signal_groups-0.1.0-cp39-cp39-manylinux2014_x86_64.whl.

File metadata

  • Download URL: signal_groups-0.1.0-cp39-cp39-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 21.6 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.6

File hashes

Hashes for signal_groups-0.1.0-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 df9e6b24e2cc7037170b68346ca97941c4073bfe97141f62b18192b0a1086535
MD5 1b6a94151ad0f0a3527bebc6b08c7ab0
BLAKE2b-256 e2ca14ec14eafb8fbaa0aba4fdf71b825a18fcf09de53080b03ef1af773b9e15

See more details on using hashes here.

File details

Details for the file signal_groups-0.1.0-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

  • Download URL: signal_groups-0.1.0-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 17.7 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.6

File hashes

Hashes for signal_groups-0.1.0-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f41318d57d24da9482837ba6ad1458d2c6818e8f47dac9705fdc5286789e1914
MD5 bb8186c7e5541623fac39aa5964af0fc
BLAKE2b-256 c89bd97f1ea72f3196d25b565754bc5abe65f0b6e3196e411d334f6507058b3d

See more details on using hashes here.

File details

Details for the file signal_groups-0.1.0-cp37-cp37m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: signal_groups-0.1.0-cp37-cp37m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 13.7 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.6

File hashes

Hashes for signal_groups-0.1.0-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 25cb741f5b8d8205c65b791960a4031aa1e615491247e9d85c704213a3c9a341
MD5 315d62dd1b228ff2c280b3582e858359
BLAKE2b-256 a49aa875f84b4c298e497f27ba889829364cc26fbca794bda822885f8a7cfc8f

See more details on using hashes here.

File details

Details for the file signal_groups-0.1.0-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: signal_groups-0.1.0-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 21.6 MB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.6

File hashes

Hashes for signal_groups-0.1.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 f39fa8f367e246f20b3902ad4c43ed8bc5de4640c04144f74b8bcaa4e653931a
MD5 4b0ca67eb97d43880d2679f1d088c777
BLAKE2b-256 e2bcf56ea73a79d336be2a3cc114c8f399b6c62dbfdd145af71781bae1aa7726

See more details on using hashes here.

File details

Details for the file signal_groups-0.1.0-cp36-cp36m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: signal_groups-0.1.0-cp36-cp36m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 9.8 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.6

File hashes

Hashes for signal_groups-0.1.0-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7533aef814d97d27f0eda3549df70a0456ae95b981a162a01dee8e150880a82c
MD5 afe32cbe47b7da9c089fc998675e27a4
BLAKE2b-256 bee5fefa07602bcae72708fdbc00d924c49b4f3bfb2e20163e36db134b2a4e03

See more details on using hashes here.

File details

Details for the file signal_groups-0.1.0-cp35-cp35m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: signal_groups-0.1.0-cp35-cp35m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 5.9 MB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.6

File hashes

Hashes for signal_groups-0.1.0-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7bd71deab60162dae29b5eb2630d12f37d7350721cf312017b7566e8f070ac4a
MD5 d09528c94dfe374bcc0e33f6cb57631d
BLAKE2b-256 a1b8f46d816f167fef947561727b187711c0094348c912bff885f9f012ec47d9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page