Skip to main content

Reference implementation for Bech32 and segwit addresses.

Project description

bech32

Since this implementation wasn't in a place that was easy to use for Python programmers I took it from from https://github.com/rustyrussell/lightning-payencode and published on GitHub and on PyPI.

The original version of this package is probably the one at https://github.com/sipa/bech32/tree/master/ref/python, but apparently Rusty Russel commented out the 90-length limit of bech32-encoded stuff so it could be used for Lightning invoices. Let's keep that change.

Install

pip install bech32

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

bech32-1.2.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

bech32-1.2.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file bech32-1.2.0.tar.gz.

File metadata

  • Download URL: bech32-1.2.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.0

File hashes

Hashes for bech32-1.2.0.tar.gz
Algorithm Hash digest
SHA256 7d6db8214603bd7871fcfa6c0826ef68b85b0abd90fa21c285a9c5e21d2bd899
MD5 410353aa23912ce07158955187f1bfcc
BLAKE2b-256 abfeb67ac9b123e25a3c1b8fc3f3c92648804516ab44215adb165284e024c43f

See more details on using hashes here.

File details

Details for the file bech32-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: bech32-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.0

File hashes

Hashes for bech32-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 990dc8e5a5e4feabbdf55207b5315fdd9b73db40be294a19b3752cde9e79d981
MD5 cc97d7de03e5b69eb795fc28ebb8025f
BLAKE2b-256 b6417022a226e5a6ac7091a95ba36bad057012ab7330b9894ad4e14e31d0b858

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page