base58check


Namebase58check JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://github.com/joeblackwaslike/base58check
SummaryBase58check encoding and decoding of binary data
upload_time2018-04-07 01:13:08
maintainerJoe Black
docs_urlNone
authorJoe Black
requires_python
licenseMIT
keywords base58 base58check encoding decoding bitcoin altcoin
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            
Base58Check
===========


.. image:: https://travis-ci.org/joeblackwaslike/base58check.svg?branch=master
   :target: https://travis-ci.org/joeblackwaslike/base58check
   :alt: Build Status

.. image:: https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat
   :target: https://github.com/joeblackwaslike/base58check
   :alt: Github Repo

.. image:: https://img.shields.io/pypi/v/base58check.svg
   :target: https://pypi.python.org/pypi/base58check
   :alt: Pypi Version

.. image:: https://img.shields.io/pypi/l/base58check.svg
   :target: https://pypi.python.org/pypi/base58check
   :alt: Pypi License

.. image:: https://img.shields.io/pypi/wheel/base58check.svg
   :target: https://pypi.python.org/pypi/base58check
   :alt: Pypi Wheel

.. image:: https://img.shields.io/pypi/pyversions/base58check.svg
   :target: https://pypi.python.org/pypi/base58check
   :alt: Pypi Versions


Maintainer
----------

Joe Black | me@joeblack.nyc | `github <https://github.com/joeblackwaslike>`_

Introduction
------------

A python implementation of the Base58Check encoding scheme.

The Base58Check encoding scheme is a modified Base 58 binary-to-text encoding.  More generically, Base58Check encoding is used for encoding byte arrays in Bitcoin into human-typable strings.

*PLEASE NOTE*\ : For consistency with encoding schemes in python, encode inputs must be bytes and will be enforced.  Use ``.encode('ascii')`` on text input to encode to bytes.


* ref: https://en.bitcoin.it/wiki/Base58Check_encoding

Installation
------------

.. code-block:: shell

   pip3 install base58check

Usage
-----

.. code-block:: python

   >>> import base58check

encoding
^^^^^^^^

.. code-block:: python

   >>> base58check.b58encode(b'1BoatSLRHtKNngkdXEeobR76b53LETtpyT')
   b'\x00v\x80\xad\xec\x8e\xab\xca\xba\xc6v\xbe\x9e\x83\x85J\xde\x0b\xd2,\xdb\x0b\xb9`\xde'

decoding (input can be text or bytes here)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code-block:: python

   >>> base58check.b58decode('\x00v\x80\xad\xec\x8e\xab\xca\xba\xc6v\xbe\x9e\x83\x85J\xde\x0b\xd2,\xdb\x0b\xb9`\xde')
   b'1BoatSLRHtKNngkdXEeobR76b53LETtpyT'

Changes
-------


* `CHANGELOG <CHANGELOG.md>`_



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/joeblackwaslike/base58check",
    "name": "base58check",
    "maintainer": "Joe Black",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "me@joeblack.nyc",
    "keywords": "base58,base58check,encoding,decoding,bitcoin,altcoin",
    "author": "Joe Black",
    "author_email": "me@joeblack.nyc",
    "download_url": "https://files.pythonhosted.org/packages/9c/78/cfbfd63b5dc23ad33ee5f1774e5828b7c6bf2f0302cbec95cbba191d3d62/base58check-1.0.2.tar.gz",
    "platform": "",
    "description": "\nBase58Check\n===========\n\n\n.. image:: https://travis-ci.org/joeblackwaslike/base58check.svg?branch=master\n   :target: https://travis-ci.org/joeblackwaslike/base58check\n   :alt: Build Status\n\n.. image:: https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat\n   :target: https://github.com/joeblackwaslike/base58check\n   :alt: Github Repo\n\n.. image:: https://img.shields.io/pypi/v/base58check.svg\n   :target: https://pypi.python.org/pypi/base58check\n   :alt: Pypi Version\n\n.. image:: https://img.shields.io/pypi/l/base58check.svg\n   :target: https://pypi.python.org/pypi/base58check\n   :alt: Pypi License\n\n.. image:: https://img.shields.io/pypi/wheel/base58check.svg\n   :target: https://pypi.python.org/pypi/base58check\n   :alt: Pypi Wheel\n\n.. image:: https://img.shields.io/pypi/pyversions/base58check.svg\n   :target: https://pypi.python.org/pypi/base58check\n   :alt: Pypi Versions\n\n\nMaintainer\n----------\n\nJoe Black | me@joeblack.nyc | `github <https://github.com/joeblackwaslike>`_\n\nIntroduction\n------------\n\nA python implementation of the Base58Check encoding scheme.\n\nThe Base58Check encoding scheme is a modified Base 58 binary-to-text encoding.  More generically, Base58Check encoding is used for encoding byte arrays in Bitcoin into human-typable strings.\n\n*PLEASE NOTE*\\ : For consistency with encoding schemes in python, encode inputs must be bytes and will be enforced.  Use ``.encode('ascii')`` on text input to encode to bytes.\n\n\n* ref: https://en.bitcoin.it/wiki/Base58Check_encoding\n\nInstallation\n------------\n\n.. code-block:: shell\n\n   pip3 install base58check\n\nUsage\n-----\n\n.. code-block:: python\n\n   >>> import base58check\n\nencoding\n^^^^^^^^\n\n.. code-block:: python\n\n   >>> base58check.b58encode(b'1BoatSLRHtKNngkdXEeobR76b53LETtpyT')\n   b'\\x00v\\x80\\xad\\xec\\x8e\\xab\\xca\\xba\\xc6v\\xbe\\x9e\\x83\\x85J\\xde\\x0b\\xd2,\\xdb\\x0b\\xb9`\\xde'\n\ndecoding (input can be text or bytes here)\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n.. code-block:: python\n\n   >>> base58check.b58decode('\\x00v\\x80\\xad\\xec\\x8e\\xab\\xca\\xba\\xc6v\\xbe\\x9e\\x83\\x85J\\xde\\x0b\\xd2,\\xdb\\x0b\\xb9`\\xde')\n   b'1BoatSLRHtKNngkdXEeobR76b53LETtpyT'\n\nChanges\n-------\n\n\n* `CHANGELOG <CHANGELOG.md>`_\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Base58check encoding and decoding of binary data",
    "version": "1.0.2",
    "project_urls": {
        "Download": "https://github.com/joeblackwaslike/base58check/tarball/v1.0.2",
        "Homepage": "https://github.com/joeblackwaslike/base58check"
    },
    "split_keywords": [
        "base58",
        "base58check",
        "encoding",
        "decoding",
        "bitcoin",
        "altcoin"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "64d2a8e47d4cd73c416ea0d27b4dcfe3cde0bce17c0acce493c10791ee468a7a",
                "md5": "b9cdb99beeef766abb9b4dc5b777fd2f",
                "sha256": "a83863696845a9b0b5ec95aebb32ebfc6ce5596984302c0f2b7b27f24afc2719"
            },
            "downloads": -1,
            "filename": "base58check-1.0.2-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b9cdb99beeef766abb9b4dc5b777fd2f",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 6025,
            "upload_time": "2018-04-07T01:13:07",
            "upload_time_iso_8601": "2018-04-07T01:13:07.342442Z",
            "url": "https://files.pythonhosted.org/packages/64/d2/a8e47d4cd73c416ea0d27b4dcfe3cde0bce17c0acce493c10791ee468a7a/base58check-1.0.2-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9c78cfbfd63b5dc23ad33ee5f1774e5828b7c6bf2f0302cbec95cbba191d3d62",
                "md5": "31b0e98571126427a9562fff2d2d97fd",
                "sha256": "a597d250ef564806d5c91a8882c92a69f542b90c6b4f04f581ee3202855cc396"
            },
            "downloads": -1,
            "filename": "base58check-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "31b0e98571126427a9562fff2d2d97fd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5414,
            "upload_time": "2018-04-07T01:13:08",
            "upload_time_iso_8601": "2018-04-07T01:13:08.158301Z",
            "url": "https://files.pythonhosted.org/packages/9c/78/cfbfd63b5dc23ad33ee5f1774e5828b7c6bf2f0302cbec95cbba191d3d62/base58check-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2018-04-07 01:13:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "joeblackwaslike",
    "github_project": "base58check",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "tox": true,
    "lcname": "base58check"
}
        
Elapsed time: 0.21425s