{ "info": { "author": "AustEcon", "author_email": "AustEcon0922@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "BitSV: Bitcoin SV made easy.\n============================\n\nForked from Ofek's awesome Bit library: https://github.com/ofek/bit\n\n.. image:: https://img.shields.io/pypi/v/bitsv.svg?style=flat-square\n :target: https://pypi.org/project/bitsv\n\n.. image:: https://img.shields.io/travis/AustEcon/bitsv.svg?branch=master&style=flat-square\n :target: https://travis-ci.org/AustEcon/bitsv\n\n.. image:: https://img.shields.io/codecov/c/github/AustEcon/bitsv.svg?style=flat-square\n :target: https://codecov.io/gh/austecon/bitsv\n\n.. image:: https://img.shields.io/pypi/pyversions/bitsv.svg?style=flat-square\n :target: https://pypi.org/project/bitsv\n\n.. image:: https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square\n :target: https://en.wikipedia.org/wiki/MIT_License\n\n\nNoticeboard:\n------------\nLatest Release - 0.9.0_ (2019-08-11)\n\n.. _0.9.0: https://github.com/AustEcon/bitsv/blob/master/HISTORY.rst\n\n- Also big changes_ in 0.8.0 so please take note.\n\n.. _changes: https://github.com/AustEcon/bitsv/blob/master/HISTORY.rst\n\n- Bitcoin Cash addressees are no longer supported.\n- However, \"cashaddress\" is a great tool for conversions if needed. https://github.com/oskyk/cashaddress/\n\nDefault Fee = 1 sat/byte:\n\n- The capacity of the Bitcoin SV network is such that 1 sat/byte virtually guarantees that\n your transaction will be included in the next block. This is therefore the default. However, it is\n trivial to specify a higher transaction fee by including this as an additional parameter to any\n of the transaction related functions.\n\nPlanned improvements\n--------------------\n\n- Improved coverage of testing modules (currently at 84%).\n- Support for use of a local bitcoin full node instead of a Web-API.\n (paves the way for a RegTest environment for a rapid development cycle)\n- Work on the bsvbip32 library for hierarchical deterministic keys:\n https://github.com/AustEcon/bsvbip32. Plan for each node to access\n bitsv functionality so that building apps can be a breeze!\n (competing implementations welcome. That's partly why modularity is a good idea!)\n- Add Whatsonchain API for added redundancy across main / test and stn networks.\n- Minor updates to documentation for 0.9.0 release are still needed re: PrivateKey.get_transaction()\n\n----------------------------\n\nExamples\n--------\n\n**BitSV is so easy to use:**\n\n1. Simple payment:\n\n.. code-block:: python\n\n >>> import bitsv\n >>> my_key = bitsv.Key('YourPrivateKeyGoesHere') # Defaults to \"main\" network\n >>> my_key.get_balance()\n 10000000 # satoshis\n >>> # Can include a long list of tuples as outputs\n >>> outputs = [\n >>> # Donate to AustEcon! (Currency conversion via api)\n >>> ('1PdvVPTzXmo4cSs68HctLUxAdW917UZtC8', 0.10, 'usd'), # $USD 0.10 as bsv\n >>> ('1PdvVPTzXmo4cSs68HctLUxAdW917UZtC8', 0.0001, 'bsv')\n >>> ]\n >>> my_key.send(outputs)\n 'dec895d1aa0e820984c5748984ba36854163ec3d6847c94e82a921765c5b23e1'\n\nHere's the transaction ``_.\n\n2. OP_RETURN - 100kb size limit now supported:\n\n.. code-block:: python\n\n >>> import bitsv\n >>> my_key = bitsv.Key('YourPrivateKeyGoesHere')\n >>> list_of_pushdata = ([bytes.fromhex('6d01'), # encode hex to bytes\n 'New_Name'.encode('utf-8')]) # encode string to utf-8 encoded bytes\n >>> my_key.send_op_return(list_of_pushdata) # default fee = 1 sat/byte\n\nThis sets memo.sv name (linked to this bitcoin address) to \"New_Name\" (as per https://memo.sv/protocol)\n\nFeatures\n--------\n\n- Python's fastest available implementation (100x faster than closest library)\n- 100kb OP_RETURN transactions made very simple\n- Fully supports 21 different currencies via exchange rate API\n- First class support for storing data in the blockchain\n- Compressed public keys by default\n- Multiple representations of private keys; WIF, PEM, DER, etc.\n- Standard P2PKH transactions\n\nInstallation\n------------\n\nBitSV is distributed on `PyPI` as a universal wheel and is available on Linux/macOS\nand Windows and supports Python 3.5+ and PyPy3.5-v5.7.1+. ``pip`` >= 8.1.2 is required.\n\n.. code-block:: bash\n\n $ pip install bitsv # pip3 if pip is Python 2 on your system.\n\nDocumentation\n-------------\nDocs are hosted by Github Pages and are automatically built and published by Travis after every successful commit to BitSV's master branch.\n\n\nCredits\n-------\n\n- `ofek`_ for the original bit codebase.\n- `teran-mckinney`_ for his work on the bitcash fork\n- `joshua smith`_ for adding BitIndex3\n\n.. _ofek: https://github.com/ofek/bit\n.. _teran-mckinney: https://github.com/sporestack/bitcash\n.. _joshua Smith: https://github.com/joshua-s\n\nDonate\n--------\n\n- If you have found this library useful, please consider donating. It really helps.\n- HandCash: $AustEcon\n- 1PdvVPTzXmo4cSs68HctLUxAdW917UZtC8", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/AustEcon/bitsv/tarball/0.9.0", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/AustEcon/bitsv", "keywords": "bitcoinsv,bsv,bitcoin sv,cryptocurrency,payments,tools,wallet", "license": "MIT", "maintainer": "AustEcon", "maintainer_email": "AustEcon0922@gmail.com", "name": "bitsv", "package_url": "https://pypi.org/project/bitsv/", "platform": "", "project_url": "https://pypi.org/project/bitsv/", "project_urls": { "Download": "https://github.com/AustEcon/bitsv/tarball/0.9.0", "Homepage": "https://github.com/AustEcon/bitsv" }, "release_url": "https://pypi.org/project/bitsv/0.9.0/", "requires_dist": null, "requires_python": "", "summary": "Bitcoin SV made easier.", "version": "0.9.0" }, "last_serial": 5660823, "releases": { "0.5.3": [ { "comment_text": "", "digests": { "md5": "b9a887d8f64a5637dbbc88cad405ad51", "sha256": "870c24fd672775f618cb3b0b5376db08dd278285b255c5c927802e05a30a50fb" }, "downloads": -1, "filename": "bitsv-0.5.3.tar.gz", "has_sig": false, "md5_digest": "b9a887d8f64a5637dbbc88cad405ad51", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34072, "upload_time": "2019-01-27T00:27:52", "url": "https://files.pythonhosted.org/packages/17/ae/d87af4624fffe8863944c8034fc534aea10a8a2f809e8e8abb235d1ee446/bitsv-0.5.3.tar.gz" } ], "0.5.4": [ { "comment_text": "", "digests": { "md5": "b4800cd508a5895f561a8b54b8d8d5c3", "sha256": "44dd3b2b3f751a33b3dee6f75e62e2a319a6da74046926115c3500f7d4cac0f8" }, "downloads": -1, "filename": "bitsv-0.5.4.tar.gz", "has_sig": false, "md5_digest": "b4800cd508a5895f561a8b54b8d8d5c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33247, "upload_time": "2019-03-25T09:27:22", "url": "https://files.pythonhosted.org/packages/b5/a1/2d702ed4d7ac1aa85618687d8c33f8547fa90249677c238cb1c430e8693e/bitsv-0.5.4.tar.gz" } ], "0.5.5": [ { "comment_text": "", "digests": { "md5": "53af40cf6cd4b28f1e574f243d7ac645", "sha256": "1c3d7b07743acf3dae6d777afb0af7cb6d5d20f2148112bb2be3f0a7bc429f5a" }, "downloads": -1, "filename": "bitsv-0.5.5.tar.gz", "has_sig": false, "md5_digest": "53af40cf6cd4b28f1e574f243d7ac645", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33159, "upload_time": "2019-03-29T10:02:17", "url": "https://files.pythonhosted.org/packages/d8/7e/6eac359f52b32a2f1f0ff5fef7d3bc6be490fe074a69ae8cfb107a1a08b2/bitsv-0.5.5.tar.gz" } ], "0.5.6": [ { "comment_text": "", "digests": { "md5": "4ee9ae56987b924a3fdf776dbb8b29cb", "sha256": "5f4eaa99b588f747b4f46b670f4ac29ee375d6332d78f164d059e753a097292b" }, "downloads": -1, "filename": "bitsv-0.5.6.tar.gz", "has_sig": false, "md5_digest": "4ee9ae56987b924a3fdf776dbb8b29cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33115, "upload_time": "2019-03-29T10:51:37", "url": "https://files.pythonhosted.org/packages/20/2d/463ed18bc004fca19586c040212586cc0f5850d26a883940df0bc1c9ec18/bitsv-0.5.6.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "5810c7fd59c86c0246bcb9f04cc295e9", "sha256": "048da5661a3c1b42e6e3ea447a5c785dac068c22a1d431b9d98a9f0c9532ce19" }, "downloads": -1, "filename": "bitsv-0.6.0.tar.gz", "has_sig": false, "md5_digest": "5810c7fd59c86c0246bcb9f04cc295e9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36889, "upload_time": "2019-04-07T10:08:45", "url": "https://files.pythonhosted.org/packages/89/14/de1b291fcbe2a0d2b9f50a28e102a4f60d18df2173af1969631939abefc3/bitsv-0.6.0.tar.gz" } ], "0.6.1": [ { "comment_text": "", "digests": { "md5": "6036911a8244c40c8825b3edaba524bc", "sha256": "c3e2b10115f9ef15a9070972fa3d1aa7bfb403ca472259358c2b2fe9d10ef49e" }, "downloads": -1, "filename": "bitsv-0.6.1.tar.gz", "has_sig": false, "md5_digest": "6036911a8244c40c8825b3edaba524bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36981, "upload_time": "2019-04-15T10:13:12", "url": "https://files.pythonhosted.org/packages/eb/ec/e73c6fc18d8cce7d2d5147298c41837634f8878eecea5658024a1cf481a9/bitsv-0.6.1.tar.gz" } ], "0.7.1": [ { "comment_text": "", "digests": { "md5": "f8e77cc8af77e3a7d2f35fc8f69e9c1c", "sha256": "63b27562cbba202f2f8fa5a8af42f74802e3eae2008f02a455e3214bab76144f" }, "downloads": -1, "filename": "bitsv-0.7.1-py3.7.egg", "has_sig": false, "md5_digest": "f8e77cc8af77e3a7d2f35fc8f69e9c1c", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": null, "size": 105563, "upload_time": "2019-07-14T05:23:35", "url": "https://files.pythonhosted.org/packages/33/d1/a553d92591930da247eb007d932d3e9ae2ef126e6d7bc93fb1b689a01372/bitsv-0.7.1-py3.7.egg" }, { "comment_text": "", "digests": { "md5": "cff8c2a5f4fd965c6f947f7c24010159", "sha256": "4eee61c2858485cb5147ce0ff54ec14c85a5d460acabf738e087fb8dac096e1a" }, "downloads": -1, "filename": "bitsv-0.7.1.tar.gz", "has_sig": false, "md5_digest": "cff8c2a5f4fd965c6f947f7c24010159", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37995, "upload_time": "2019-04-19T12:06:47", "url": "https://files.pythonhosted.org/packages/d0/b1/1d5ce307d6944683d19c5ce3c77ec2ec33af3b525a50f7d0f6829bd7c263/bitsv-0.7.1.tar.gz" } ], "0.8.0": [ { "comment_text": "", "digests": { "md5": "3ba9e7e7f8d846bafced8a4967fc9766", "sha256": "7aabe2f57a73b2e29561b3e64eaacd34fc45347c420265671050684319cb349d" }, "downloads": -1, "filename": "bitsv-0.8.0.tar.gz", "has_sig": false, "md5_digest": "3ba9e7e7f8d846bafced8a4967fc9766", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39934, "upload_time": "2019-07-14T05:26:12", "url": "https://files.pythonhosted.org/packages/af/03/cc4b15db2b203443201d75173b79af5deeefba61910726281b5bf474e919/bitsv-0.8.0.tar.gz" } ], "0.9.0": [ { "comment_text": "", "digests": { "md5": "bccc2b556945bea3103bea3fc9cb4a17", "sha256": "b03037c4614ff76a7e0308ead9bb93d188a16f6aa05400cc17e05dbf8e33647b" }, "downloads": -1, "filename": "bitsv-0.9.0.tar.gz", "has_sig": false, "md5_digest": "bccc2b556945bea3103bea3fc9cb4a17", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40549, "upload_time": "2019-08-11T02:27:48", "url": "https://files.pythonhosted.org/packages/4b/12/9f0824bb4b5279b066b27df6d0f800ecc7bc73e205c83747d21acabe9450/bitsv-0.9.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bccc2b556945bea3103bea3fc9cb4a17", "sha256": "b03037c4614ff76a7e0308ead9bb93d188a16f6aa05400cc17e05dbf8e33647b" }, "downloads": -1, "filename": "bitsv-0.9.0.tar.gz", "has_sig": false, "md5_digest": "bccc2b556945bea3103bea3fc9cb4a17", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40549, "upload_time": "2019-08-11T02:27:48", "url": "https://files.pythonhosted.org/packages/4b/12/9f0824bb4b5279b066b27df6d0f800ecc7bc73e205c83747d21acabe9450/bitsv-0.9.0.tar.gz" } ] }