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.

Source Distribution

pybase64-0.1.1.tar.gz (70.5 kB view details)

Uploaded Source

Built Distributions

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

pybase64-0.1.1-cp36-cp36m-win_amd64.whl (20.0 kB view details)

Uploaded CPython 3.6mWindows x86-64

pybase64-0.1.1-cp36-cp36m-win32.whl (18.5 kB view details)

Uploaded CPython 3.6mWindows x86

pybase64-0.1.1-cp36-cp36m-manylinux1_x86_64.whl (55.4 kB view details)

Uploaded CPython 3.6m

pybase64-0.1.1-cp36-cp36m-manylinux1_i686.whl (52.8 kB view details)

Uploaded CPython 3.6m

pybase64-0.1.1-cp36-cp36m-macosx_10_6_intel.whl (32.3 kB view details)

Uploaded CPython 3.6mmacOS 10.6+ Intel (x86-64, i386)

pybase64-0.1.1-cp35-cp35m-win_amd64.whl (20.0 kB view details)

Uploaded CPython 3.5mWindows x86-64

pybase64-0.1.1-cp35-cp35m-win32.whl (18.5 kB view details)

Uploaded CPython 3.5mWindows x86

pybase64-0.1.1-cp35-cp35m-manylinux1_x86_64.whl (55.5 kB view details)

Uploaded CPython 3.5m

pybase64-0.1.1-cp35-cp35m-manylinux1_i686.whl (52.8 kB view details)

Uploaded CPython 3.5m

pybase64-0.1.1-cp35-cp35m-macosx_10_6_intel.whl (32.3 kB view details)

Uploaded CPython 3.5mmacOS 10.6+ Intel (x86-64, i386)

pybase64-0.1.1-cp34-cp34m-manylinux1_x86_64.whl (55.3 kB view details)

Uploaded CPython 3.4m

pybase64-0.1.1-cp34-cp34m-manylinux1_i686.whl (52.6 kB view details)

Uploaded CPython 3.4m

pybase64-0.1.1-cp34-cp34m-macosx_10_6_intel.whl (32.2 kB view details)

Uploaded CPython 3.4mmacOS 10.6+ Intel (x86-64, i386)

pybase64-0.1.1-cp33-cp33m-manylinux1_x86_64.whl (54.8 kB view details)

Uploaded CPython 3.3m

pybase64-0.1.1-cp33-cp33m-manylinux1_i686.whl (52.1 kB view details)

Uploaded CPython 3.3m

pybase64-0.1.1-cp27-cp27mu-manylinux1_x86_64.whl (54.8 kB view details)

Uploaded CPython 2.7mu

pybase64-0.1.1-cp27-cp27mu-manylinux1_i686.whl (52.1 kB view details)

Uploaded CPython 2.7mu

pybase64-0.1.1-cp27-cp27m-manylinux1_x86_64.whl (54.8 kB view details)

Uploaded CPython 2.7m

pybase64-0.1.1-cp27-cp27m-manylinux1_i686.whl (52.1 kB view details)

Uploaded CPython 2.7m

pybase64-0.1.1-cp27-cp27m-macosx_10_6_intel.whl (32.2 kB view details)

Uploaded CPython 2.7mmacOS 10.6+ Intel (x86-64, i386)

File details

Details for the file pybase64-0.1.1.tar.gz.

File metadata

  • Download URL: pybase64-0.1.1.tar.gz
  • Upload date:
  • Size: 70.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pybase64-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1d13733c344ac3eade517ba3fc5a8c7856558585405b5bcde6cd111c77adc6ba
MD5 124367dfd21755f6fae7f325b7b11f9a
BLAKE2b-256 7fac2b5249fdad62c554cc4e424af0f47adb82e48511fc76431b36cb3346af4c

See more details on using hashes here.

File details

Details for the file pybase64-0.1.1-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for pybase64-0.1.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 8cb827b4fd92ecf8b860631334b2701967acf531fe1bdb2dc28ab7acc65b59a6
MD5 1942c5eebe82e77b08b08776386adfdc
BLAKE2b-256 585c65fb9c837419b69f07cdbe2ced3bf97882097b10e0a2b0c3678ef8f2e879

See more details on using hashes here.

File details

Details for the file pybase64-0.1.1-cp36-cp36m-win32.whl.

File metadata

File hashes

Hashes for pybase64-0.1.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 514add0bdfbb72502868312b77d2bc53c58c2cf4d3c852e60cb49d8b7ce69422
MD5 385b6e83b5d96bfe458e6da8a2e41bd3
BLAKE2b-256 123c36888ecbd6fedc859ba5ce9d192ee9e2abb7f030d2516c983802a37e3b50

See more details on using hashes here.

File details

Details for the file pybase64-0.1.1-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pybase64-0.1.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3173a668e0fd0234b19431a200fc68bfc20e54c69e13718369a6c6264ef3c0b3
MD5 f9b001ba4814c256094eb5d1c0a1128b
BLAKE2b-256 1e9568b041d4c20ff50468147b4dcfe8720537abca076c53bf44ebb8fe4ecdd3

See more details on using hashes here.

File details

Details for the file pybase64-0.1.1-cp36-cp36m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for pybase64-0.1.1-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 ff25c7107fd8f374f94bfece91f93a6e9f668f19b81e55d582b9527854217ad2
MD5 036790ccdeb8388a01ea8242f29d3d44
BLAKE2b-256 fcbd1167b55caa36ce654bba2061241fea4c2f77a80aa37a5edc53d75c1d913b

See more details on using hashes here.

File details

Details for the file pybase64-0.1.1-cp36-cp36m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for pybase64-0.1.1-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 0612bc88e35918357606a639c8934d11a40518ba2ae3d5f19df8b2f1e3574519
MD5 6bf025197880139613315d29aaa7e4cb
BLAKE2b-256 eae7d2dcbd51b3c02c7a0fade69202d9ef59a8795430497bc525c9c2a85d2339

See more details on using hashes here.

File details

Details for the file pybase64-0.1.1-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for pybase64-0.1.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 4dc54bb1a1125b945d26bb76618f648fa531aefa65e5fc64a3152860c67d60ed
MD5 7fbb1719897498646661a3ea2eb807ca
BLAKE2b-256 b9a44d0913046e99ad2a8c6ba631b646300578d6fcab6e9614e23cbc9ff0c4ea

See more details on using hashes here.

File details

Details for the file pybase64-0.1.1-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for pybase64-0.1.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 34b90aa9d73f95afe2f940fbaa67c44d2071f6e8979a775eec9e6826544cb41f
MD5 4ae6b8e8d545f072feb92d43ce55af34
BLAKE2b-256 ddd6a7a10187038daa2b7c8dec42a21e9a93ca62f5f9bf80ce0a9b6fc5928415

See more details on using hashes here.

File details

Details for the file pybase64-0.1.1-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pybase64-0.1.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ac6344e39f4eff3f2c10a72ae81589d59e1bc04274c0dd5648e522764ef9fc28
MD5 22088b439de37488d599cb6b94a3f812
BLAKE2b-256 3191fd55bae014b25f6e9dabd1bd347fbd4fa593477bb090c48f00281474f213

See more details on using hashes here.

File details

Details for the file pybase64-0.1.1-cp35-cp35m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for pybase64-0.1.1-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 b061bd8ac68409da2bf2b090707b86d5de87d1e4db1a32a9c470403b042e6904
MD5 c802f4ffdc8e57b7aea3c5c6c16a763a
BLAKE2b-256 adc3d5d8bb3d11e0bd0446e87f2ad92e29f59ddfead254ef660fec8cdfb8287b

See more details on using hashes here.

File details

Details for the file pybase64-0.1.1-cp35-cp35m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for pybase64-0.1.1-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 328beef508de344279cd2f159ee1d7275159f85ba9c5882a2ccfa0b1d1de4c51
MD5 97ca20c8db67267defcac590ac2eb7ae
BLAKE2b-256 50438d57ce26954e0da68270a1c796bd455c8a372fa7e8496536e139943c5b5c

See more details on using hashes here.

File details

Details for the file pybase64-0.1.1-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pybase64-0.1.1-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b8b25ee1b21913bceb4c99809cbbb63c5736e6e83fd3b96f1bb904fa1621aa50
MD5 854aad05a3b0b63e4dcd0df3302f7a1c
BLAKE2b-256 58c8fc4d8d9e9da9b1a5ae5190d2bf1da89c5715320db7141952e6326645bc2f

See more details on using hashes here.

File details

Details for the file pybase64-0.1.1-cp34-cp34m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for pybase64-0.1.1-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 868b9d2d7f77fead230a90e7cbc389a6f27cbf6c5dbfcf6985084b366f4d7f5b
MD5 e70f9629b895a72c17333e5eb26a3a14
BLAKE2b-256 793aa91f2b0beba865288348e10044ee2bfb064aca50bfe858aa737999a03a36

See more details on using hashes here.

File details

Details for the file pybase64-0.1.1-cp34-cp34m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for pybase64-0.1.1-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 6efe79b62f6ccf20440524235c2109bd4c7af2a2f03331aa49d675ea87bf354c
MD5 67c3671f60aadb1c6cab31ea4ea8ae87
BLAKE2b-256 d97363d8d466a5be1144657b99366c00d84080cf1a0b7d85bb986e2958e678c1

See more details on using hashes here.

File details

Details for the file pybase64-0.1.1-cp33-cp33m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pybase64-0.1.1-cp33-cp33m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4538ca0d3a5009d69e849605f7791443e46ab4981d7414cf2cfcb7c946ccbb09
MD5 347ff6a9acfb9664035a18aaba3c5b4f
BLAKE2b-256 d6997e4e0ca596242318d7be6bbfdecc9043fda3b31d4be7684aa9f38c5b9e8a

See more details on using hashes here.

File details

Details for the file pybase64-0.1.1-cp33-cp33m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for pybase64-0.1.1-cp33-cp33m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 4d80579a971d0ac5575826dd67673e18efd24bc5b9ad52c651a7278a6c5585bb
MD5 7a241e3fb1996d3671368c4fa37d9e09
BLAKE2b-256 884d2a2699878a0d7a0ffaa06831f21f8216274f4ffe43206b17b30ee66fe539

See more details on using hashes here.

File details

Details for the file pybase64-0.1.1-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pybase64-0.1.1-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 666c325b455edf683d08eb8eec7018307c523db0c06d63eaaa465ddc180d9f2d
MD5 b3895776c5b4857cee18c429e9bee21d
BLAKE2b-256 98cca1292b3c62b5c45f0dbf0d39f0eb5b316633919ca263eb0f6145974e2430

See more details on using hashes here.

File details

Details for the file pybase64-0.1.1-cp27-cp27mu-manylinux1_i686.whl.

File metadata

File hashes

Hashes for pybase64-0.1.1-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 3439cee9d10dfd16dabcbc942c2b55fdcae083a3637ee2c003ef2c630fd8b600
MD5 33e420e2833662c7f00943b46717ace8
BLAKE2b-256 7f07f60bc613b07b0c63209a26845ba02efc85c20dcd8abaac230039e5b55409

See more details on using hashes here.

File details

Details for the file pybase64-0.1.1-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pybase64-0.1.1-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5f1910769470f0fb999fccbb29866fef740c77c4ab7cadd9187bbaf900f0be1d
MD5 532da00339e5edaddb96335f7f9e955f
BLAKE2b-256 cb060974a920bc4aed4004cde80ae888f26c4b8285c6b74822b0f0bc3037c091

See more details on using hashes here.

File details

Details for the file pybase64-0.1.1-cp27-cp27m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for pybase64-0.1.1-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 1f8531a96133de93d002838bdf691e887a6687a948c843fa464797fdea283412
MD5 296ef94e54b547f8d1278948c58a2d21
BLAKE2b-256 8df0e73c5dfd539af49ac35b877e2f3284bab66c0ae2a800fe2ceb77807e9117

See more details on using hashes here.

File details

Details for the file pybase64-0.1.1-cp27-cp27m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for pybase64-0.1.1-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 0d5761d9aa6372a8a7f5ad74aecc1a7a48c1c1f0d050bb622badad67f1150938
MD5 ab70458354897188b657a0ef1348257d
BLAKE2b-256 2a9b3388030179ab0f2316cf758c47d16640906fd18a70d30126e8d2adebe271

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