{ "info": { "author": "Michael Martorella", "author_email": "michaelmartorella@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": ".. image:: https://travis-ci.org/Marto32/pyetherscan.svg?branch=master\n :target: https://travis-ci.org/Marto32/pyetherscan\n\n.. image:: https://coveralls.io/repos/github/Marto32/pyetherscan/badge.svg?branch=master\n :target: https://coveralls.io/github/Marto32/pyetherscan?branch=master\n\n.. image:: https://img.shields.io/pypi/pyversions/pyetherscan.svg\n :target: https://pypi.python.org/pypi/pyetherscan\n\n.. image:: https://img.shields.io/pypi/v/pyetherscan.svg\n :target: https://pypi.python.org/pypi/pyetherscan\n\n\npyetherscan\n===========\nAn unofficial wrapper for the `Etherscan `_ API.\n\nInstallation\n============\nWe recommend you install this library in a new `virtual environment `_.\n\nTo install, create a new `etherscan account `_ and\nmake note of your API key. Then install the library by running:\n\n.. code-block:: python\n\n pip install pyetherscan\n\nAfter installation, there are two main ways to set your API key. The first\nis by creating a configuration file named ``.pyetherscan.ini`` and\nsaving it in your home directory. The format for this file is as follows:\n\n.. code-block:: none\n\n [Credentials]\n ETHERSCAN_API_KEY: YourApiKeyToken\n\nThe second is by setting the environment variable ``ETHERSCAN_API_KEY``.\n\nIf you do not use either option, the package will connect to the ropsten test\nchain via the Etherscan API by default.\n\nUsage\n=====\nThere are two main ways to use the library. The first is via the `Client`\nobject to interact directly with the `Etherscan API `_.\n\n.. code-block:: python\n\n In [1]: from pyetherscan import Client\n\n In [2]: client = Client()\n\n In [3]: address = '0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae'\n\n In [4]: address_balance = client.get_single_balance(address)\n\n In [5]: address_balance.response_status_code\n Out[5]: 200\n\n In [6]: address_balance.message\n Out[6]: 'OK'\n\n In [7]: address_balance.balance\n Out[7]: 748997604382925139479303\n\nThe second is to use ``pyetherscan`` objects which fully abstract the API. These\nobjects can be found in the ``pyetherscan.ethereum`` module and include:\n\n - ``Transaction``\n - ``Address``\n - ``Block``\n - ``Token``\n\nFor example:\n\n.. code-block:: python\n\n In [1]: from pyetherscan import Address\n\n In [2]: address = '0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae'\n\n In [3]: ethereum_address = Address(address)\n\n In [4]: ethereum_address.balance\n Out[4]: 748997604382925139479303.0\n\n In [4]: for txn in ethereum_address.transactions:\n ...: print(txn.value)\n\nContributing\n============\nFork this repository, create a branch and issue a PR.\n\n\n.. image:: https://badges.gitter.im/pyetherscan/Lobby.svg\n :alt: Join the chat at https://gitter.im/pyetherscan/Lobby\n :target: https://gitter.im/pyetherscan/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/Marto32/pyetherscan/archive/0.1.2.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Marto32/pyetherscan", "keywords": "ethereum,blockchain,etherscan", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "pyetherscan", "package_url": "https://pypi.org/project/pyetherscan/", "platform": "", "project_url": "https://pypi.org/project/pyetherscan/", "project_urls": { "Download": "https://github.com/Marto32/pyetherscan/archive/0.1.2.tar.gz", "Homepage": "https://github.com/Marto32/pyetherscan" }, "release_url": "https://pypi.org/project/pyetherscan/0.1.2/", "requires_dist": [ "requests", "retrying" ], "requires_python": "", "summary": "An unofficial wrapper for the Etherscan.io API", "version": "0.1.2" }, "last_serial": 3038089, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "6ba851e4ac1b8cd2b42fa2d9e219c46a", "sha256": "ba693c16bd1ca0db56ab81768789c6d630c477d3762e5758d200d323313004b0" }, "downloads": -1, "filename": "pyetherscan-0.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "6ba851e4ac1b8cd2b42fa2d9e219c46a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16121, "upload_time": "2017-07-16T19:21:19", "url": "https://files.pythonhosted.org/packages/b7/8d/97aeffd092eaf0a7f336431dc6d691350a0a73c40e9758e95c0712ff056a/pyetherscan-0.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a603b4e838b337af03e720236fbba52a", "sha256": "a1c2d47a2fd639346d673ef5ba7d288c5154c0f3def5033d3e1b4dd2b7080e19" }, "downloads": -1, "filename": "pyetherscan-0.0.0.tar.gz", "has_sig": false, "md5_digest": "a603b4e838b337af03e720236fbba52a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13423, "upload_time": "2017-07-16T19:21:21", "url": "https://files.pythonhosted.org/packages/ec/7c/c62027c40562286eaad6618085e58aa604d90d17b173c4c0ce29b9460ded/pyetherscan-0.0.0.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "39a949d037f2108826f56e04b38de9e3", "sha256": "31f896e3505bf93dfc0215393b2f5169ede66338d27b9a38c332e55bab1089cd" }, "downloads": -1, "filename": "pyetherscan-0.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "39a949d037f2108826f56e04b38de9e3", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 16345, "upload_time": "2017-07-16T20:07:34", "url": "https://files.pythonhosted.org/packages/12/ca/97e1cc12cc3c067f0a7af320767dd4d4fef3d78ce33587062e213cf9a189/pyetherscan-0.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6f1a92a515765260e7457e4581c4993a", "sha256": "53df7d47048dcb78ad891b29f705ef9024bcf8ea5e1770e16daf61fa2bab86a8" }, "downloads": -1, "filename": "pyetherscan-0.0.2.tar.gz", "has_sig": false, "md5_digest": "6f1a92a515765260e7457e4581c4993a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13695, "upload_time": "2017-07-16T20:07:35", "url": "https://files.pythonhosted.org/packages/1d/ce/b78970f7c04b4353ebe18755bb577b609ca6f7a92cc389b831119a69aa5e/pyetherscan-0.0.2.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "c6dbfa9508a14a807dec21adc9bb61d4", "sha256": "17e9c31b8456acbec432c94eb22884645b3ac7e48c9a66654ad1433056053a99" }, "downloads": -1, "filename": "pyetherscan-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "c6dbfa9508a14a807dec21adc9bb61d4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17799, "upload_time": "2017-07-19T00:34:57", "url": "https://files.pythonhosted.org/packages/27/93/b9e898f9206ebef163290e848c692cb52e5ff38260dbd5422194d211a4ac/pyetherscan-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "89f223006e71b7f1d2962e5eeb662218", "sha256": "cc431b378e87663b7c5e5e886e4ffd8727f6624710885bcc1b35acc253926aab" }, "downloads": -1, "filename": "pyetherscan-0.1.0.tar.gz", "has_sig": false, "md5_digest": "89f223006e71b7f1d2962e5eeb662218", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15090, "upload_time": "2017-07-19T00:34:58", "url": "https://files.pythonhosted.org/packages/12/6c/fc74e3624a0d0107fdf9e516d7068667e4c23be938ab2bd3f7b6f253b146/pyetherscan-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "8a7ba25f6774461b4f13418a3eaad47d", "sha256": "41233b4f1c2002770f78210b1d5a064f2fa57bf1f1e5ff655800276d34b7703b" }, "downloads": -1, "filename": "pyetherscan-0.1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "8a7ba25f6774461b4f13418a3eaad47d", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 17899, "upload_time": "2017-07-19T01:02:36", "url": "https://files.pythonhosted.org/packages/c6/d2/580c2bf68386dc739ac97167d46d7b12e3fd8e2ba120466b586917bd087a/pyetherscan-0.1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "287de3445a710370ccd8f4f412adfb77", "sha256": "ee1e3610792f5ea59e7860b8f29d2e12ec480d452025eb3bd455959230d1aaa6" }, "downloads": -1, "filename": "pyetherscan-0.1.1.tar.gz", "has_sig": false, "md5_digest": "287de3445a710370ccd8f4f412adfb77", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15181, "upload_time": "2017-07-19T01:02:38", "url": "https://files.pythonhosted.org/packages/f0/35/c8fab3cb32476f285aaf24b57178964a347c9da4f992367fb5fdc214c248/pyetherscan-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "14abc83bce1466c72ec3de39c30f2534", "sha256": "7f19063900ff4630974dc1e9646872def27e1638770251ca492513696d14f65f" }, "downloads": -1, "filename": "pyetherscan-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "14abc83bce1466c72ec3de39c30f2534", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18026, "upload_time": "2017-07-20T23:03:43", "url": "https://files.pythonhosted.org/packages/14/d7/1f2d5ecbe759af5eec8f2a4938f39b969f8adfe28def117c7bd0eb61f372/pyetherscan-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7eb3fe8ca18f35f0147355515650efbb", "sha256": "f281c125b2ee86ed93853aa00e64ab2b25b77a8ae325353bc27e2b41bcd892c7" }, "downloads": -1, "filename": "pyetherscan-0.1.2.tar.gz", "has_sig": false, "md5_digest": "7eb3fe8ca18f35f0147355515650efbb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15278, "upload_time": "2017-07-20T23:03:45", "url": "https://files.pythonhosted.org/packages/a5/f5/798ccf10818ae25b11e50f641785a18f5379aaeaffed436f73dcbf9254c6/pyetherscan-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "14abc83bce1466c72ec3de39c30f2534", "sha256": "7f19063900ff4630974dc1e9646872def27e1638770251ca492513696d14f65f" }, "downloads": -1, "filename": "pyetherscan-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "14abc83bce1466c72ec3de39c30f2534", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18026, "upload_time": "2017-07-20T23:03:43", "url": "https://files.pythonhosted.org/packages/14/d7/1f2d5ecbe759af5eec8f2a4938f39b969f8adfe28def117c7bd0eb61f372/pyetherscan-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7eb3fe8ca18f35f0147355515650efbb", "sha256": "f281c125b2ee86ed93853aa00e64ab2b25b77a8ae325353bc27e2b41bcd892c7" }, "downloads": -1, "filename": "pyetherscan-0.1.2.tar.gz", "has_sig": false, "md5_digest": "7eb3fe8ca18f35f0147355515650efbb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15278, "upload_time": "2017-07-20T23:03:45", "url": "https://files.pythonhosted.org/packages/a5/f5/798ccf10818ae25b11e50f641785a18f5379aaeaffed436f73dcbf9254c6/pyetherscan-0.1.2.tar.gz" } ] }