Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Unpadded Base64

Project Description

Encode and decode Base64 without “=” padding.

RFC 4648 specifies that Base64 should be padded to a multiple of 4 bytes using “=” characters. However this conveys no benefit so many protocols choose to use Base64 without the “=” padding.

Installing

pip install unpaddedbase64

Using

import unpaddedbase64
assert (unpaddedbase64.encode_base64(b'\x00')) == u'AA'
assert (unpaddedbase64.decode_base64(u'AA')) == b'\x00'

Release History

This version
History Node

1.1.0

History Node

1.0.1

History Node

1.0.0

Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
unpaddedbase64-1.1.0-py2-none-any.whl
(3.3 kB) Copy SHA256 Hash SHA256
py2 Wheel Feb 18, 2016
unpaddedbase64-1.1.0-py2.py3-none-any.whl
(3.3 kB) Copy SHA256 Hash SHA256
py2.py3 Wheel Mar 7, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting