{ "info": { "author": "Chuck \"Sarchar\"", "author_email": "chuck@borboggle.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Internet", "Topic :: Security :: Cryptography", "Topic :: System :: Distributed Computing", "Topic :: System :: Networking" ], "description": "pyspv\n=====\n\n__WARNING__: *This is experimental software. Use at your own risk*\n\npyspv is a no-bullshit, easy-to-use Python module implementing the full Bitcoin\nSPV client protocol. Connecting to the Bitcoin network is as easy as:\n\n```python\nimport pyspv\nspv = pyspv.pyspv(\"my-application-name\")\n...\n```\n\n... but just connecting to the Bitcoin network would be boring. The real goal\nof this project is to make embedding Bitcoin into your project so simple that\neverybody does it. pyspv handles the details like Blockchain syncing, the\npeer-to-peer network, payment management, wallets, etc., and allows you to get\nstarted prototyping your Bitcoin application quickly.\n\nI intend to make this SPV client as extensible as possible with a goal of\nsupporting alt-coins using simple coin definitions. Because pyspv is modular,\nit is now easy to connect to several different alt-coin networks within the\nsame application -- simply initialize two pyspv classes with different coin\ndefinitions.\n\nYou can develop a pretty UI wallet or just a simple utility to send you an\nE-mail you when an address receives a payment. The possibilities are really\nendless.\n\nrequirements\n============\n\npyspv only relies on a small handful of dependencies:\n\n* [Python 3.3](http://www.python.org/) :: It probably works on other versions, but this is my testing platform.\n* OpenSSL :: You'll need libssl.so (Linux/Mac) or libeay32.dll (Windows) in your path.\n* [Bitarray](https://pypi.python.org/pypi/bitarray/) :: This is required by the bloom filter implementation.\n\nfeatures\n========\n\n* SPV implementation, so relatively lightweight\n* Python, useful for server and user applications\n* Multisignature support, can create, send to and spend multisignature payments\n* Stealth address support, can create, send to and spend stealth address payments\n* Tor/SOCKS support\n* Testnet support\n* Extensible payment monitor and transaction building system\n\nexamples\n========\n\nsimple-wallet.py\n----------------\n\nThis example runs a basic wallet. Running it with no arguments starts an RPC\nserver. With arguments, an RPC call is made. The program behaves similarly to\nbitcoind, with several noticeable differences.\n\nAvailable commands:\n\n* getnewaddress \\[label\\]? - returns a standard public-key-hash address\n* getnewstealthaddress \\[label\\]? - returns a new stealth address\n* getnewpubkey \\[label\\]? \\[compressed=false\\]? - returns a new public key (hex)\n* getbalance - returns total balance in the wallet\n* getinfo - returns information on the state of the SPV node\n* listspends \\[include\\_spent=false\\] - returns a dictionary describing the Spends in the wallet\n* sendtoaddress \\[address\\] \\[amount\\] \\[memo\\]? - sends amount of coins to address. The address can be a stealth address, a multisig address, or a standard address.\n* sendspendtoaddress \\[spend\\_hash\\] \\[address\\] \\[amount\\] \\[memo\\]? - force inclusion of a specific Spend to the specified address. more coins are selected from the wallet if they're needed to complete the transaction.\n* dumppubkey \\[address\\] - yield the public key of the specified address, if it's in the wallet\n* dumpprivkey \\[address\\] - yield the private key (in WIF format) of the specified address, if it's in the wallet\n* genmultisig \\[nreq\\] \\[mtotal\\] \\[pubkey1,pubkey2,...\\]? - produce a new multsignature address. If not mtotal public keys are provided, new ones are generated and stored in the wallet. The multisignature address requires nreq signatures to spend.\n* sendrawtransaction \\[tx\\_hex\\] - broadcast a transaction to the network\n\ntest-stealth-keys.py\n--------------------\n\nThis example runs through the math and demonstrates how stealth addresses work in theory. \n\nanyonecanpay-new.py\n-------------------\n\nCreate a new transaction with specified outputs and zero inputs. The transaction displayed can be used as input to anyonecanpay-add.py.\n\nanyonecanpay-add.py\n-------------------\n\nGiven a transaction and a spend id, add those inputs and sign them using ANYONECANPAY. This program, combined with anyonecanpay-new.py\neffectly allows easy creation of [assurance contracts](https://en.bitcoin.it/wiki/Contracts#Example_3:_Assurance_contracts).\n\ndocumentation\n=============\n\nTODO\n\nDocumentation will soon be available at http://docs.pyspv.org/", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sarchar/pyspv", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "pyspv", "package_url": "https://pypi.org/project/pyspv/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyspv/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/sarchar/pyspv" }, "release_url": "https://pypi.org/project/pyspv/0.0.1/", "requires_dist": null, "requires_python": null, "summary": "Bitcoin SPV implementation in Python", "version": "0.0.1" }, "last_serial": 1008563, "releases": { "0.0.1": [] }, "urls": [] }