{ "info": { "author": "Johan St\u00e9n", "author_email": "johan.sten@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "stellar-py\n==========\n\nPython client library for Stellar\n\n[![PyPI version](https://badge.fury.io/py/stellar-py.svg)](http://badge.fury.io/py/stellar-py)\n\n# Generating keys\n\n```python\naccount, secret = generate_keypair(password=None)\n```\n\n# Signing and submitting transactions\n\nAt the highest level of abstraction there are functions like these,\n```python\nsend_payment(secret, account, destination, amount)\nset_regular_key(secret, account, regular_key)\n```\n\nLower down the operations are separated for easy offline usage,\nwhere you create the transaction json object, sign the transaction,\nand then submit it as separate steps.\n```python\ntc_json = get_payment_tx_json(account, destination, amount)\ntx_blob = sign_transaction(secret, tx_json)\nres, msg = submit_transaction(tx_blob)\n```\n\nAt an even lower level, you can create your own transaction json object,\nand have stellar-py take over from there.\n\n```python\nimport stellar\n\ntx_json = {\n\t'TransactionType': \t'Payment',\n\t'Account': \t\t\taccount,\n\t'Amount': \t\t\tamount,\n\t'Destination':\t\tdest,\n}\n\nstellar.complete_transaction_fields(tx_json)\ntx_blob = stellar.sign_transaction(secret, tx_json)\nstellar.submit_transaction(tx_blob)\n```\n\n\n# Installation\n\nOnly tested on Python 2.7\n\nIn most cases, this is enough to install:\n\n\t$ pip install stellar-py\n\nIf not, then you might need these too:\n\n\t$ apt-get install python-pip\n\t$ apt-get install python-dev", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/johansten/stellar-py", "keywords": null, "license": "LICENSE.txt", "maintainer": null, "maintainer_email": null, "name": "stellar-py", "package_url": "https://pypi.org/project/stellar-py/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/stellar-py/", "project_urls": { "Homepage": "https://github.com/johansten/stellar-py" }, "release_url": "https://pypi.org/project/stellar-py/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Python client library for Stellar", "version": "0.1.1" }, "last_serial": 3493185, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "af965336ece0d5b92842dfa891fd1a62", "sha256": "f4f0bc41bf1859d5d3e4b16a116cbef660fb76f42a41ba02ce8478f110dc355c" }, "downloads": -1, "filename": "stellar-py-0.1.0.tar.gz", "has_sig": false, "md5_digest": "af965336ece0d5b92842dfa891fd1a62", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5760, "upload_time": "2014-08-25T08:52:11", "url": "https://files.pythonhosted.org/packages/58/4f/d8fb756905673a8c75d2fa715a096bb4745eb114df2a2dd0ef129da401d0/stellar-py-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "ea8bb4daf31d111362e837da1c563377", "sha256": "6fed3095d3e0addb550209abc5cb51d030dd5d8a12ffc4db85139fe3f712530c" }, "downloads": -1, "filename": "stellar-py-0.1.1.tar.gz", "has_sig": false, "md5_digest": "ea8bb4daf31d111362e837da1c563377", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6521, "upload_time": "2014-09-03T02:43:07", "url": "https://files.pythonhosted.org/packages/11/d0/d958d3f5ce4199f5e7c24744d7aef1ea0c4c1b21d96ffa2c54d32d7ce27c/stellar-py-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ea8bb4daf31d111362e837da1c563377", "sha256": "6fed3095d3e0addb550209abc5cb51d030dd5d8a12ffc4db85139fe3f712530c" }, "downloads": -1, "filename": "stellar-py-0.1.1.tar.gz", "has_sig": false, "md5_digest": "ea8bb4daf31d111362e837da1c563377", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6521, "upload_time": "2014-09-03T02:43:07", "url": "https://files.pythonhosted.org/packages/11/d0/d958d3f5ce4199f5e7c24744d7aef1ea0c4c1b21d96ffa2c54d32d7ce27c/stellar-py-0.1.1.tar.gz" } ] }