{ "info": { "author": "Rodolphe Marques", "author_email": "rodolphe@ascribe.io", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Topic :: Software Development" ], "description": ".. image:: https://img.shields.io/pypi/v/transactions.svg\n :target: https://pypi.python.org/pypi/transactions\n.. image:: https://img.shields.io/travis/ascribe/transactions.svg\n :target: https://travis-ci.org/ascribe/transactions\n.. image:: https://img.shields.io/codecov/c/github/ascribe/transactions/master.svg\n :target: https://codecov.io/github/ascribe/transactions?branch=master\n.. image:: https://readthedocs.org/projects/transactions/badge/?version=latest\n :target: http://transactions.readthedocs.org/en/latest/?badge=latest\n\n\ntransactions: Bitcoin for Humans\n================================\n``transactions`` is a small python library to easily create and push\ntransactions to the bitcoin network.\n\nInstallation\n------------\n\n.. code-block:: bash\n\n $ pip install transactions\n\n\nExamples\n--------\nAssuming the following cast of characters:\n\n.. code-block:: python\n\n >>> alice = 'mhyCaF2HFk7CVwKmyQ8TahgVdjnHSr1pTv'\n >>> bob = 'mqXz83H4LCxjf2ie8hYNsTRByvtfV43Pa7'\n >>> carol = 'mtWg6ccLiZWw2Et7E5UqmHsYgrAi5wqiov'\n\nMoving ``10000`` satoshis from ``alice`` to ``bob``:\n\n.. code-block:: python\n\n >>> from transactions import Transactions\n >>> transactions = Transactions(testnet=True)\n >>> tx = transactions.create(alice, (bob, 10000))\n >>> tx_signed = transactions.sign(tx, 'alice master secret')\n >>> transactions.push(tx_signed)\n\nMoving ``600`` satoshis from ``bob`` to ``carol`` with a custom ``op_return``:\n\n.. code-block:: python\n\n >>> tx = transactions.create(bob, (carol, 600), op_return='HELLOFROMASCRIBE')\n >>> tx_signed = transactions.sign(tx, 'bob master secret')\n >>> transactions.push(tx_signed)\n\nCheck it out `fbbd6407b8fc73169918b2fce7f07aff6a486a241c253f0f8eeb942937fbb970 `_\n\nWith ``transactions`` all amounts are in satoshi and we currently only support\n`BIP32`_ wallets (hierarchical deterministic wallets, aka \"HD Wallets\").\n\n\nDocumentation\n-------------\nhttps://transactions.readthedocs.org/\n\n\nContributing\n------------\nPull requests, feedback, and suggestions are welcome.\n`Issues `_ and\n`pull requests `_ are handled\nvia github.\n\n\nBackground\n----------\nThis was developed by ascribe GmbH as part of the overall ascribe technology\nstack. https://www.ascribe.io\n\n\nCopyright\n---------\nThis code is \u00a9 2015 ascribe GmbH.\n\nLicensed under the Apache License, Version 2.0.\n\n\n.. _bip32: https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ascribe/transactions", "keywords": "", "license": "Apache Software License", "maintainer": "", "maintainer_email": "", "name": "transactions", "package_url": "https://pypi.org/project/transactions/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/transactions/", "project_urls": { "Homepage": "https://github.com/ascribe/transactions" }, "release_url": "https://pypi.org/project/transactions/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "transactions: Bitcoin for Humans", "version": "0.2.0" }, "last_serial": 2157564, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "e4fb8362c48baa804952eec72182085a", "sha256": "99b0d4555b59dadc7e2cbfb3d42dc83340c0548128dbf87f34218c86965f9f29" }, "downloads": -1, "filename": "transactions-0.1.tar.gz", "has_sig": false, "md5_digest": "e4fb8362c48baa804952eec72182085a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6057, "upload_time": "2016-02-20T01:25:20", "url": "https://files.pythonhosted.org/packages/fa/6d/6d09fa272831759b654d996e293db154b41eaf087801a15a853fbfe921e7/transactions-0.1.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "3ddf6891ba02597c40e793c2ce702b36", "sha256": "0b6a5f3df397dfdec90072be4980732fa6a53a3dfaa01b580559715ca6b276a8" }, "downloads": -1, "filename": "transactions-0.1.0.tar.gz", "has_sig": false, "md5_digest": "3ddf6891ba02597c40e793c2ce702b36", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6239, "upload_time": "2016-02-22T21:39:31", "url": "https://files.pythonhosted.org/packages/59/93/d9ec990841ea92b7fdf2527e4722b8fe9f4bdf4c8a3729e8b2569320fad9/transactions-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "2bab893fd21e079be02f19c5f576d392", "sha256": "5cfe9d3d38ae03af604c980b7d96c3ecd349715f714b1a78e63e6472f38862ac" }, "downloads": -1, "filename": "transactions-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2bab893fd21e079be02f19c5f576d392", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8136, "upload_time": "2016-05-03T09:18:41", "url": "https://files.pythonhosted.org/packages/f5/8a/9e248030e509b62cd6e5289070e1cd0b39ca3e15af2677028a0a7de81210/transactions-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "e9be29826ff6f1c2d530bf105147d307", "sha256": "6475484a6977a910fd6cec98b13d54f67a9e4b34e0e082e07e1f1dd7cdeb3730" }, "downloads": -1, "filename": "transactions-0.1.2.tar.gz", "has_sig": false, "md5_digest": "e9be29826ff6f1c2d530bf105147d307", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9130, "upload_time": "2016-06-08T10:18:03", "url": "https://files.pythonhosted.org/packages/f3/a3/2597ae416a89cbf60aba4967ae88f9ff88afbe0773c651a504f6964f2939/transactions-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "b386a27f2cb38c88a58496672190f9fe", "sha256": "fbb2be065b0c19d2c2623f23c092a1dfe76e89fbe7a2c73724e591aa35aefe4c" }, "downloads": -1, "filename": "transactions-0.1.3.tar.gz", "has_sig": false, "md5_digest": "b386a27f2cb38c88a58496672190f9fe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10336, "upload_time": "2016-06-08T10:46:41", "url": "https://files.pythonhosted.org/packages/c5/0f/e02060ef6951046fa60ddb9c1f880a0e4ccc2335df6f18be39eef491fa47/transactions-0.1.3.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "45ef6e3a9b31932f669bd1ec114fbd12", "sha256": "e94d9e3980c74b4c47f8e68d29afac22cfee9707738c83b2f8e8a1f48118999e" }, "downloads": -1, "filename": "transactions-0.2.0.tar.gz", "has_sig": false, "md5_digest": "45ef6e3a9b31932f669bd1ec114fbd12", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10480, "upload_time": "2016-06-08T20:26:06", "url": "https://files.pythonhosted.org/packages/1c/1d/1ce3ceaa3739666836ec5c58ffb8ea992831c8c3a90db4c49be6bf3f52ad/transactions-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "45ef6e3a9b31932f669bd1ec114fbd12", "sha256": "e94d9e3980c74b4c47f8e68d29afac22cfee9707738c83b2f8e8a1f48118999e" }, "downloads": -1, "filename": "transactions-0.2.0.tar.gz", "has_sig": false, "md5_digest": "45ef6e3a9b31932f669bd1ec114fbd12", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10480, "upload_time": "2016-06-08T20:26:06", "url": "https://files.pythonhosted.org/packages/1c/1d/1ce3ceaa3739666836ec5c58ffb8ea992831c8c3a90db4c49be6bf3f52ad/transactions-0.2.0.tar.gz" } ] }