Skip to main content

Base64Perf

A faster base64 encoding/decoding library for Python, implemented in C with SSSE3 and VSX optimizations.

Installation

pip install base64perf

Usage

from base64perf 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.

Table Chart

Metadata

Release files for base64perf 0.0.11

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

Source distribution (sdist)

Source distribution for base64perf 0.0.11
File Size Uploaded Provenance
base64perf-0.0.11.tar.gz 2.7 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for base64perf 0.0.11
File Interpreter ABI Platform
base64perf-0.0.11-cp310-cp310-macosx_15_0_arm64.whl CPython 3.10 CPython 3.10 macOS 15.0+ ARM64 Details

Total release size: 2.7 MB

Release files / base64perf-0.0.11.tar.gz

Download URL base64perf-0.0.11.tar.gz
Size 2.7 MB
Tags Source
SHA-256 checksum
How to use checksums
e174d5638124a14eb5d7a57100d330aab8beec9ff8d02773f67d2f1c6c1b55ac
BLAKE2b-256 checksum
How to use checksums
ddab385824f5bc7814489d32bcb9953e9fd4b527d4fc07014adf019808008346
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.15

Release files / base64perf-0.0.11-cp310-cp310-macosx_15_0_arm64.whl

Download URL base64perf-0.0.11-cp310-cp310-macosx_15_0_arm64.whl
Size 11.4 kB
Tags CPython 3.10 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
f19ddcb67d55857447c042577f4809d39ed2a1de3a59f12d49b4ec34cbb2e378
BLAKE2b-256 checksum
How to use checksums
ab609dccb9fd76cd48675e6474f20cf1a2b1b47bc7b479668d27bc6813ddc8bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.15

Security for base64perf 0.0.11

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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