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.5 on an Intel Core i7-4870HQ @ 2.50GHz

0.1.0 (C extension active)
bench: altchars=None, validate=False
pybase64._pybase64.b64encode:     2819.747 MB/s (13,271,472 bytes)
pybase64._pybase64.b64decode:      304.039 MB/s (13,271,472 bytes)
base64.b64encode:                  560.382 MB/s (13,271,472 bytes)
base64.b64decode:                  311.487 MB/s (13,271,472 bytes)
bench: altchars=None, validate=True
pybase64._pybase64.b64encode:     2950.594 MB/s (13,271,472 bytes)
pybase64._pybase64.b64decode:     2821.600 MB/s (13,271,472 bytes)
base64.b64encode:                  522.495 MB/s (13,271,472 bytes)
base64.b64decode:                   99.513 MB/s (13,271,472 bytes)
bench: altchars=b'-_', validate=False
pybase64._pybase64.b64encode:     2220.323 MB/s (13,271,472 bytes)
pybase64._pybase64.b64decode:      213.228 MB/s (13,271,472 bytes)
base64.b64encode:                  299.008 MB/s (13,271,472 bytes)
base64.b64decode:                  210.878 MB/s (13,271,472 bytes)
bench: altchars=b'-_', validate=True
pybase64._pybase64.b64encode:     2184.876 MB/s (13,271,472 bytes)
pybase64._pybase64.b64decode:     2095.342 MB/s (13,271,472 bytes)
base64.b64encode:                  303.990 MB/s (13,271,472 bytes)
base64.b64decode:                   85.267 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.1
Filename, size File type Python version Upload date Hashes
Filename, size pybase64-0.1.1-cp27-cp27m-macosx_10_6_intel.whl (32.2 kB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size pybase64-0.1.1-cp27-cp27m-manylinux1_i686.whl (52.1 kB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size pybase64-0.1.1-cp27-cp27m-manylinux1_x86_64.whl (54.8 kB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size pybase64-0.1.1-cp27-cp27mu-manylinux1_i686.whl (52.1 kB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size pybase64-0.1.1-cp27-cp27mu-manylinux1_x86_64.whl (54.8 kB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size pybase64-0.1.1-cp33-cp33m-manylinux1_i686.whl (52.1 kB) File type Wheel Python version cp33 Upload date Hashes View hashes
Filename, size pybase64-0.1.1-cp33-cp33m-manylinux1_x86_64.whl (54.8 kB) File type Wheel Python version cp33 Upload date Hashes View hashes
Filename, size pybase64-0.1.1-cp34-cp34m-macosx_10_6_intel.whl (32.2 kB) File type Wheel Python version cp34 Upload date Hashes View hashes
Filename, size pybase64-0.1.1-cp34-cp34m-manylinux1_i686.whl (52.6 kB) File type Wheel Python version cp34 Upload date Hashes View hashes
Filename, size pybase64-0.1.1-cp34-cp34m-manylinux1_x86_64.whl (55.3 kB) File type Wheel Python version cp34 Upload date Hashes View hashes
Filename, size pybase64-0.1.1-cp35-cp35m-macosx_10_6_intel.whl (32.3 kB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size pybase64-0.1.1-cp35-cp35m-manylinux1_i686.whl (52.8 kB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size pybase64-0.1.1-cp35-cp35m-manylinux1_x86_64.whl (55.5 kB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size pybase64-0.1.1-cp35-cp35m-win32.whl (18.5 kB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size pybase64-0.1.1-cp35-cp35m-win_amd64.whl (20.0 kB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size pybase64-0.1.1-cp36-cp36m-macosx_10_6_intel.whl (32.3 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size pybase64-0.1.1-cp36-cp36m-manylinux1_i686.whl (52.8 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size pybase64-0.1.1-cp36-cp36m-manylinux1_x86_64.whl (55.4 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size pybase64-0.1.1-cp36-cp36m-win32.whl (18.5 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size pybase64-0.1.1-cp36-cp36m-win_amd64.whl (20.0 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size pybase64-0.1.1.tar.gz (70.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