Skip to main content

Python bindings for the Syft crypto protocol

Project description

syftbox-crypto-python (PyO3 bindings)

Python bindings for the syftbox-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 syftbox_crypto_python as sbc

material = sbc.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

syftbox_crypto_python-0.1.0b1.tar.gz (67.4 kB view details)

Uploaded Source

Built Distributions

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

syftbox_crypto_python-0.1.0b1-cp39-abi3-win_amd64.whl (615.7 kB view details)

Uploaded CPython 3.9+Windows x86-64

syftbox_crypto_python-0.1.0b1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (809.2 kB view details)

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

syftbox_crypto_python-0.1.0b1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (773.0 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

syftbox_crypto_python-0.1.0b1-cp39-abi3-macosx_11_0_arm64.whl (704.7 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

syftbox_crypto_python-0.1.0b1-cp39-abi3-macosx_10_12_x86_64.whl (752.0 kB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

Details for the file syftbox_crypto_python-0.1.0b1.tar.gz.

File metadata

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

File hashes

Hashes for syftbox_crypto_python-0.1.0b1.tar.gz
Algorithm Hash digest
SHA256 1ad074d14e1b8c1406d53a2ae4a285355bd9c8f532df0da01c360556c3647b4e
MD5 b2c5cfdda6285c8bac53f70452def62b
BLAKE2b-256 164bde374f524b56457a96ab9890fb6f81be989cc54e6cd9f17bc51b446e8299

See more details on using hashes here.

File details

Details for the file syftbox_crypto_python-0.1.0b1-cp39-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for syftbox_crypto_python-0.1.0b1-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9d721d01cfc5e28e0759890af7ea89c8f36a94fbcc0c0ae572ffcf5ac9530272
MD5 c17895dfc4a331cd1d4f438e336d0347
BLAKE2b-256 bb16f5052216b94bb9a5549bbc25b75cf4bc4406fe3a49f75e7a0fccc05b0a72

See more details on using hashes here.

File details

Details for the file syftbox_crypto_python-0.1.0b1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for syftbox_crypto_python-0.1.0b1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f593442201d9cc26b0d44ebd082962b4cf69c7ee37c31ccdb27a6a7cc12c3a5f
MD5 b81fdd04faee142d6df652771a57529a
BLAKE2b-256 bf46caee7076de4cdeac16d6a4d11df8a616ef27d0d98a6688678111ef15f39a

See more details on using hashes here.

File details

Details for the file syftbox_crypto_python-0.1.0b1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for syftbox_crypto_python-0.1.0b1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a7c9146f33e5cc0b7d318911c99aba0da8f54c2e58c7dc8e22f95c3f3c145b7d
MD5 ec963952ae37bb71ac8f942bbb4adf8a
BLAKE2b-256 b2d3cca71de9dbc698675c611820dd3111e7940527a58ad3559efdcee8bafe2d

See more details on using hashes here.

File details

Details for the file syftbox_crypto_python-0.1.0b1-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for syftbox_crypto_python-0.1.0b1-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2224d4184e9b90f3975cb6fdd9ff7210b3da87a913f7e7fc2e0b8f2d8ee9a166
MD5 3b68b1a36be22024a246c9bf07de0085
BLAKE2b-256 1e3eef2e88aed287cb89745305e71b94ad8690122887242ec9a44c7008aef9e3

See more details on using hashes here.

File details

Details for the file syftbox_crypto_python-0.1.0b1-cp39-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for syftbox_crypto_python-0.1.0b1-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 84c43a13c0d3b42923c58da9b22037d8f760ebd9ddfebdcab0f4ab4727811ab2
MD5 f78d61cf22fc42bca27c01244458513e
BLAKE2b-256 9a905634d2f11623a8893222aec287419d82aa1bcc37fbe83529d7828a91a356

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