Unpadded Base64
===============
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.
.. _`RFC 4648`: https://tools.ietf.org/html/rfc4648
Installing
----------
.. code:: bash
python3 -m pip install unpaddedbase64
Using
-----
.. code:: python
import unpaddedbase64
assert (unpaddedbase64.encode_base64(b'\x00')) == 'AA'
assert (unpaddedbase64.decode_base64('AA')) == b'\x00'
Raw data
{
"_id": null,
"home_page": "https://github.com/matrix-org/python-unpaddedbase64",
"name": "unpaddedbase64",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6,<4.0",
"maintainer_email": "",
"keywords": "base64",
"author": "The Matrix.org Foundation C.I.C.",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/4d/f8/114266b21a7a9e3d09b352bb63c9d61d918bb7aa35d08c722793bfbfd28f/unpaddedbase64-2.1.0.tar.gz",
"platform": "",
"description": "Unpadded Base64\n===============\n\nEncode and decode Base64 without \"=\" padding.\n\n`RFC 4648`_ specifies that Base64 should be padded to a multiple of 4 bytes\nusing \"=\" characters. However many protocols choose to omit the \"=\" padding.\n\n.. _`RFC 4648`: https://tools.ietf.org/html/rfc4648\n\nInstalling\n----------\n\n.. code:: bash\n\n python3 -m pip install unpaddedbase64\n\nUsing\n-----\n\n.. code:: python\n\n import unpaddedbase64\n assert (unpaddedbase64.encode_base64(b'\\x00')) == 'AA'\n assert (unpaddedbase64.decode_base64('AA')) == b'\\x00'\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Encode and decode Base64 without \"=\" padding",
"version": "2.1.0",
"project_urls": {
"Homepage": "https://github.com/matrix-org/python-unpaddedbase64",
"Issue Tracker": "https://github.com/matrix-org/python-unpaddedbase64/issues"
},
"split_keywords": [
"base64"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4ca7563b2d8fb7edc07320bf69ac6a7eedcd7a1a9d663a6bb90a4d9bd2eda5f7",
"md5": "eead9541765c69ee3963351424115ed8",
"sha256": "485eff129c30175d2cd6f0cd8d2310dff51e666f7f36175f738d75dfdbd0b1c6"
},
"downloads": -1,
"filename": "unpaddedbase64-2.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "eead9541765c69ee3963351424115ed8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6,<4.0",
"size": 6083,
"upload_time": "2021-03-09T11:35:46",
"upload_time_iso_8601": "2021-03-09T11:35:46.700244Z",
"url": "https://files.pythonhosted.org/packages/4c/a7/563b2d8fb7edc07320bf69ac6a7eedcd7a1a9d663a6bb90a4d9bd2eda5f7/unpaddedbase64-2.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4df8114266b21a7a9e3d09b352bb63c9d61d918bb7aa35d08c722793bfbfd28f",
"md5": "df85a20cbb8bf365a14db3011e9a7c49",
"sha256": "7273c60c089de39d90f5d6d4a7883a79e319dc9d9b1c8924a7fab96178a5f005"
},
"downloads": -1,
"filename": "unpaddedbase64-2.1.0.tar.gz",
"has_sig": false,
"md5_digest": "df85a20cbb8bf365a14db3011e9a7c49",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6,<4.0",
"size": 5621,
"upload_time": "2021-03-09T11:35:47",
"upload_time_iso_8601": "2021-03-09T11:35:47.729536Z",
"url": "https://files.pythonhosted.org/packages/4d/f8/114266b21a7a9e3d09b352bb63c9d61d918bb7aa35d08c722793bfbfd28f/unpaddedbase64-2.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2021-03-09 11:35:47",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "matrix-org",
"github_project": "python-unpaddedbase64",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "unpaddedbase64"
}