Skip to main content

Fast Base64 encoding/decoding

Project description

Fast Base64 implementation

This project is a wrapper on libbase64.

It aims to provide a fast base64 implementation for standard base64 encoding/decoding.

Current status

pypi-status travis-status appveyor-status codecov-status

Benchmark

Running Python 3.6.0, Apple LLVM version 8.1.0 (clang-802.0.42), Mac OS X 10.12.6 on an Intel Core i7-4870HQ @ 2.50GHz

0.1.2 (C extension active)
bench: altchars=None, validate=False
pybase64._pybase64.b64encode:     3203.816 MB/s (13,271,472 bytes)
pybase64._pybase64.b64decode:      322.261 MB/s (13,271,472 bytes)
base64.b64encode:                  539.713 MB/s (13,271,472 bytes)
base64.b64decode:                  321.367 MB/s (13,271,472 bytes)
bench: altchars=None, validate=True
pybase64._pybase64.b64encode:     3119.150 MB/s (13,271,472 bytes)
pybase64._pybase64.b64decode:     4389.709 MB/s (13,271,472 bytes)
base64.b64encode:                  585.207 MB/s (13,271,472 bytes)
base64.b64decode:                  101.803 MB/s (13,271,472 bytes)
bench: altchars=b'-_', validate=False
pybase64._pybase64.b64encode:     2298.564 MB/s (13,271,472 bytes)
pybase64._pybase64.b64decode:      276.244 MB/s (13,271,472 bytes)
base64.b64encode:                  313.476 MB/s (13,271,472 bytes)
base64.b64decode:                  229.085 MB/s (13,271,472 bytes)
bench: altchars=b'-_', validate=True
pybase64._pybase64.b64encode:     2379.698 MB/s (13,271,472 bytes)
pybase64._pybase64.b64decode:     2862.796 MB/s (13,271,472 bytes)
base64.b64encode:                  315.344 MB/s (13,271,472 bytes)
base64.b64decode:                   91.621 MB/s (13,271,472 bytes)

Project details


Download files

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

Files for pybase64, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size pybase64-0.1.2-cp27-cp27m-macosx_10_6_intel.whl (31.9 kB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size pybase64-0.1.2-cp27-cp27m-manylinux1_i686.whl (48.7 kB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size pybase64-0.1.2-cp27-cp27m-manylinux1_x86_64.whl (52.6 kB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size pybase64-0.1.2-cp27-cp27mu-manylinux1_i686.whl (48.7 kB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size pybase64-0.1.2-cp27-cp27mu-manylinux1_x86_64.whl (52.6 kB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size pybase64-0.1.2-cp33-cp33m-manylinux1_i686.whl (48.8 kB) File type Wheel Python version cp33 Upload date Hashes View hashes
Filename, size pybase64-0.1.2-cp33-cp33m-manylinux1_x86_64.whl (52.8 kB) File type Wheel Python version cp33 Upload date Hashes View hashes
Filename, size pybase64-0.1.2-cp34-cp34m-macosx_10_6_intel.whl (31.9 kB) File type Wheel Python version cp34 Upload date Hashes View hashes
Filename, size pybase64-0.1.2-cp34-cp34m-manylinux1_i686.whl (49.2 kB) File type Wheel Python version cp34 Upload date Hashes View hashes
Filename, size pybase64-0.1.2-cp34-cp34m-manylinux1_x86_64.whl (53.2 kB) File type Wheel Python version cp34 Upload date Hashes View hashes
Filename, size pybase64-0.1.2-cp35-cp35m-macosx_10_6_intel.whl (32.0 kB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size pybase64-0.1.2-cp35-cp35m-manylinux1_i686.whl (49.4 kB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size pybase64-0.1.2-cp35-cp35m-manylinux1_x86_64.whl (53.4 kB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size pybase64-0.1.2-cp35-cp35m-win32.whl (18.7 kB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size pybase64-0.1.2-cp35-cp35m-win_amd64.whl (20.2 kB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size pybase64-0.1.2-cp36-cp36m-macosx_10_6_intel.whl (32.0 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size pybase64-0.1.2-cp36-cp36m-manylinux1_i686.whl (49.5 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size pybase64-0.1.2-cp36-cp36m-manylinux1_x86_64.whl (53.4 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size pybase64-0.1.2-cp36-cp36m-win32.whl (18.7 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size pybase64-0.1.2-cp36-cp36m-win_amd64.whl (20.2 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size pybase64-0.1.2.tar.gz (71.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page