Metadata-Version: 2.1
Name: eth-accounts
Version: 20191227
Summary: Local Ethereum keystore management library
Home-page: https://github.com/AndreMiras/eth_accounts
Author: Andre Miras
Author-email: 
License: MIT license
Keywords: eth_accounts
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.6
Description-Content-Type: text/x-rst
Requires-Dist: eth-account (<0.5.0)
Requires-Dist: eth-utils

============
eth-accounts
============


.. image:: https://img.shields.io/pypi/v/eth-accounts.svg
        :target: https://pypi.python.org/pypi/eth_accounts

.. image:: https://img.shields.io/travis/com/AndreMiras/eth-accounts/develop
        :target: https://travis-ci.com/AndreMiras/eth-accounts

.. image:: https://coveralls.io/repos/github/AndreMiras/eth-accounts/badge.svg?branch=develop
        :target: https://coveralls.io/github/AndreMiras/eth-accounts?branch=develop

.. image:: https://readthedocs.org/projects/eth-accounts/badge/?version=latest
        :target: https://eth-accounts.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status




Local Ethereum keystore management library


* Free software: MIT license
* Documentation: https://eth-accounts.readthedocs.io.


Features
--------

* Create and manage local Ethereum accounts
* Account encryption (password)
* Configurable PBKDF2 iterations
* Transaction signature (TODO)


Example
-------

>>> from eth_accounts.account_utils import AccountUtils
>>>
>>> account_utils = AccountUtils(keystore_dir="/tmp/keystore")
>>> account_utils.new_account(password="strong_password")
<Account(address=0x7f92b97485c361ae50d5f30936fb52abac14fe08, id=None)>
>>> account_utils.get_account_list()
[<Account(address=0x7f92b97485c361ae50d5f30936fb52abac14fe08, id=None)>]
>>> account = account_utils.get_account_list()[0]
>>> account.privkey
b'wU\xb1\xd6\xf1,`\x05f\xf1\x93\x04B\x11\x88\xe4i\x9d \xb9z9B\xb4\x9a\x1f\xae\xc4{\xa5\x13\x1f'
>>> account_utils.delete_account(account)
>>> account_utils.get_account_list()
[]


=======
History
=======

20191227 (2019-12-27)
---------------------

Added
~~~~~

* `Coveralls <http://coveralls.io/>`_ support
* `AccountUtils.get_by_address()`
* `AccountUtils.update_account_password()`


20191226 (2019-12-26)
---------------------

* First release on PyPI.


