unpaddedbase64 2.1.0
pip install unpaddedbase64
Latest version
Released:
Encode and decode Base64 without "=" padding
Navigation
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Apache-2.0)
- Author: The Matrix.org Foundation C.I.C.
- Tags base64
- Requires: Python >=3.6, <4.0
Classifiers
- License
- Programming Language
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 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'
Project details
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Apache-2.0)
- Author: The Matrix.org Foundation C.I.C.
- Tags base64
- Requires: Python >=3.6, <4.0
Classifiers
- License
- Programming Language
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file unpaddedbase64-2.1.0.tar.gz
.
File metadata
- Download URL: unpaddedbase64-2.1.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.8 Darwin/20.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7273c60c089de39d90f5d6d4a7883a79e319dc9d9b1c8924a7fab96178a5f005 |
|
MD5 | df85a20cbb8bf365a14db3011e9a7c49 |
|
BLAKE2b-256 | 4df8114266b21a7a9e3d09b352bb63c9d61d918bb7aa35d08c722793bfbfd28f |
File details
Details for the file unpaddedbase64-2.1.0-py3-none-any.whl
.
File metadata
- Download URL: unpaddedbase64-2.1.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.8 Darwin/20.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 485eff129c30175d2cd6f0cd8d2310dff51e666f7f36175f738d75dfdbd0b1c6 |
|
MD5 | eead9541765c69ee3963351424115ed8 |
|
BLAKE2b-256 | 4ca7563b2d8fb7edc07320bf69ac6a7eedcd7a1a9d663a6bb90a4d9bd2eda5f7 |