{ "info": { "author": "Andre Miras", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "# pyetheroll\n\n[![Build Status](https://travis-ci.com/AndreMiras/pyetheroll.svg?branch=develop)](https://travis-ci.com/AndreMiras/pyetheroll)\n[![Coverage Status](https://coveralls.io/repos/github/AndreMiras/pyetheroll/badge.svg?branch=develop)](https://coveralls.io/github/AndreMiras/pyetheroll?branch=develop)\n[![PyPI version](https://badge.fury.io/py/pyetheroll.svg)](https://badge.fury.io/py/pyetheroll)\n[![Documentation Status](https://readthedocs.org/projects/pyetheroll/badge/?version=latest)](https://pyetheroll.readthedocs.io/en/latest/?badge=latest)\n\nPython library to Etheroll smart contract\n\n\n## Usage\n\nSimply set bet size, chances and wallet settings before rolling:\n```python\nfrom pyetheroll.etheroll import Etheroll\n\netheroll = Etheroll()\nbet_size_ether = 0.1\nbet_size_wei = int(bet_size_ether * 1e18)\nchances = 50\nwallet_path = 'wallet.json'\nwallet_password = 'password'\n\ntransaction = etheroll.player_roll_dice(\n bet_size_wei, chances, wallet_path, wallet_password)\n```\n\nIt's also possible to set different contract address and chain ID:\n```python\nfrom pyetheroll.constants import ChainID\nfrom pyetheroll.etheroll import Etheroll\n\nchain_id = ChainID.ROPSTEN\ncontract_address = '0xe12c6dEb59f37011d2D9FdeC77A6f1A8f3B8B1e8'\netheroll = Etheroll(chain_id, contract_address)\n```\n\nFind out more in [docs/Examples.md](docs/Examples.md).\n\n## Install\n\n[Latest stable release](https://github.com/AndreMiras/pyetheroll/tree/master):\n```sh\npip install pyetheroll\n```\n\n[Development branch](https://github.com/AndreMiras/pyetheroll/tree/develop):\n```sh\npip install --process-dependency-links \\\nhttps://github.com/AndreMiras/pyetheroll/archive/develop.zip\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/AndreMiras/pyetheroll", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pyetheroll", "package_url": "https://pypi.org/project/pyetheroll/", "platform": "", "project_url": "https://pypi.org/project/pyetheroll/", "project_urls": { "Homepage": "https://github.com/AndreMiras/pyetheroll" }, "release_url": "https://pypi.org/project/pyetheroll/20191018/", "requires_dist": [ "eth-account (<0.5)", "eth-utils", "py-etherscan-api (==0.8.0)", "pycryptodome", "requests-cache", "rlp", "web3 (<6)" ], "requires_python": "", "summary": "Python library to Etheroll smart contract", "version": "20191018" }, "last_serial": 5965771, "releases": { "20181030": [ { "comment_text": "", "digests": { "md5": "6b21a4173f993f80573e3c185c7097bc", "sha256": "0fef06c4d14e51bcc07dc8ffc9343f6f82b9829242cec1f679bc9eb3733c1dce" }, "downloads": -1, "filename": "pyetheroll-20181030-py3-none-any.whl", "has_sig": false, "md5_digest": "6b21a4173f993f80573e3c185c7097bc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10815, "upload_time": "2019-03-21T19:12:02", "url": "https://files.pythonhosted.org/packages/9e/13/c6ea4199071a578ee21713b1ef6afc694407e20be75116812b4f22b74366/pyetheroll-20181030-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "37ddcbf39568a3257ea905f45937e476", "sha256": "304059df8882fa213c2aa9de40fb6089bcf8adebc77607a721e29957bfc573ae" }, "downloads": -1, "filename": "pyetheroll-20181030.tar.gz", "has_sig": false, "md5_digest": "37ddcbf39568a3257ea905f45937e476", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8384, "upload_time": "2019-03-21T19:12:04", "url": "https://files.pythonhosted.org/packages/0b/28/c2748027fc7018643dd7e729f4b19164e4a77d061e2c4269d5bd493425b9/pyetheroll-20181030.tar.gz" } ], "20181031": [ { "comment_text": "", "digests": { "md5": "e7de03f6b800bd9104440179e7491221", "sha256": "e225d8bad76d3b2914fa76fb09cea72b67862ac4b5b2008f881eff13e282a935" }, "downloads": -1, "filename": "pyetheroll-20181031-py3-none-any.whl", "has_sig": false, "md5_digest": "e7de03f6b800bd9104440179e7491221", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10895, "upload_time": "2019-03-21T19:14:27", "url": "https://files.pythonhosted.org/packages/ee/b3/5d278782cd1a6875b8af9766066569b60adfeb712f083b439e2d3848463f/pyetheroll-20181031-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7b60dfb2981daa55a97bf30668675f4c", "sha256": "56db622b852bce3e3347a373a254d971f9317bd049472f61af2a3046e8a6d65e" }, "downloads": -1, "filename": "pyetheroll-20181031.tar.gz", "has_sig": false, "md5_digest": "7b60dfb2981daa55a97bf30668675f4c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8302, "upload_time": "2019-03-21T19:14:28", "url": "https://files.pythonhosted.org/packages/97/78/315dd82947ae365f5a268baf99f7daa7a0ca80d00cd946e4b5dfa2525149/pyetheroll-20181031.tar.gz" } ], "20190321": [ { "comment_text": "", "digests": { "md5": "8c6064b1410ea309a31aa13196f7314a", "sha256": "0270c8cf96b751acc25ab8746151667aad643b1832ac6ffc2373d60b799efc34" }, "downloads": -1, "filename": "pyetheroll-20190321-py3-none-any.whl", "has_sig": false, "md5_digest": "8c6064b1410ea309a31aa13196f7314a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11585, "upload_time": "2019-03-21T21:24:00", "url": "https://files.pythonhosted.org/packages/3a/90/44077dd77e14cac32a89b0c72212cafa5913a5c5c74cd5c02ecdc997be13/pyetheroll-20190321-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "278afda0275efbe982512520e6c90141", "sha256": "0a0dfb8b49c5d081ec4a02c5a83386994831cfb839b3b2978336fbe1a3178289" }, "downloads": -1, "filename": "pyetheroll-20190321.tar.gz", "has_sig": false, "md5_digest": "278afda0275efbe982512520e6c90141", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9177, "upload_time": "2019-03-21T21:24:01", "url": "https://files.pythonhosted.org/packages/2e/0f/ce4725f3e10cc098b7e83d5c104311c260cc63553ae98a44324db52d6aa9/pyetheroll-20190321.tar.gz" } ], "20191018": [ { "comment_text": "", "digests": { "md5": "a7284e878b7b1bd4ad8dd69a68a930f7", "sha256": "b53d06853c3752ecbceee1a8ed64d87bf90df7310ff1c333bdd09eba3e824d12" }, "downloads": -1, "filename": "pyetheroll-20191018-py3-none-any.whl", "has_sig": false, "md5_digest": "a7284e878b7b1bd4ad8dd69a68a930f7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12060, "upload_time": "2019-10-12T23:25:06", "url": "https://files.pythonhosted.org/packages/38/d3/b9bb3886182ed2240c11d71ca4ed9d711a48d44a020c08ed12f0b53d9685/pyetheroll-20191018-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ee058fc76303a838614aa9528d27c7d8", "sha256": "955fe2acf193fd008a02e14363c55f19f189d072d5a1161e3abe365f77c7493d" }, "downloads": -1, "filename": "pyetheroll-20191018.tar.gz", "has_sig": false, "md5_digest": "ee058fc76303a838614aa9528d27c7d8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9891, "upload_time": "2019-10-12T23:25:09", "url": "https://files.pythonhosted.org/packages/66/52/b8a9dbf067b03045235cbf9a8381a71748d1b17db69a9cf962b647c7d150/pyetheroll-20191018.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a7284e878b7b1bd4ad8dd69a68a930f7", "sha256": "b53d06853c3752ecbceee1a8ed64d87bf90df7310ff1c333bdd09eba3e824d12" }, "downloads": -1, "filename": "pyetheroll-20191018-py3-none-any.whl", "has_sig": false, "md5_digest": "a7284e878b7b1bd4ad8dd69a68a930f7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12060, "upload_time": "2019-10-12T23:25:06", "url": "https://files.pythonhosted.org/packages/38/d3/b9bb3886182ed2240c11d71ca4ed9d711a48d44a020c08ed12f0b53d9685/pyetheroll-20191018-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ee058fc76303a838614aa9528d27c7d8", "sha256": "955fe2acf193fd008a02e14363c55f19f189d072d5a1161e3abe365f77c7493d" }, "downloads": -1, "filename": "pyetheroll-20191018.tar.gz", "has_sig": false, "md5_digest": "ee058fc76303a838614aa9528d27c7d8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9891, "upload_time": "2019-10-12T23:25:09", "url": "https://files.pythonhosted.org/packages/66/52/b8a9dbf067b03045235cbf9a8381a71748d1b17db69a9cf962b647c7d150/pyetheroll-20191018.tar.gz" } ] }