Skip to main content

Python bindings for the Syft crypto protocol

Project description

syft-crypto-python (PyO3 bindings)

Python bindings for the syft-crypto-protocol crate, built with PyO3 and maturin.

Quick start

uv venv
uv pip install maturin
uv run -- maturin develop --manifest-path bindings/python/Cargo.toml

python - <<'PY'
import syft_crypto_python as syc

material = syc.generate_identity_material("alice@example.com")
print(material.fingerprint)
print(material.did)
print(material.recovery_key_hex)
PY

Building wheels

uv venv
uv pip install maturin
uv run -- maturin build --release --manifest-path bindings/python/Cargo.toml
ls dist

Development

  • Format Rust code with cargo fmt
  • Format Python stubs with uv run ruff format python
  • Lint Python code with uv run ruff check python

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

syft_crypto_python-0.1.0b5.tar.gz (78.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

syft_crypto_python-0.1.0b5-cp39-abi3-win_amd64.whl (772.1 kB view details)

Uploaded CPython 3.9+Windows x86-64

syft_crypto_python-0.1.0b5-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (971.5 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ x86-64

syft_crypto_python-0.1.0b5-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.0 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

syft_crypto_python-0.1.0b5-cp39-abi3-macosx_11_0_arm64.whl (883.4 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

syft_crypto_python-0.1.0b5-cp39-abi3-macosx_10_12_x86_64.whl (897.4 kB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

Details for the file syft_crypto_python-0.1.0b5.tar.gz.

File metadata

  • Download URL: syft_crypto_python-0.1.0b5.tar.gz
  • Upload date:
  • Size: 78.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for syft_crypto_python-0.1.0b5.tar.gz
Algorithm Hash digest
SHA256 e040cd094b65db4152cd9318765fc3ba9263bb55c9ad80ad1b7368435f73bcc5
MD5 e0e6bb172d90c8cb3b8d5f0018bb8560
BLAKE2b-256 a08b816683615c8c0565d87b7227a7ee15b9e9ec3f4ba220512f766d11f92109

See more details on using hashes here.

File details

Details for the file syft_crypto_python-0.1.0b5-cp39-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for syft_crypto_python-0.1.0b5-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 59911e66cbe7b5c016a5d571b08bd3542d40df30daaaca32e962b4f6db7793e0
MD5 c8de5be23379a956939b647f57c71d74
BLAKE2b-256 c342bfd29520a0d18465b7dd1761acb14c239a8841244f1083b3d708319b8fef

See more details on using hashes here.

File details

Details for the file syft_crypto_python-0.1.0b5-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for syft_crypto_python-0.1.0b5-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 57b06865e9cf5f5c9f2c3fbb9dd1f49c8bae27ff09bc67761ff2dbe16e6be1cc
MD5 0e44d07c6296b31feae63cc109804375
BLAKE2b-256 65e2d458106cfffe0b1c95a2f854ba1664c38a33b5c772d7825e58d4ecf8c1ef

See more details on using hashes here.

File details

Details for the file syft_crypto_python-0.1.0b5-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for syft_crypto_python-0.1.0b5-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a3ec0d7d461b3deaba1c4c013cafd158e6b97d55cd7551f9173edb57fc53826c
MD5 17c43e4c838032084aba4eb108a6b208
BLAKE2b-256 ac30c3ea8c12503c82bac2a3d28737955ebd6dbd3dddd90dea403502dbd3a52a

See more details on using hashes here.

File details

Details for the file syft_crypto_python-0.1.0b5-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for syft_crypto_python-0.1.0b5-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6291b98d63006bf051be718156fbd38bba4fb64c51b4d47610faa1a170138173
MD5 b2222617a9c6d75ebf0612240110f73f
BLAKE2b-256 78e418e623a13adfcf1fb01d3ec35fd6568e03b1dc99daf93ab6060c9009a532

See more details on using hashes here.

File details

Details for the file syft_crypto_python-0.1.0b5-cp39-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for syft_crypto_python-0.1.0b5-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7a58f7fbfbe7060b6448ec4025bc7e83e5dd6b378ae9fa8be04d6f0b5d05b3f2
MD5 45a13239d37458e3c705357c1729928f
BLAKE2b-256 87ddd51b5455f86ae2adfb217b0a837da0e8ff1ef1d4fbe3e23468f7b47a6a5e

See more details on using hashes here.

Supported by

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