{ "info": { "author": "Dhruv Baldawa", "author_email": "dhruv@dhruvb.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "py-multibase\n------------\n\n.. image:: https://img.shields.io/pypi/v/py-multibase.svg\n :target: https://pypi.python.org/pypi/py-multibase\n\n.. image:: https://img.shields.io/travis/multiformats/py-multibase.svg?branch=master\n :target: https://travis-ci.org/multiformats/py-multibase?branch=master\n\n.. image:: https://codecov.io/gh/multiformats/py-multibase/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/multiformats/py-multibase\n\n.. image:: https://readthedocs.org/projects/py-multibase/badge/?version=stable\n :target: https://py-multibase.readthedocs.io/en/stable/?badge=stable\n :alt: Documentation Status\n\n`Multibase `_ implementation for Python\n\nMultibase is a protocol for distinguishing base encodings and other simple string encodings, and for ensuring full compatibility with program interfaces.\n\nIt answers the question: Given data d encoded into string s, how can I tell what base d is encoded with?\n\nBase encodings exist because transports have restrictions, use special in-band sequences, or must be human-friendly.\nWhen systems chose a base to use, it is not always clear which base to use, as there are many tradeoffs in the decision.\nMultibase is here to save programs and programmers from worrying about which encoding is best.\n\nIt solves the biggest problem: a program can use multibase to take input or produce output in whichever base is desired.\n\nThe important part is that the value is self-describing, letting other programs elsewhere know what encoding it is using.\n\n* Free software: MIT license\n* Documentation: https://py-multibase.readthedocs.io.\n* Python versions: 3.5, 3.6\n\nInstallation\n============\n\n.. code-block:: shell\n\n $ pip install py-multibase\n\n\nSample Usage\n============\n\n.. code-block:: python\n\n >>> # encoding a buffer\n >>> from multibase import encode, decode\n >>> encode('base58btc', 'hello world')\n b'zStV1DL6CwTryKyV'\n >>> encode('base64', 'hello world')\n b'mGhlbGxvIHdvcmxk'\n >>> # decoding a multibase\n >>> decode('mGhlbGxvIHdvcmxk')\n b'hello world'\n >>> decode(b'zStV1DL6CwTryKyV')\n b'hello world'\n >>> decode(encode('base2', b'hello world'))\n b'hello world'\n\n\nSupported codecs\n================\n\n* base2\n* base8\n* base10\n* base16\n* base16\n* base16\n* base32hex\n* base32\n* base32z\n* base58flickr\n* base58btc\n* base64\n* base64url\n\n\nHistory\n-------\n\n1.0.0 (2018-10-19)\n==================\n\n* Re-implement encoding for base32 and base64, as the implementation was buggy\n* Add extensive tests for all encodings\n\n0.1.0 (2017-09-02)\n==================\n\n* First release on PyPI.\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/multiformats/py-multibase", "keywords": "multibase", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "py-multibase", "package_url": "https://pypi.org/project/py-multibase/", "platform": "", "project_url": "https://pypi.org/project/py-multibase/", "project_urls": { "Homepage": "https://github.com/multiformats/py-multibase" }, "release_url": "https://pypi.org/project/py-multibase/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "Multibase implementation for Python", "version": "1.0.1" }, "last_serial": 4396495, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "5f27a3ca3c1644ea0f1d6582735dc974", "sha256": "e0e731a501726bc28df1f8dd701a3b852c505d4fe6bb4e667e5cc3761b86c6a5" }, "downloads": -1, "filename": "py_multibase-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5f27a3ca3c1644ea0f1d6582735dc974", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 4881, "upload_time": "2017-09-08T20:10:22", "url": "https://files.pythonhosted.org/packages/40/a4/d7521efe5b553f8aa6332dded6003cb49d26141ec63260dc592e9756075b/py_multibase-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "206feb7f736158efb771d990d6a0b63b", "sha256": "064aa6de600c68ff5c804613bd00662bc7d31de31f83ac5ed31195a6cebf9645" }, "downloads": -1, "filename": "py-multibase-0.1.1.tar.gz", "has_sig": false, "md5_digest": "206feb7f736158efb771d990d6a0b63b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17817, "upload_time": "2017-09-08T20:09:37", "url": "https://files.pythonhosted.org/packages/88/51/80149253b4697c1dd68a46e4b1d8f5d2028fe79592954e74f023a21d5bb6/py-multibase-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "4bb272b31449bfd705f1da88c7800463", "sha256": "280712eac7014c471147ad4115fc3409fa71a7062e524cfda066e7a222a10702" }, "downloads": -1, "filename": "py_multibase-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4bb272b31449bfd705f1da88c7800463", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 6423, "upload_time": "2017-09-15T13:40:33", "url": "https://files.pythonhosted.org/packages/88/4e/e899726dbdcc04026381b2618b0f43b9a740739e30f2d19e51cfdbae8e72/py_multibase-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bd324d7381a135ffae468110f897aac7", "sha256": "d74a7b1ac545c27546db496df9c6df1edfab84dc4041ce2ae0971284e0d6d0b0" }, "downloads": -1, "filename": "py-multibase-0.1.2.tar.gz", "has_sig": false, "md5_digest": "bd324d7381a135ffae468110f897aac7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18966, "upload_time": "2017-09-15T13:40:21", "url": "https://files.pythonhosted.org/packages/d8/b8/ee4da8ea0adb30ffd36308e388221deaaaa8bdd003dfb4d3401853350229/py-multibase-0.1.2.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "d03b41c20ca1d78426008f8acf097317", "sha256": "a6b17063b46c4ba5774c34007e222c43725354308392a1c06da34a98a44b50ef" }, "downloads": -1, "filename": "py_multibase-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d03b41c20ca1d78426008f8acf097317", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 7298, "upload_time": "2018-10-19T10:07:09", "url": "https://files.pythonhosted.org/packages/16/58/9fa31901291266138cbf7421468bdfbe9df30427c65d03f84b0709812771/py_multibase-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "83bfd5650ca4a21eed41b5b93f84d65f", "sha256": "de5f5331b6a37c262ea30b16ba258323e4418c4c62f8e834682ab804d9420965" }, "downloads": -1, "filename": "py-multibase-1.0.0.tar.gz", "has_sig": false, "md5_digest": "83bfd5650ca4a21eed41b5b93f84d65f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21229, "upload_time": "2018-10-19T10:07:07", "url": "https://files.pythonhosted.org/packages/d0/a3/1378f82c42cc818e574f0978b763f35900b7a9c6481fcddb94e32ea83636/py-multibase-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "d7376791cb31fd5f33e2cec2fb603f45", "sha256": "dde22b8d1c544e4636beefa1cf62c4131d25a57261c2b1c41f7d8a3f0142b4bc" }, "downloads": -1, "filename": "py_multibase-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d7376791cb31fd5f33e2cec2fb603f45", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 7318, "upload_time": "2018-10-20T04:49:44", "url": "https://files.pythonhosted.org/packages/7d/5c/8db3ec841b9ad06c64648c265e4106f2d5ba944a651ecbcb218a9cb56e34/py_multibase-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "221e4da488f8f92977fd9861f2537c38", "sha256": "6ed706ea321b487ba82e4172a9c82d61dacd675c865f576a937a94bca1a23443" }, "downloads": -1, "filename": "py-multibase-1.0.1.tar.gz", "has_sig": false, "md5_digest": "221e4da488f8f92977fd9861f2537c38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21238, "upload_time": "2018-10-20T04:49:36", "url": "https://files.pythonhosted.org/packages/7c/36/832c5d4ebc025239cd027c28172743b2e1d7fcbe9a2d7d8b4a68f84101fa/py-multibase-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d7376791cb31fd5f33e2cec2fb603f45", "sha256": "dde22b8d1c544e4636beefa1cf62c4131d25a57261c2b1c41f7d8a3f0142b4bc" }, "downloads": -1, "filename": "py_multibase-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d7376791cb31fd5f33e2cec2fb603f45", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 7318, "upload_time": "2018-10-20T04:49:44", "url": "https://files.pythonhosted.org/packages/7d/5c/8db3ec841b9ad06c64648c265e4106f2d5ba944a651ecbcb218a9cb56e34/py_multibase-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "221e4da488f8f92977fd9861f2537c38", "sha256": "6ed706ea321b487ba82e4172a9c82d61dacd675c865f576a937a94bca1a23443" }, "downloads": -1, "filename": "py-multibase-1.0.1.tar.gz", "has_sig": false, "md5_digest": "221e4da488f8f92977fd9861f2537c38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21238, "upload_time": "2018-10-20T04:49:36", "url": "https://files.pythonhosted.org/packages/7c/36/832c5d4ebc025239cd027c28172743b2e1d7fcbe9a2d7d8b4a68f84101fa/py-multibase-1.0.1.tar.gz" } ] }