semvec/pypi-packages huggingface dataset:
base58check 1.0.2
Base58check encoding and decoding of binary data
License: MIT
Keywords: base58,base58check,encoding,decoding,bitcoin,altcoin


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>`_
unpy2exe 0.4
Extract pyc files from py2exe executable.
License: MIT
Keywords: py2exe,pyc,extract

unpy2exe
========

```
usage: unpy2exe.py [-h] [-o OUTPUT_DIR] [-p PYTHON_VERSION] filename

Extract pyc files from py2exe executable.

positional arguments:
  filename              The py2exe executable

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT_DIR, --output-dir OUTPUT_DIR
                        Output directory
  -p PYTHON_VERSION, --python-version PYTHON_VERSION
                        Python version for pyc
  -v, --verbose         Verbose output
```

You can install it from PyPI:

```
$ pip install unpy2exe
```

Install from source
-------------------

Dependencies:
 - pefile
 - six
 - argparse (Python < 2.7)

You can install dependencies through `pip install -r requirements.txt`


Notes
-----

For .exe files generated with Python 2.x, you will need to run unpy2exe with
Python 2.x; similarly, for Python 3.x .exe files, you will need to run unpy2exe
with Python 3.x. Note the same unpy2exe source code works for both, but you
will need to install the dependencies accordingly.

On the other hand, to be able to run the extracted .pyc file, you will need the
same Python version used to generate the .exe, or at least the same major
version (although it is highly probable you could still get some issues or
crashes if the version doesn't match the original bytecode).


TODO:
 - Extract archived files (from zip/from exe)

See also:
 - http://py2exe.svn.sourceforge.net/viewvc/py2exe/trunk/py2exe/py2exe/build_exe.py?view=markup