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.2b2.tar.gz (83.3 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.2b2-cp39-abi3-win_amd64.whl (777.5 kB view details)

Uploaded CPython 3.9+Windows x86-64

syft_crypto_python-0.1.2b2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (981.1 kB view details)

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

syft_crypto_python-0.1.2b2-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.2b2-cp39-abi3-macosx_11_0_arm64.whl (890.4 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

syft_crypto_python-0.1.2b2-cp39-abi3-macosx_10_12_x86_64.whl (915.0 kB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

Details for the file syft_crypto_python-0.1.2b2.tar.gz.

File metadata

  • Download URL: syft_crypto_python-0.1.2b2.tar.gz
  • Upload date:
  • Size: 83.3 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.2b2.tar.gz
Algorithm Hash digest
SHA256 9ea153817f2b2b18db38b6a23bb35f1a165ab0128713147c3b69fe42de1cc1e7
MD5 a167928a1f45d10fdcafd543fa694364
BLAKE2b-256 8b5634e14f3a07483f202229d3df02ea1b617356bd8bd4323ba546e95da1b867

See more details on using hashes here.

File details

Details for the file syft_crypto_python-0.1.2b2-cp39-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for syft_crypto_python-0.1.2b2-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9a7e931c60e8af27e8c2cbe689f804fd4209dfbd68c7675805d6b45ec9d347f1
MD5 9f452d6403778adfd3c0782a30f7d73c
BLAKE2b-256 a4ecb33a2f52806682582318f0ec85b94d7d89d82923f4aa964245edb576a477

See more details on using hashes here.

File details

Details for the file syft_crypto_python-0.1.2b2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for syft_crypto_python-0.1.2b2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d5c5168f6681f8291816f435a895ebbdea360177db1c70e3df9c8f554e250939
MD5 bd630546758c7b706ad993ac25e2e881
BLAKE2b-256 fdba7b72841401aed267d8a0a0f04ce426bc097eefc305a716e43fa4843c76ea

See more details on using hashes here.

File details

Details for the file syft_crypto_python-0.1.2b2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for syft_crypto_python-0.1.2b2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b8042a2040256f4e624fea60c580c7fe54013e8a6b497fd930cb296b7caf5a93
MD5 24eddac7b5ec10f7de1b75d19077cda5
BLAKE2b-256 9502c6e8f3cabdeb89f77da3830bc3ff41988f31794f9d360fd3123f81cb0719

See more details on using hashes here.

File details

Details for the file syft_crypto_python-0.1.2b2-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for syft_crypto_python-0.1.2b2-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1eab6e59ace8f8676571bdec731c1c48f4d710ae5eb5d7a1b40e1607219966ac
MD5 f128ddc365279a3aa21d455f47f70903
BLAKE2b-256 02d921198eed305ad24c86850e0c3b14afe68a3c6a54e398223401b6ebd9d3bd

See more details on using hashes here.

File details

Details for the file syft_crypto_python-0.1.2b2-cp39-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for syft_crypto_python-0.1.2b2-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 842effb8b86d6a8fffc30da5b299e15188b76d4820527f440988548a2ba3de10
MD5 59d261b24aa6718fbd23315f9e79652e
BLAKE2b-256 b950eb1d6f4fe4f118f91dbc74c619c7186faa6ac774119c3cd76d69ff23b6dd

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