Fast Base64 encoding/decoding with SSE2 and VSX optimizations
Project description
Base64C
A faster base64 encoding/decoding library for Python, implemented in C with SSSE3 and VSX optimizations.
Installation
pip install base64c
Usage
from base64c import b64encode, b64decode
print(b64encode(b"Hello, World!"))
print(b64decode(b64encode(b"Hello, World!")))
License
MIT
Performance
- 3-24x faster than the stdlib
base64module. - Performance increases with input size.
- Tested across different types and sizes of inputs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
base64perf-0.0.9.tar.gz
(2.7 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file base64perf-0.0.9.tar.gz.
File metadata
- Download URL: base64perf-0.0.9.tar.gz
- Upload date:
- Size: 2.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b83f1f4725b0f8a3879e7dfe6e1b6061a3076b730f981678060e8c1deab309bd
|
|
| MD5 |
7a4becfb27fe001816166ce3e9705a55
|
|
| BLAKE2b-256 |
56a26304797642cd0797a2a93280b1b1450c99f4366808eff7c9592d33dac4a5
|
File details
Details for the file base64perf-0.0.9-cp310-cp310-macosx_15_0_arm64.whl.
File metadata
- Download URL: base64perf-0.0.9-cp310-cp310-macosx_15_0_arm64.whl
- Upload date:
- Size: 8.2 kB
- Tags: CPython 3.10, macOS 15.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c878154e8a71ac142d66f7eba174509840b38cae9543bb38ba0c57b61258930
|
|
| MD5 |
c529901e98cdaa56ca9f9faccf04b8f9
|
|
| BLAKE2b-256 |
a7cedec15479aec9778a7ecc052d062537a74f52a759e7abddfa9187628f78ac
|