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.2.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.2-cp38-abi3-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+Windows x86

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

Uploaded CPython 3.8+musllinux: musl 1.2+ i686

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARMv7l

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.8+macOS 11.0+ ARM64

bip322-0.1.2-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.2.tar.gz.

File metadata

  • Download URL: bip322-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 b93263cefe68e6df1f887ec5c6927f7ae71468ad84df1fa0ffba360d89c65f75
MD5 f53dd08687d87416d8393b91fb2b14be
BLAKE2b-256 823e26c2d3365b55363f12a3b2fd1a6cc3df72abf4e60286dbad19f26a11a4bb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bip322-0.1.2-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.2-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ea3e3ac77af9a024a6e717185e16b96ca58e62a73a32e7e90aaf05276f57f591
MD5 ad1372133a0c117878e67730af6f72b3
BLAKE2b-256 c16ea7a39f27c4a7a1aa63055cadc633d9daa71bcf763b01f2945d6504dba08b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bip322-0.1.2-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.2-cp38-abi3-win32.whl
Algorithm Hash digest
SHA256 d95e639a1afbd093c34f79c5dd167860b86a1f22478c05a7ff7e200739496c42
MD5 ac49c59f16df8934c6a9c0952e7886eb
BLAKE2b-256 81e36623c0c6221e3a81e4312e3ca32f6e946f227c1011b6ea565a6b79e85873

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bip322-0.1.2-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 51a9fa75875fff0a004fd8e09fec5f67410c4cf8246567a19e98ee9416158108
MD5 7ad886f4f3bf0db6c7bd66e268dd6e6b
BLAKE2b-256 6db9470514f4827dbe6261e083568039f698c155b89be4cfefca3d59f6b207fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bip322-0.1.2-cp38-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 d899be6a9ce13e506b5d246b66045d2ce492ba37df1d1d85f3584daf5eb5a73a
MD5 f50624208edc909e96acca2daa0d4e05
BLAKE2b-256 e5700a4762eec7523767b1ab1fd6ae7223f3513f0824a2c3afcd31ca1f2567cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bip322-0.1.2-cp38-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 b3a06e590098d0b162e881df84111d36ca218dbd1775c5c614eaa336f2a813f1
MD5 590f83a18bfebbc6836a54e086115401
BLAKE2b-256 e5f3de1b0efffced126f02c505dad26c410188da6af1a9bf3e46ef925ed88caf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bip322-0.1.2-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 54001b5f353d50e21912f7261224555c5f18642b164389974070e04bcc482a26
MD5 2367e1b2c2355ad1a8f94b007b33acda
BLAKE2b-256 1d27b582ed53d48378906404cdf7c2844cd66a6f25fd05caa40787128602be90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bip322-0.1.2-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 800cba0c655a7bc5148fa1a0d7ecedca8d6e7e5924f7bee672a9dd0b2257103f
MD5 3fe691c99e1c47742171f22c64458702
BLAKE2b-256 8058f189e2b5d18ba1c73d80334da096178124b77588727a65e2e8cac7191037

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bip322-0.1.2-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 38afac094ab8d4dcd5a96428ac77c052d9c07c5b137c2f83ae4949eb4a0f5141
MD5 7a2fc56ac02d86376ddb4491c0c6a000
BLAKE2b-256 1c9edd79334ef3cc166ed661ca50899c0294e2ff558d9bda918510becec75d65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bip322-0.1.2-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 e7fa55ec2a81c9c46c61efaeb959148e6d1ad4fc5679e0a8ecb52f8e2ac9ab0e
MD5 b9894531c273023f3e0b422c25ff7fee
BLAKE2b-256 0c3d4168f34fdb543d0c62f49be72999547e98be05097014e19836a8827e83f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bip322-0.1.2-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 77e554967869e2894afa56188e95549efd0b16dc91646efd39aedc461c5f7801
MD5 56515a0e18935c1d4d09ceec0a9ebff2
BLAKE2b-256 c4a9850212dcdda0bfc6ef7c4d4d5641b1230ffe42950f6bdd068d365af851a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bip322-0.1.2-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3ec452a16fdfb62e2e5e0d56b20f9af3b6675cdf7021e4cfdfeefe5ca0726ae7
MD5 179a8ffecb4f4de38a4c3243ae84ae32
BLAKE2b-256 7a73ca07de196c28de4760492215997af5c3e9d01cd9f082a6565e438a76d760

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bip322-0.1.2-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 f2e1354b80bd01c7e54ee82b536e54e76888e1af9d984dbe8ec047893837347b
MD5 940e0e3bdadf7b0ec131499047b35334
BLAKE2b-256 741f73ad8ce7e3e73a6e1cc6475de9a0c083a18ffe8f2e933e97386d24a14cf1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bip322-0.1.2-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b917caa746a42d1ccd7aa77b2a31409a1a4dad36632ef6f618df752f6aa9ad0e
MD5 77a442bd7fa12b432fde91667d66e706
BLAKE2b-256 f804b96dfbe2331f2cbdacddcc98554e01604d21a4c3625ac4ca50b78fe7ce82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bip322-0.1.2-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 38b9bcc093a775e8776a0b21688a9cc362b3d77dcbbe470dddfe4d0038c5782b
MD5 9dd5d8e5b524475fce52609b4bb9cc55
BLAKE2b-256 3c51b292a056b3d95c2b7c0f82ff69dedfde121cb4f25a15877c265ec278e702

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