Skip to main content

Python ↔ Rust bridge for verifying BIP-322 Bitcoin message signatures.

Project description

🪙 bip322-py

Python ↔ Rust bridge for BIP-322 message verification, powered by rust-bitcoin/bip322 and PyO3.

This package provides a single, high-performance function for verifying BIP-322 (Bitcoin) signed messages directly from Python.


⚙️ Features

  • Lightweight wrapper around the Rust bip322 crate
  • Validates Bitcoin message signatures in BIP-322 simple mode
  • Fully typed and pip-installable wheel (.whl)

🧩 Installation

🧑‍💻 For end users (from PyPI)

Simply install with pip:

pip install bip322

From source (development)

# Create and activate venv (Python 3.8+)
python -m venv .venv
source .venv/bin/activate

# Install maturin and build
pip install maturin
maturin develop

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

bip322-0.2.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distributions

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

bip322-0.2.0-cp38-abi3-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.8+Windows x86-64

bip322-0.2.0-cp38-abi3-win32.whl (1.3 MB view details)

Uploaded CPython 3.8+Windows x86

bip322-0.2.0-cp38-abi3-musllinux_1_2_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ x86-64

bip322-0.2.0-cp38-abi3-musllinux_1_2_i686.whl (1.7 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ i686

bip322-0.2.0-cp38-abi3-musllinux_1_2_armv7l.whl (1.7 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARMv7l

bip322-0.2.0-cp38-abi3-musllinux_1_2_aarch64.whl (1.7 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

bip322-0.2.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB view details)

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

bip322-0.2.0-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (1.4 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ s390x

bip322-0.2.0-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (1.6 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ ppc64le

bip322-0.2.0-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.4 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ ARMv7l

bip322-0.2.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.4 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ ARM64

bip322-0.2.0-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.whl (1.5 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.5+ i686

bip322-0.2.0-cp38-abi3-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

bip322-0.2.0-cp38-abi3-macosx_10_12_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

Details for the file bip322-0.2.0.tar.gz.

File metadata

  • Download URL: bip322-0.2.0.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.10.0

File hashes

Hashes for bip322-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6f5e6a0d5efc29e16e0f7991f69c00dbe87eb911920489a49fd8fc2b4888d5a0
MD5 834998cedb787d99d26b527fe9b672ff
BLAKE2b-256 af92ab6947d9078a567ca50a6a999adb6c31b16409746060a8d86d3ccc943e65

See more details on using hashes here.

File details

Details for the file bip322-0.2.0-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: bip322-0.2.0-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.10.0

File hashes

Hashes for bip322-0.2.0-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 618316c0412a3bb437fa99635065bd750737ec22a265ca552b8e10653d9b8247
MD5 94eb15b58e569045e45e33ca2650101c
BLAKE2b-256 d68bdbd3be03488a59f5ebc53d08e900a4936470cbd4e17bf7092b9dcd80af03

See more details on using hashes here.

File details

Details for the file bip322-0.2.0-cp38-abi3-win32.whl.

File metadata

  • Download URL: bip322-0.2.0-cp38-abi3-win32.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.8+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.10.0

File hashes

Hashes for bip322-0.2.0-cp38-abi3-win32.whl
Algorithm Hash digest
SHA256 3625423c5190f27d0ba7694fc0d2a8da52bb12fe5bcfdedd60eae7291d80f5fa
MD5 b2ab0577eeab37677acc5326e68b76df
BLAKE2b-256 8ac48a77f63335b517b1a1f4b94630c843592ac1a89b2c10eaf1738151b0a982

See more details on using hashes here.

File details

Details for the file bip322-0.2.0-cp38-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for bip322-0.2.0-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3f02300c3964eeaaec064972de6d0c0c4e8e1e66db0cc39741f98aa9be6790f5
MD5 844b2b9c2a0df57c76f0a3aa3d489c81
BLAKE2b-256 68120aeadbd2ae2614f9ea43f9091977449ca2dbd1e54d3c62046026215bd479

See more details on using hashes here.

File details

Details for the file bip322-0.2.0-cp38-abi3-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for bip322-0.2.0-cp38-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 e364e5cb68b272dce4d3b7432156e6844b1d7596dc6bf17529cca8ebab2e8a87
MD5 ff07a4691b2a78680b8a78ee54d55bf0
BLAKE2b-256 512c781649d1f6550714c5f41042b54ec05a3ea9a659a5d2dbaedd9fb12b7c23

See more details on using hashes here.

File details

Details for the file bip322-0.2.0-cp38-abi3-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for bip322-0.2.0-cp38-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 d3a4012652b247cf5f4da50e20f4dcec64bcafb23b1fab1c5e0dba4c353bd6e6
MD5 d8399faa875662cb7353243c29dd250d
BLAKE2b-256 422409dfbe82e5abe414d6ea228a3e0f41876de720512e7adc6b79495049ff98

See more details on using hashes here.

File details

Details for the file bip322-0.2.0-cp38-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for bip322-0.2.0-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c20390931a979b5b41de60f3ef93a90cd9c7f958a2d0082428430bfdb1ad7870
MD5 eab71e494fa5105aa27aa7bad77acb25
BLAKE2b-256 dfcc90b4c494fda3936add51406ab6f549bc1774540e394d714758e4db64c496

See more details on using hashes here.

File details

Details for the file bip322-0.2.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bip322-0.2.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 86b6c79f7d3c6e2d18ca044caa14d7022c057b6f27d7e45914e43363acfc9641
MD5 421c39f1bbb7e8a7e7e6a3942e0a9440
BLAKE2b-256 a9017c1edecf9569a055c17755bc70355f9c46769029fc63b05a6c16831db2e7

See more details on using hashes here.

File details

Details for the file bip322-0.2.0-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for bip322-0.2.0-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 453bf756965d2f4dcc3cd825b2a256fa975c85fbb64935d62b71c5a2f10a04b3
MD5 7a9cf9b8f2d6159d4b73a56ca7ec4192
BLAKE2b-256 d94a787e057152e8b19391eea83ef7d47a0124bec29f7f014463e5dea13c1c1b

See more details on using hashes here.

File details

Details for the file bip322-0.2.0-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for bip322-0.2.0-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 e4018f1ff48402ff4b122d49abfe68190cf8b5254c2e09811b9ef2d23267e6af
MD5 35fa83d97683d887a99694c7cc4c6184
BLAKE2b-256 19f1461a14cb1e1b2ea01e30f7a475067e8f525db4481b2fb819d166327220f5

See more details on using hashes here.

File details

Details for the file bip322-0.2.0-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for bip322-0.2.0-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 e42c7e1e7a4be3186cfe2e77e31005035324e87e353620efa8c6ecc047446ea8
MD5 628520782daace5e32b954ac64f87049
BLAKE2b-256 8c923d03149be50692d03f563dcec83718123c3560ef6e0042ece0e528b2c712

See more details on using hashes here.

File details

Details for the file bip322-0.2.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for bip322-0.2.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5c96eca4d6023f9590129b843e7cde2b7820ed6931dc0576ac507b862afc44e0
MD5 40018f75e8cc0d28d9470978454fd05f
BLAKE2b-256 efb266b5bb8d1b7c612b4441ba582745baa4704a4ca10fba637ca3eef501e495

See more details on using hashes here.

File details

Details for the file bip322-0.2.0-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for bip322-0.2.0-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 3e63b353763d0911ed1f095be1bf86002d2e3e19930bc82bb79d19050330c2e3
MD5 cf4f75eb4b41a4b5d4aa52c9dbe4fcd4
BLAKE2b-256 242b6c91a2fc27b97d8ab83b5584f7a68ace73b098afca043d5f4e6696f3f2d0

See more details on using hashes here.

File details

Details for the file bip322-0.2.0-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bip322-0.2.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d1d51fd65eb8de7f2645dae60be96c1fe499055a9d168b92d1fdcc9aa956e1f4
MD5 2491e62cef44d0607fbb773ba20b11fa
BLAKE2b-256 b6cdb2e42ad5336ed8a728471e703b2a9a9412d29a0ee87d4ffd3ea4bef26129

See more details on using hashes here.

File details

Details for the file bip322-0.2.0-cp38-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for bip322-0.2.0-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6c101914750232146ed8e70994e66450ac3d81dd8749e76ea571ad54a3f265b7
MD5 e603936229269e96ade9c37a91f6ae73
BLAKE2b-256 549864b0171b2161a09976924ceeb78d3385c033c4d5c9e6d2ca73759bbc852f

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