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
  • Works on macOS and Linux
  • 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.1.3.tar.gz (8.8 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.1.3-cp38-abi3-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+Windows x86

bip322-0.1.3-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.1.3-cp38-abi3-musllinux_1_2_i686.whl (1.7 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ i686

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARMv7l

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

bip322-0.1.3-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.1.3-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.1.3-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.1.3-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.1.3-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.1.3-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.1.3-cp38-abi3-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

bip322-0.1.3-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.1.3.tar.gz.

File metadata

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

File hashes

Hashes for bip322-0.1.3.tar.gz
Algorithm Hash digest
SHA256 5a6a29fd9a867f2f1249cb9302dc161a45dd815974f2b728b45f55bebbc04a04
MD5 34e921f16f51e9ead1b0292703a67cc9
BLAKE2b-256 76bee68a547113be6b21167b92f261beadb43d9da1f160ede9463e1878957f56

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bip322-0.1.3-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.9.6

File hashes

Hashes for bip322-0.1.3-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 60d7a2125503e4ffc7a8dcdac7d9bb17b551f42eed150a7f8fe7bef2682dc38f
MD5 acc5e7fc32490c993923d80968bb8ca3
BLAKE2b-256 310993c84974be2f451ef9bb1a14c2c223006a0fb5319b9e07e136cc214d64ed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bip322-0.1.3-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.9.6

File hashes

Hashes for bip322-0.1.3-cp38-abi3-win32.whl
Algorithm Hash digest
SHA256 651dcb4be30398d37e1ae7a461e71d3eee7d3d0960d20110a95a57dff5122861
MD5 b1a0a0facd8e7b50546cbd24237b608c
BLAKE2b-256 cb6b1120f6820676c6b7bb4e74cdd18fb27339f29118e4098b28fdc87a21fe3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bip322-0.1.3-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d637fe7e268c87436a550b850f9f2192562357e1b3f67cf53fa2cdbb22f52452
MD5 452caed55620f533f5f0f38df274b0b2
BLAKE2b-256 f104dd2def9633b7ca1bed5ac3185b37af8cc92fcfdcf456174f9d91cb1005d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bip322-0.1.3-cp38-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 caa1874335cb001525442b8d164124c26483bb9b91af6fd22c490c0d786045d8
MD5 af0b129181fd5cd3dfe0b24ff19e33c4
BLAKE2b-256 96812be2221f40d787bf3afb4e9b39f0594f3554b43ff8de1da1ce8c6cf4d0be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bip322-0.1.3-cp38-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 3033b66be779f75598bdeaefaf8e989449e384c54b8ed8268e3d01c71a92b43b
MD5 743a526e19b34cc8ca89dd2afbc14caa
BLAKE2b-256 f5f03ecd8ae7bf3fcd848da584976ae1d9c8a025f6ab3136f9a6e39a2c8a5ade

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bip322-0.1.3-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1a80352aecfe74a28482fceacbbc9bea4914e57a20f8c4c82ac9688a3a5242c1
MD5 244ffd311ffcc46c051a7687c3d2bf2d
BLAKE2b-256 a43ee8e7fb74cdaff12e18e09b979be5ca629cb8a6723ef6c17e34d8f5c65898

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bip322-0.1.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4114d1830c1e0e032b43f2d17e879333d056cfc5b6b2d773df4ae8e4a744643e
MD5 5f2bc125dd990f8dc3ef1fbfeaa356b1
BLAKE2b-256 563725ab8ee53fbaac2da5751375f4dcbafb3a10392d41a1024350c6af4b6247

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bip322-0.1.3-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 4f7b562f314f379ce197c953a7e1c2efa4c2c7400889e527eb7880205408ddd4
MD5 04f55eeb1a21736ef73b55238b16366a
BLAKE2b-256 6de8606d396d489d93825ef428592431ae8da6766f50c41c2a967f39b174be53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bip322-0.1.3-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 87db840d30548539af7b174016794602ec05e3ef13781610791e6e7f0f8b75d6
MD5 8a133306b1d30c8086d4b761d2ba8422
BLAKE2b-256 a8de38da75baad54a38087c8b68eecd38a1db3478b4d88c0808f13030e5ba984

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bip322-0.1.3-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 8c7d6d542d8e5d7cb1e48ad4ed987992fb6531e0243e972b312640c8830e0d9f
MD5 3ecff34eee2fb24b640b516fe1dabe5c
BLAKE2b-256 78f31d4e5771a5ff270ffb6f345bf80fa74518277561244c3152b33d89766234

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bip322-0.1.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ac5fdca8e782c9070d1c05c6b17d2d52585fc1899dbf76f6459a1002d171186a
MD5 570b260d4490888e933a24dbe0ad6ff1
BLAKE2b-256 e55877f1f364d9bad1d04384d6b4470cd205f99c670039ae7ec069ec8038c4da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bip322-0.1.3-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 284566f262372444c35094fa7f9df512c9322988f0c7e1732e5bf7817f8df7f8
MD5 f4a1b55dc517ceea10187d58bb08eaea
BLAKE2b-256 e50309657ae667242951b734be46972c78f2f9f54e00b54a599e848d0aa6724a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bip322-0.1.3-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4c3859375120326dd2bea5778c7a01db10b48dd38a3bee51bc07d6521b87ce2b
MD5 3cbda1485b35a6ff89f511a35a9e1e70
BLAKE2b-256 32054ca349be3c2c5e7d868f25ce8007b2d10571acc338996a3ed6f1781091e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bip322-0.1.3-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 37952309f66fdf8d5cf8a9a1f7e79ca02e5728562551bd68738359667494e185
MD5 a4fd661a23534467adc4cbce7f5314f5
BLAKE2b-256 1fa1e2da1f91a6337628768825d7636963b937ccc213bd6a3f356952e5bc6ee6

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