{ "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": "etheroll", "package_url": "https://pypi.org/project/etheroll/", "platform": "", "project_url": "https://pypi.org/project/etheroll/", "project_urls": { "Homepage": "https://github.com/AndreMiras/pyetheroll" }, "release_url": "https://pypi.org/project/etheroll/20191018/", "requires_dist": [ "pyetheroll" ], "requires_python": "", "summary": "Python library to Etheroll smart contract", "version": "20191018" }, "last_serial": 5965770, "releases": { "20190321": [ { "comment_text": "", "digests": { "md5": "16d98561b0f9dcda7c10895dbeaf55e3", "sha256": "7309029582a6cc2b0e5a1b3240f1549d75fdb20e7ef84bb22ccded1815b231cf" }, "downloads": -1, "filename": "etheroll-20190321-py3-none-any.whl", "has_sig": false, "md5_digest": "16d98561b0f9dcda7c10895dbeaf55e3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11501, "upload_time": "2019-03-22T14:51:23", "url": "https://files.pythonhosted.org/packages/5f/de/8007e854611406fa8d43b8965f8abbe4842be19dc562ee99df34a7272915/etheroll-20190321-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "91459fcd209182d775fd152a9d795cd5", "sha256": "099e210740e649a7ddc5df99c5bcf4e8ddee931facd9f4783717f3345a859783" }, "downloads": -1, "filename": "etheroll-20190321.tar.gz", "has_sig": false, "md5_digest": "91459fcd209182d775fd152a9d795cd5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9398, "upload_time": "2019-03-22T14:51:26", "url": "https://files.pythonhosted.org/packages/a6/33/20c7baa90dae7a761b8718061b668d2eaaa272b14b4e3e16812e2337ecc6/etheroll-20190321.tar.gz" } ], "20191018": [ { "comment_text": "", "digests": { "md5": "51df1f5965c1da7fb8bff6dc53c82289", "sha256": "734e306f6de12a2047445d00eb71c44f1eb537d2851253e2cebf676d8ed9c252" }, "downloads": -1, "filename": "etheroll-20191018-py3-none-any.whl", "has_sig": false, "md5_digest": "51df1f5965c1da7fb8bff6dc53c82289", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11965, "upload_time": "2019-10-12T23:25:04", "url": "https://files.pythonhosted.org/packages/56/d1/cef35d60b42442e66c7071b48725d554336994a878a7ba08e8fdbcb9714f/etheroll-20191018-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d90bcc4d7acefbfee7ccbe92e627a733", "sha256": "08e0a2947bd19258979e8a5fb848c279c31b2c4823688337a74854ba07115111" }, "downloads": -1, "filename": "etheroll-20191018.tar.gz", "has_sig": false, "md5_digest": "d90bcc4d7acefbfee7ccbe92e627a733", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9337, "upload_time": "2019-10-12T23:25:07", "url": "https://files.pythonhosted.org/packages/fd/c1/41fdf938e854a84bbe049579ff6c878adb207df063f9ebfa14907a174df7/etheroll-20191018.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "51df1f5965c1da7fb8bff6dc53c82289", "sha256": "734e306f6de12a2047445d00eb71c44f1eb537d2851253e2cebf676d8ed9c252" }, "downloads": -1, "filename": "etheroll-20191018-py3-none-any.whl", "has_sig": false, "md5_digest": "51df1f5965c1da7fb8bff6dc53c82289", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11965, "upload_time": "2019-10-12T23:25:04", "url": "https://files.pythonhosted.org/packages/56/d1/cef35d60b42442e66c7071b48725d554336994a878a7ba08e8fdbcb9714f/etheroll-20191018-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d90bcc4d7acefbfee7ccbe92e627a733", "sha256": "08e0a2947bd19258979e8a5fb848c279c31b2c4823688337a74854ba07115111" }, "downloads": -1, "filename": "etheroll-20191018.tar.gz", "has_sig": false, "md5_digest": "d90bcc4d7acefbfee7ccbe92e627a733", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9337, "upload_time": "2019-10-12T23:25:07", "url": "https://files.pythonhosted.org/packages/fd/c1/41fdf938e854a84bbe049579ff6c878adb207df063f9ebfa14907a174df7/etheroll-20191018.tar.gz" } ] }