2 files were added to this release more than 14 days after its initial publication. Inspect the release files before installing.
based58
A fast base-58 Python library
based58 is a fast Python library for
Base58
encoding and decoding. It includes support for Base58Check and configurable alphabets.
It is significantly faster than the pure-Python base58 library, as it calls the Rust bs58 library under the hood.
The API mimics that of the base58 library, with the exception that string inputs are not
supported, only bytes.
Installation
pip install based58
Note: requires Python >= 3.7.
Usage
>>> import based58
>>> data = [1, 2, 3]
>>> based58.b58encode(b'hello world')
b'StV1DL6CwTryKyV'
>>> based58.b58decode(b'StV1DL6CwTryKyV')
b'hello world'
>>> based58.b58encode_check(b'hello world')
b'3vQB7B6MrGQZaxCuFg4oh'
>>> based58.b58decode_check(b'3vQB7B6MrGQZaxCuFg4oh')
b'hello world'
>>> based58.b58encode(b'hello world', alphabet=based58.Alphabet.RIPPLE)
b'StVrDLaUATiyKyV'
>>> based58.b58decode(b'StVrDLaUATiyKyV', alphabet=based58.Alphabet.RIPPLE)
b'hello world'
Development
Setup
- Install poetry
- Install dev dependencies:
poetry install
- Activate the poetry shell:
poetry shell
Testing
- Run
maturin developto compile the Rust code. - Run
make fmt,make lint, andmake test.
Metadata
Release files for based58 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Files added late
2 files were uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| based58-0.1.1.tar.gz | 3.6 kB | Details |
Built distributions (wheels)
Total release size: 13.6 MB
Release files / based58-0.1.1.tar.gz
| Download URL | based58-0.1.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80804b346b34196c89dc7a3dc89b6021f910f4cd75aac41d433ca1880b1672dc
|
|
BLAKE2b-256 checksum How to use checksums |
00a9dbf5ff314d7b7d3b3246e01f2f6cbb880b62c7a958a8520237b982db191a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.12
|
Release files / based58-0.1.1-cp37-abi3-win_amd64.whl
| Download URL | based58-0.1.1-cp37-abi3-win_amd64.whl |
|---|---|
| Size | 141.5 kB |
| Tags | CPython 3.7 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
ab85804a401a7b5a7141fbb14ef5b5f7d85288357d1d3f0085d47e616cef8f5a
|
|
BLAKE2b-256 checksum How to use checksums |
7b1335a9ee917ef05d734b0aa75400cfff44325594894d8d928d36b4dc0030d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.12
|
Release files / based58-0.1.1-cp37-abi3-win32.whl
| Download URL | based58-0.1.1-cp37-abi3-win32.whl |
|---|---|
| Size | 135.5 kB |
| Tags | CPython 3.7 Windows x86-32 abi3 |
|
SHA-256 checksum How to use checksums |
d8dece575de525c1ad889d9ab239defb7a6ceffc48f044fe6e14a408fb05bef4
|
|
BLAKE2b-256 checksum How to use checksums |
9e7c5c7c9e6d1ddd083a4cf25c4182fbaacfa7371ac9e82479c98aa29830bb8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.12
|
Release files / based58-0.1.1-cp37-abi3-musllinux_1_2_x86_64.whl
| Download URL | based58-0.1.1-cp37-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.7 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
ae7f17b67bf0c209da859a6b833504aa3b19dbf423cbd2369aa17e89299dc972
|
|
BLAKE2b-256 checksum How to use checksums |
1879ed5278c4ef0dd8ab7695417c132329064ae6f8963f12521cb0b1b6c8e71f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.12
|
Release files / based58-0.1.1-cp37-abi3-musllinux_1_2_i686.whl
| Download URL | based58-0.1.1-cp37-abi3-musllinux_1_2_i686.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.7 Linux musl 1.2+ x86-32 abi3 |
|
SHA-256 checksum How to use checksums |
aba18f6c869fade1d1551fe398a376440771d6ce288c54cba71b7090cf08af02
|
|
BLAKE2b-256 checksum How to use checksums |
58c1603af0cf18e7c72f31089cced681b599caa2a011d0ca16cfe2a676e33ceb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.12
|
Release files / based58-0.1.1-cp37-abi3-musllinux_1_2_armv7l.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | based58-0.1.1-cp37-abi3-musllinux_1_2_armv7l.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.7 Linux musl 1.2+ ARMv7l abi3 |
|
SHA-256 checksum How to use checksums |
621269732454875510230b85053f462dffe7d7babecc8c553fdb488fd15810ff
|
|
BLAKE2b-256 checksum How to use checksums |
f7e8774840132f2c7ded2f377fb22c1c6ddaa2041c4ea4d42d1547bc6758af89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.13.0
|
Release files / based58-0.1.1-cp37-abi3-musllinux_1_2_aarch64.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | based58-0.1.1-cp37-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.7 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
6c03c7f0023981c7d52fc7aad23ed1f3342819358b9b11898d693c9ef4577305
|
|
BLAKE2b-256 checksum How to use checksums |
1b792b77d260e67b7135b050279a9b74fe4d45c4edf63a08cdff2d334fd7f4b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.13.0
|
Release files / based58-0.1.1-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
| Download URL | based58-0.1.1-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.7 Linux glibc 2.17+ IBM System/390x abi3 |
|
SHA-256 checksum How to use checksums |
0506435e98836cc16e095e0d6dc428810e0acfb44bc2f3ac3e23e051a69c0e3e
|
|
BLAKE2b-256 checksum How to use checksums |
cbbc9bdba9ef4b2185d12c9ba4028168081ce2359d399087f51415db11073a44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.12
|
Release files / based58-0.1.1-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
| Download URL | based58-0.1.1-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.7 Linux glibc 2.17+ PowerPC 64-le abi3 |
|
SHA-256 checksum How to use checksums |
2a9db744be79c8087eebedbffced00c608b3ed780668ab3c59f1d16e72c84947
|
|
BLAKE2b-256 checksum How to use checksums |
43adec48ad774b33ff521cec8355e7fb782f3f11761cc4a7342c054faf5fd747
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.12
|
Release files / based58-0.1.1-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
| Download URL | based58-0.1.1-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.7 Linux glibc 2.17+ PowerPC 64-be abi3 |
|
SHA-256 checksum How to use checksums |
06f3c40b358b0c6fc6fc614c43bb11ef851b6d04e519ac1eda2833420cb43799
|
|
BLAKE2b-256 checksum How to use checksums |
1f7e748debfbe5146394893f6f60a77b5fe343a093850340d312e4ddac03190f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.12
|
Release files / based58-0.1.1-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
| Download URL | based58-0.1.1-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl |
|---|---|
| Size | 1.0 MB |
| Tags | CPython 3.7 Linux glibc 2.17+ ARMv7l abi3 |
|
SHA-256 checksum How to use checksums |
3fb17f0aaaad0381c8b676623c870c1a56aca039e2a7c8416e65904d80a415f7
|
|
BLAKE2b-256 checksum How to use checksums |
0170ed49e0a541fae6de7ef0858b08fc95ab7223c3f39aa5e30e03bba498f355
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.12
|
Release files / based58-0.1.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | based58-0.1.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 1.0 MB |
| Tags | CPython 3.7 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
852c37206374a62c5d3ef7f6777746e2ad9106beec4551539e9538633385e613
|
|
BLAKE2b-256 checksum How to use checksums |
d7bcd6bd738adf98bf4102dfeb33aa7ac58ede12ea924fea89a9751a8ec9c15b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.12
|
Release files / based58-0.1.1-cp37-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
| Download URL | based58-0.1.1-cp37-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl |
|---|---|
| Size | 1.0 MB |
| Tags | CPython 3.7 Linux glibc 2.5+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
14b01d91ac250300ca7f634e5bf70fb2b1b9aaa90cc14357943c7da525a35aff
|
|
BLAKE2b-256 checksum How to use checksums |
6a30216be65c673259d6227c34690ce35e81858177bc6ad3cffab6699c93e115
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.12
|
Release files / based58-0.1.1-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl
| Download URL | based58-0.1.1-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl |
|---|---|
| Size | 1.0 MB |
| Tags | CPython 3.7 Linux glibc 2.5+ x86-32 abi3 |
|
SHA-256 checksum How to use checksums |
8937e97fa8690164fd11a7c642f6d02df58facd2669ae7355e379ab77c48c924
|
|
BLAKE2b-256 checksum How to use checksums |
a68573ef6c410a5525b0a95c84a7e5e0902ce1d690a5f86ef36b0224d333e7b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.12
|
Release files / based58-0.1.1-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
| Download URL | based58-0.1.1-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl |
|---|---|
| Size | 492.7 kB |
| Tags | CPython 3.7 abi3 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
f8448a71678bd1edc0a464033695686461ab9d6d0bc3282cb29b94f883583572
|
|
BLAKE2b-256 checksum How to use checksums |
7aa2e1436e5ae5a9e117d248017bef101ee99c47549af6ad15bc58b018174202
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.12
|
Release files / based58-0.1.1-cp37-abi3-macosx_10_7_x86_64.whl
| Download URL | based58-0.1.1-cp37-abi3-macosx_10_7_x86_64.whl |
|---|---|
| Size | 251.8 kB |
| Tags | CPython 3.7 abi3 macOS 10.7+ x86-64 |
|
SHA-256 checksum How to use checksums |
745851792ce5fada615f05ec61d7f360d19c76950d1e86163b2293c63a5d43bc
|
|
BLAKE2b-256 checksum How to use checksums |
901d10b5d61e11f96cc2f038b06776a9761465b1d020bf0e95e60da23a3a3ba8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.12.12
|