Quick Base58 (qbase58)
A quick base58 encoder/decoder implementation written in C, with Python bindings.
Install
pip install qbase58
Usage
import qbase58
string = b"Hello, World!"
encoded = qbase58.encode(string)
print(f"Encoded: {encoded}")
decoded = qbase58.decode(encoded)
print(f"Decoded: {decoded}")
Benchmark
Comparing with the two other Python base58 libraries:
--- Data Set: SMALL (size=100 bytes) ---
base58 => avg: 45.1845 ms (std: 2.7698 ms) over 1000 iterations
based58 => avg: 12.7324 ms (std: 0.1445 ms) over 1000 iterations
qbase58 => avg: 6.5189 ms (std: 0.0414 ms) over 1000 iterations
--- Data Set: MEDIUM (size=1000 bytes) ---
base58 => avg: 763.2404 ms (std: 3.9402 ms) over 500 iterations
based58 => avg: 646.2393 ms (std: 2.4316 ms) over 500 iterations
qbase58 => avg: 320.7714 ms (std: 1.1277 ms) over 500 iterations
--- Data Set: LARGE (size=5000 bytes) ---
base58 => avg: 319.6193 ms (std: 1.5274 ms) over 10 iterations
based58 => avg: 320.4021 ms (std: 1.2545 ms) over 10 iterations
qbase58 => avg: 162.0134 ms (std: 0.7824 ms) over 10 iterations
See scripts/benchmark.py for benchmarking details.
Metadata
Release files for qbase58 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| qbase58-1.0.4.tar.gz | 9.0 kB | Details |
Built distributions (wheels)
Total release size: 467.3 kB
Release files / qbase58-1.0.4.tar.gz
| Download URL | qbase58-1.0.4.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8c4532948c87836040c936351e600baf01bb33e45e30c1e931710cd3692b1f7
|
|
BLAKE2b-256 checksum How to use checksums |
f13d45f78c8e91bd0e1a509c350a1178e19761174842860479c82e3f70a498a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 18, 2025.
Transparency logRelease files / qbase58-1.0.4-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | qbase58-1.0.4-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 18.6 kB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.10 PyPy 3.10 7.3 |
|
SHA-256 checksum How to use checksums |
08ab771bf11988b0a0dd6ddbf1814609cf5704985fa058d1ce84ff850a86dd1a
|
|
BLAKE2b-256 checksum How to use checksums |
f1f957730b0837d752be5d66e074f09e64ee67109d4ef8d7d2f7d8dc80d2a1a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 18, 2025.
Transparency logRelease files / qbase58-1.0.4-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | qbase58-1.0.4-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 18.6 kB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.9 PyPy 3.9 7.3 |
|
SHA-256 checksum How to use checksums |
41c1eee958a2a996a1b6e9ab6680c2baf0c77fc98879c225bbf5bf37ed6c79fb
|
|
BLAKE2b-256 checksum How to use checksums |
5e21d1fa9faab34a23ab4a7f288d577c11a2bfe9e18e317c8ad81ac858abb32f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 18, 2025.
Transparency logRelease files / qbase58-1.0.4-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | qbase58-1.0.4-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 18.5 kB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.8 PyPy 3.8 7.3 |
|
SHA-256 checksum How to use checksums |
1e5820a8f9cbe73305c2c78243cf6afc0599c46f7ae20cd1ea834cc91fdf778d
|
|
BLAKE2b-256 checksum How to use checksums |
02d7875d73695699be38deefa9f63933f6fbe0272147e3cfee935dd3f3bb5c95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 18, 2025.
Transparency logRelease files / qbase58-1.0.4-cp313-cp313-musllinux_1_2_x86_64.whl
| Download URL | qbase58-1.0.4-cp313-cp313-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 33.4 kB |
| Tags | CPython 3.13 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
38e5c09cf37a994ddeb7d68f76c3f44c04756d224c4c9e524d6132855e149ae6
|
|
BLAKE2b-256 checksum How to use checksums |
a3677469b17885cb290bd569c2008f77814670289719f2e5a2944866dcc905dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 18, 2025.
Transparency logRelease files / qbase58-1.0.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | qbase58-1.0.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 34.3 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
4a1892b752828564b06628fdac5e39dcbd41e91526b4d5bc84fd24fddb0eabed
|
|
BLAKE2b-256 checksum How to use checksums |
2ce1fa56ef29f7bdcc3dbbf4e886c4f5cb9d4c024d39da63af0bd0429c2e304c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 18, 2025.
Transparency logRelease files / qbase58-1.0.4-cp312-cp312-musllinux_1_2_x86_64.whl
| Download URL | qbase58-1.0.4-cp312-cp312-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 33.3 kB |
| Tags | CPython 3.12 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
6bde43041383cfdca524c41a9a30c1d13124fbfeb165a6c9da783ac6f23ec4e7
|
|
BLAKE2b-256 checksum How to use checksums |
24c22ed800a5baea30c437262b14a47763bc422d162519f5b2f04da8d8b52fa9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 18, 2025.
Transparency logRelease files / qbase58-1.0.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | qbase58-1.0.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 34.4 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
575f357aa274f08ff817193dde07b89b1715c6f5a3d47391ff2e2d1b2b32a7fd
|
|
BLAKE2b-256 checksum How to use checksums |
81514146b1e3deaeeedc0b556c60982e7faa0f81fc900355db8cfe7660841528
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 18, 2025.
Transparency logRelease files / qbase58-1.0.4-cp311-cp311-musllinux_1_2_x86_64.whl
| Download URL | qbase58-1.0.4-cp311-cp311-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 33.0 kB |
| Tags | CPython 3.11 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
a49b840a0c6ff3189fbe62c267ddeed1b26f4eba5bc0b5a45466c33770372ee5
|
|
BLAKE2b-256 checksum How to use checksums |
9de6e94009ea3328230fb3edbf7faf60a5929b6367a3258f5cd2b9f116ea9777
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 18, 2025.
Transparency logRelease files / qbase58-1.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | qbase58-1.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 34.0 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
485bc950e99d0e97e209439222fa7adcbbcfebcebf6324aa0769377764dd623e
|
|
BLAKE2b-256 checksum How to use checksums |
babcc18acfac2b497fa33afd0bc649df61700571441b56f577149d65c4968432
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 18, 2025.
Transparency logRelease files / qbase58-1.0.4-cp310-cp310-musllinux_1_2_x86_64.whl
| Download URL | qbase58-1.0.4-cp310-cp310-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 32.9 kB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
edb4f0745f9e739a091619707e2218d5399f56d6cfeb87714ab7623769f3346d
|
|
BLAKE2b-256 checksum How to use checksums |
b03f54c48b1084d94702e30008ce91b013e7cab146f5a8b1dff5506ddbcd7647
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 18, 2025.
Transparency logRelease files / qbase58-1.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | qbase58-1.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 34.0 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
f76d25e5cb694fe1271e67d9df171561c7802252ed319f7ef4e7c47d5381616f
|
|
BLAKE2b-256 checksum How to use checksums |
a0e0d31e0dffd25cd27994dbb0aff6b534866a4c4c401817c8a169b548158e51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 18, 2025.
Transparency logRelease files / qbase58-1.0.4-cp39-cp39-musllinux_1_2_x86_64.whl
| Download URL | qbase58-1.0.4-cp39-cp39-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 32.8 kB |
| Tags | CPython 3.9 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
a654603909e4e8243255e1d98e20f513e5019edbb85381bc4394410471ebc51c
|
|
BLAKE2b-256 checksum How to use checksums |
11c8d08495accb64575171de9af14f08c5b2e0781fafe18dcb767c233cd5281b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 18, 2025.
Transparency logRelease files / qbase58-1.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | qbase58-1.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 33.8 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
0686fdd2e16a37c3d7fac9bc90602abc266d1e76de220f9993407dbd8a2dca56
|
|
BLAKE2b-256 checksum How to use checksums |
6180bafb3ff0372bbd0afc9b37eb7b8cca52e314bfa99d2112fea87e0fd691a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 18, 2025.
Transparency logRelease files / qbase58-1.0.4-cp38-cp38-musllinux_1_2_x86_64.whl
| Download URL | qbase58-1.0.4-cp38-cp38-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 32.7 kB |
| Tags | CPython 3.8 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
73b6c612f85ef5d431b69a32cad324d87be28a887a8b76cf70ea322b6a0e6b10
|
|
BLAKE2b-256 checksum How to use checksums |
c5aaf69a0f5c2b9473b70df9e9c173e38f3c99263107765773016ab7034189c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 18, 2025.
Transparency logRelease files / qbase58-1.0.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | qbase58-1.0.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 34.2 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
d966de6831f5392ec31e350fa9de993a2804091e21423ae2a9dfe6b7a9c777f7
|
|
BLAKE2b-256 checksum How to use checksums |
0be028cd99849d3bad8a3130b48e805d66c0087d6ca85ab80903c8dc3a246b58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 18, 2025.
Transparency log