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.

Source Distribution

pybase64-0.1.2.tar.gz (71.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.2-cp36-cp36m-win_amd64.whl (20.2 kB view details)

Uploaded CPython 3.6mWindows x86-64

pybase64-0.1.2-cp36-cp36m-win32.whl (18.7 kB view details)

Uploaded CPython 3.6mWindows x86

pybase64-0.1.2-cp36-cp36m-manylinux1_x86_64.whl (53.4 kB view details)

Uploaded CPython 3.6m

pybase64-0.1.2-cp36-cp36m-manylinux1_i686.whl (49.5 kB view details)

Uploaded CPython 3.6m

pybase64-0.1.2-cp36-cp36m-macosx_10_6_intel.whl (32.0 kB view details)

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

pybase64-0.1.2-cp35-cp35m-win_amd64.whl (20.2 kB view details)

Uploaded CPython 3.5mWindows x86-64

pybase64-0.1.2-cp35-cp35m-win32.whl (18.7 kB view details)

Uploaded CPython 3.5mWindows x86

pybase64-0.1.2-cp35-cp35m-manylinux1_x86_64.whl (53.4 kB view details)

Uploaded CPython 3.5m

pybase64-0.1.2-cp35-cp35m-manylinux1_i686.whl (49.4 kB view details)

Uploaded CPython 3.5m

pybase64-0.1.2-cp35-cp35m-macosx_10_6_intel.whl (32.0 kB view details)

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

pybase64-0.1.2-cp34-cp34m-manylinux1_x86_64.whl (53.2 kB view details)

Uploaded CPython 3.4m

pybase64-0.1.2-cp34-cp34m-manylinux1_i686.whl (49.2 kB view details)

Uploaded CPython 3.4m

pybase64-0.1.2-cp34-cp34m-macosx_10_6_intel.whl (31.9 kB view details)

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

pybase64-0.1.2-cp33-cp33m-manylinux1_x86_64.whl (52.8 kB view details)

Uploaded CPython 3.3m

pybase64-0.1.2-cp33-cp33m-manylinux1_i686.whl (48.8 kB view details)

Uploaded CPython 3.3m

pybase64-0.1.2-cp27-cp27mu-manylinux1_x86_64.whl (52.6 kB view details)

Uploaded CPython 2.7mu

pybase64-0.1.2-cp27-cp27mu-manylinux1_i686.whl (48.7 kB view details)

Uploaded CPython 2.7mu

pybase64-0.1.2-cp27-cp27m-manylinux1_x86_64.whl (52.6 kB view details)

Uploaded CPython 2.7m

pybase64-0.1.2-cp27-cp27m-manylinux1_i686.whl (48.7 kB view details)

Uploaded CPython 2.7m

pybase64-0.1.2-cp27-cp27m-macosx_10_6_intel.whl (31.9 kB view details)

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

File details

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

File metadata

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

File hashes

Hashes for pybase64-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b136377e326a3a0784b51f9c396047d9432c267b45985f785cef6458a67d842c
MD5 433433c4ca0baa90841e9e49b04e3050
BLAKE2b-256 b3a1c22b19da5c1f1e00ec22ecd4ca6660908fd1964e25d545c0284d53a14ec0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pybase64-0.1.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 648713981f7b08ffc6cff9ae841e026d8b03707bf000f2b1d86915f0b56cabae
MD5 0f030d25fd2d2c45e0c8cd9cd9cc65af
BLAKE2b-256 070659fdb8e758aa8a039fb1df4f53b0cf0222f698714e16105277baf6529acc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pybase64-0.1.2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 dcdbcef278cf5c68b9ab38e42aaa71e63b41ec8e13075e878c9a8a517b5529fe
MD5 903ae1f5ce00d4de1223465501d77f96
BLAKE2b-256 9bfaa75e2b0f93f0afc1a69d729109f8275cd023ee22ff7c189b03febcc9da7d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pybase64-0.1.2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 13f85a22b0638361b3bbdde367f0934e2d83e98750e8afc011528b913aa7462d
MD5 e1156433ef352291dbc38e483ae5062d
BLAKE2b-256 087b5b026d7b64d1c8c25c831febf20ad5cd75eb9020237abacdca04a5b32005

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pybase64-0.1.2-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 5cd8de8b16223f9fd2df2bf7a482187d4136df7d5c0564b1eae3b7b50133ce7d
MD5 d9cfded486b7e9176545ec64cd4fe5ed
BLAKE2b-256 11460d8d1ec06bb0e3012b0a23ac6f5269efbb535693162f25ce4e461aaa3e50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pybase64-0.1.2-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 1a368a97910af7a636cd3624e1058ddec55d3b7c88187647fa0f77110b4c04c0
MD5 4ba9040c0f81e5c25fe242ffb40af6de
BLAKE2b-256 450230185cc9a71178679b6286240b92beeda88992f2dd1d7d4c573f1c486855

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pybase64-0.1.2-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 d133217ed2d6b3b7696c0f3f5a1cfd7da8074e3b89966a1c29aff09fe7ad6578
MD5 85506df8724e212f5dae51ec229d62a8
BLAKE2b-256 e6c5faa217dbdc6ada7585fa4c6bcf0c91021c3bb4c242f6ae33b64fca9fb38b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pybase64-0.1.2-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 6f0861c473e74fc85757cb59bf3d12afbf2be8313e1166e5bc46753b7eaf06ba
MD5 2cc2bc067d8a7b938b07348878af03b5
BLAKE2b-256 884f89533738d8ea1b5d7d32ac17872ce6c522940826ae8bef00bfe356fa382e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pybase64-0.1.2-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9e3fb6a8e384c060396977b72ba5c1063aff03a93576299117e9d7ab1c9ce650
MD5 8eaf553803ec8f30631fbbf4717ebcc2
BLAKE2b-256 ece81c2a9c4f0ef0b038fa2f8d10042e233e4ccb6b3e2b26799cfe87f9e4fe84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pybase64-0.1.2-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 40f7e973d369c7ed96779264208734061822ebb71c8ed6154732fbb719b7d48b
MD5 02502b32ee0482cae0f76d81f3afcf43
BLAKE2b-256 cbb20fdb7a13c3a29f498398cb809e1a66de58d9d86755dbcaebc73139eddd2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pybase64-0.1.2-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 d4ac9e46257a49c7ae93f4df59d3b36b7873cf610e633b95fed154e9ecc4962e
MD5 898722f309c0bbf0f4b0cd4e57cfba05
BLAKE2b-256 a58886b0d7fcb9e687f89f269f13e4129f5d930a3db1dfd18df74a65a2b0d61b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pybase64-0.1.2-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1ca6f317915ee7ceeefe85c7569feaafea5d72d14eb614f314df5485bee12b6d
MD5 5c6758b80c6a1a22eb22ea5568682e43
BLAKE2b-256 78604ac46fa0aeebfc2d46f75ef8bf0802e943cbefbc9157d46256b1d87d2553

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pybase64-0.1.2-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 9d7a9aba1acd03fc181c7644f32dddd95c7c12aa954da0f182ebfbab81724e22
MD5 621e8c0aeba76a18009eeb651659d08a
BLAKE2b-256 25c2936b0bc956ebe71c6732d1f9f9ded60328b607316ef134feb6c5ca2ed5ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pybase64-0.1.2-cp34-cp34m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 6d22212c10e8c324812be60814b87958909cd4058cde77cbe455f4c72ad44e6a
MD5 b66a57fb925f44f0f6ebb965506797a2
BLAKE2b-256 c1597ab6fc9e5a8ce3832ea74bec37645effa0deacc0a21a4ea88dcbbe9ea3c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pybase64-0.1.2-cp33-cp33m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 cfffd8a4a21d6a95721c92f87053f857e53c3d44216e67f011293ab2440391dc
MD5 265cd39f6e550a042f5e42df9d92bd40
BLAKE2b-256 b1477928e0843848031f177162709650a356626ec7bb45e4838a5950826e559c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pybase64-0.1.2-cp33-cp33m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 cefcef33abe769bf430d33678ee12afdb2d0650eb55a2a23e793cd5741364e82
MD5 a9828be3bf71e208a31a57e539e1f187
BLAKE2b-256 317362b415672cc00443e6888db580cb4cdcda58d71ffc729fbdcb5b927a5dac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pybase64-0.1.2-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 21549532f353a333d56cd84ecda8853311046d610f447207de4f71239e47b36f
MD5 51ff10e1aa65ab857bd614bb9012d4ec
BLAKE2b-256 2df0fbab4e3bc7329583bc591beb9fcc6ffa5bd023dd4e1c64d1c0935ac59425

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pybase64-0.1.2-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 f8ae1f52ad50b81b8ddbfe0445446542b7854a900c93d79b58ae383b3835134c
MD5 2e7a017035804f796c98600be9560cec
BLAKE2b-256 b3d50983aa1240152b442d4480d3f75889a0e1cfe6990922112bd64e3eab5256

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pybase64-0.1.2-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8dffc9aa5281e2444713ea1f3cf00d62a05f13a1b02c4476ac4bf607304653c4
MD5 7f583bb1ad9efc850150ad370cade34f
BLAKE2b-256 69bef12c8e35a1f297badf6083aa7e33ae26693e2e9f1d64df59f69abafe3a72

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pybase64-0.1.2-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 f773d40d80d6f345a26912d35a89c8d74ff3f66269a0d01613dbb12e3089ca2e
MD5 bb1a8195d0ef274b3c05076f42d51097
BLAKE2b-256 9a0649ab25d168d5bb35e0f16183bf6e0243506f29f367e89db450190bd6e103

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pybase64-0.1.2-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 8f98d011cac11730c7cb1af1cde23b2f95485a19716fe54ce1b926c10ef4fdfd
MD5 cbd3479ea44d8e7add222fadb66115ef
BLAKE2b-256 7ee28fbf924ec7b6db19933f1c764397222d9103f11d3d2df3e5659899bd441a

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