Skip to content

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

License

Notifications You must be signed in to change notification settings

obahamonde/base64c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Table Chart

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published