Skip to main content

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

Release files for bech32 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bech32 1.2.0
File Size Uploaded
bech32-1.2.0.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bech32 1.2.0
File Interpreter ABI Platform
bech32-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / bech32-1.2.0.tar.gz

Download URL bech32-1.2.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7d6db8214603bd7871fcfa6c0826ef68b85b0abd90fa21c285a9c5e21d2bd899
BLAKE2b-256 checksum
How to use checksums
abfeb67ac9b123e25a3c1b8fc3f3c92648804516ab44215adb165284e024c43f
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / bech32-1.2.0-py3-none-any.whl

Download URL bech32-1.2.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
990dc8e5a5e4feabbdf55207b5315fdd9b73db40be294a19b3752cde9e79d981
BLAKE2b-256 checksum
How to use checksums
b6417022a226e5a6ac7091a95ba36bad057012ab7330b9894ad4e14e31d0b858
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page