{ "info": { "author": "standard-error@github", "author_email": "ravencoinlib@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", "Programming Language :: Python" ], "description": "# python-ravencoinlib\n\nExtension to python-bitcoinlib intended to provide access to Ravencoin data structures and protocol. WIP - Test before use\n\nThe RPC interface, `ravencoin.rpc`, is designed to work with Ravencoin Core v2.2.2.\n\n\"The only Python library for Ravencoin I've ever used\" - Warren Buffett\n\n# Requirements\n libssl\n Debian/Ubuntu: sudo apt-get install libssl-dev\n Windows/other: https://wiki.openssl.org/index.php/Binaries \n \n# Installation\n\n pip install python-ravencoinlib\n\n# Example Code\n\nSee `examples/` directory.\n\n\n## Selecting the chain to use\n\nDo the following:\n\n import ravencoin\n ravencoin.SelectParams(NAME)\n\nWhere NAME is one of 'testnet', 'mainnet', or 'regtest'. The chain currently\nselected is a global variable that changes behavior everywhere, just like in\nthe Raven codebase.\n\n## Validate an asset name\n \n from ravencoin.assets import CMainAsset, InvalidAssetName\n try:\n asset_name = CMainAsset(\"VALID_ASSET\")\n except InvalidAssetName:\n print(\"Invalid asset name\")\n\n## Issue an asset \n # Ravencoin wallet/daemon must be running with rpc server enabled\n # RavenProxy created without arguments will use values from local raven.conf\n from ravencoin.rpc import RavenProxy\n rvn = RavenProxy()\n asset_name = \"TEST\"\n qty=1\n rvn.issue(asset_name,qty)\n \n \n\n## Unit tests\n\nUnder /tests using test data from Ravencoin Core. To run them:\n\n python3 -m unittest discover", "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/standard-error/python-ravencoinlib", "keywords": "ravencoin", "license": "", "maintainer": "", "maintainer_email": "", "name": "python-ravencoinlib", "package_url": "https://pypi.org/project/python-ravencoinlib/", "platform": "", "project_url": "https://pypi.org/project/python-ravencoinlib/", "project_urls": { "Homepage": "https://github.com/standard-error/python-ravencoinlib" }, "release_url": "https://pypi.org/project/python-ravencoinlib/0.1.3/", "requires_dist": null, "requires_python": "", "summary": "Ravencoin extension of the python-bitcoinlib library.", "version": "0.1.3" }, "last_serial": 5226172, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "d3471ae78af5fe746f03933ab93b5a63", "sha256": "39b52d5baa7d30bf690a346b911b17d9766dbe4c9b5da37176fed9aaca0ed20c" }, "downloads": -1, "filename": "python_ravencoinlib-0.1-py3.6.egg", "has_sig": false, "md5_digest": "d3471ae78af5fe746f03933ab93b5a63", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 22180, "upload_time": "2018-11-06T22:12:33", "url": "https://files.pythonhosted.org/packages/e3/6a/29ae1d56b865fce8a0f1fa4087ab5d6a276578bc9045ac809c271bdb4637/python_ravencoinlib-0.1-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "754f40b111adace0da77cf8c9919370e", "sha256": "4608052cf4c039880b2661b3c36b6666ce78c7394e6809f04ae59f285709c51f" }, "downloads": -1, "filename": "python-ravencoinlib-0.1.tar.gz", "has_sig": false, "md5_digest": "754f40b111adace0da77cf8c9919370e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7200, "upload_time": "2018-11-06T22:12:31", "url": "https://files.pythonhosted.org/packages/02/4a/b04cd623ba9acb46193305d9fff18d300352871cbd3deeb106533f31c8a2/python-ravencoinlib-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "9d7a94bd1885f5a01cc4c73146f14196", "sha256": "5c57a0e2c3a49032d2723d6bb5525a9f49bd78ad3afad480f2407ff12625bfb6" }, "downloads": -1, "filename": "python-ravencoinlib-0.1.1.tar.gz", "has_sig": false, "md5_digest": "9d7a94bd1885f5a01cc4c73146f14196", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7292, "upload_time": "2018-11-07T12:22:48", "url": "https://files.pythonhosted.org/packages/fe/97/747875e1572859f7eebb337c1cdcda2d5d7be423ee1049573aa9a7a4ddc7/python-ravencoinlib-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "4017b02f1875f09f2ff71ce2da425740", "sha256": "591811e2798d2d22b917cb9bbd88233f527c7245f7738deaa92f9cd4281e7390" }, "downloads": -1, "filename": "python-ravencoinlib-0.1.2.tar.gz", "has_sig": false, "md5_digest": "4017b02f1875f09f2ff71ce2da425740", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9850, "upload_time": "2018-12-07T18:03:56", "url": "https://files.pythonhosted.org/packages/a1/55/0d1a04ab4827eb0e49ddb7788b0d695b2d3a5d961e3167a45dc57e83a699/python-ravencoinlib-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "415fa8e05851f6d51f3656bd381c0772", "sha256": "5e33aa5e420151b5e727dec24f10b6d4267da90cc9ba5a2598fc9e53b20f7a0d" }, "downloads": -1, "filename": "python-ravencoinlib-0.1.3.tar.gz", "has_sig": false, "md5_digest": "415fa8e05851f6d51f3656bd381c0772", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9529, "upload_time": "2019-05-04T17:26:06", "url": "https://files.pythonhosted.org/packages/76/c1/dfdf7182e7a7c892d5cebe2acf4df7dcff8a043f83d9044036370644ad17/python-ravencoinlib-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "415fa8e05851f6d51f3656bd381c0772", "sha256": "5e33aa5e420151b5e727dec24f10b6d4267da90cc9ba5a2598fc9e53b20f7a0d" }, "downloads": -1, "filename": "python-ravencoinlib-0.1.3.tar.gz", "has_sig": false, "md5_digest": "415fa8e05851f6d51f3656bd381c0772", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9529, "upload_time": "2019-05-04T17:26:06", "url": "https://files.pythonhosted.org/packages/76/c1/dfdf7182e7a7c892d5cebe2acf4df7dcff8a043f83d9044036370644ad17/python-ravencoinlib-0.1.3.tar.gz" } ] }