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
base64
module. - 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
cbase64-0.0.9.tar.gz
(6.4 kB
view hashes)
Built Distribution
Close
Hashes for cbase64-0.0.9-cp310-cp310-macosx_13_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1cd2c3775b51d697d89ee5568d45b34bdb384244a224456a62e0b7d8b951be0 |
|
MD5 | d3cc40c09577013880d49f442ff82d9f |
|
BLAKE2b-256 | 8c38a0fe2d55f7d7dd2a39b34ffba42e19fdc31401e456ebfbf1c9cbc1ca4ec2 |