Skip to main content

Encode and decode Base64 without “=” padding.

RFC 4648 specifies that Base64 should be padded to a multiple of 4 bytes using “=” characters. However many protocols choose to omit the “=” padding.

Installing

python3 -m pip install unpaddedbase64

Using

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

Metadata

Release files for unpaddedbase64 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for unpaddedbase64 2.1.0
File Size Uploaded
unpaddedbase64-2.1.0.tar.gz 5.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for unpaddedbase64 2.1.0
File Interpreter ABI Platform
unpaddedbase64-2.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.7 kB

Release files / unpaddedbase64-2.1.0.tar.gz

Download URL unpaddedbase64-2.1.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7273c60c089de39d90f5d6d4a7883a79e319dc9d9b1c8924a7fab96178a5f005
BLAKE2b-256 checksum
How to use checksums
4df8114266b21a7a9e3d09b352bb63c9d61d918bb7aa35d08c722793bfbfd28f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.8.8 Darwin/20.3.0

Release files / unpaddedbase64-2.1.0-py3-none-any.whl

Download URL unpaddedbase64-2.1.0-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
485eff129c30175d2cd6f0cd8d2310dff51e666f7f36175f738d75dfdbd0b1c6
BLAKE2b-256 checksum
How to use checksums
4ca7563b2d8fb7edc07320bf69ac6a7eedcd7a1a9d663a6bb90a4d9bd2eda5f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.8.8 Darwin/20.3.0

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files

2.0.0

2 release files

1.1.0

2 release files

1.0.1

1 release file

1.0.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page