Skip to main content

Fast Base64 encoding/decoding with SSE2 and VSX optimizations

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

base64perf-0.0.10-cp310-cp310-macosx_15_0_arm64.whl (11.4 kB view details)

Uploaded CPython 3.10macOS 15.0+ ARM64

File details

Details for the file base64perf-0.0.10-cp310-cp310-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for base64perf-0.0.10-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 7eb4f9fb6025b8cce0155b9acc509b1f21a326a8f9374febc0d2918758d4689a
MD5 646dc58fa954f43bb0ba227adc64e389
BLAKE2b-256 625aca31ea661424213f46619c0e7bdf27876d80b7a41455b8aed5a14b1a5c24

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page