{ "info": { "author": "Matthew Rosendin", "author_email": "matthew.rosendin@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Programming Language :: Python :: 3" ], "description": "# p2p-net\n\nRLP-encoded signatures used in networking demonstrating ping. This code can query to determine whether there is a connection to it.\n\n## Getting Started\n\nClone the repository\n\n```\n$ git clone https://github.com/rosendin/p2p-net\nCloning into `p2p-net`...\nremote: Counting objects: 10, done.\nremote: Compressing objects: 100% (8/8), done.\nremove: Total 10 (delta 1), reused 10 (delta 1)\nUnpacking objects: 100% (10/10), done.\n```\n\nCreate and activate the virtual environment\n\n```\n$ virtualenv p2pnet\nNew python executable in pyeth/bin/python2.7\nAlso creating executable in pyeth/bin/python\nInstalling setuptools, pip...done.\n\n$ source venv/bin/activate\n```\n\nInstall cookiecutter with pip: `pip install cookiecutter` then download the [project skeleton](https://github.com/wdm0006/cookiecutter-pipproject) with `cookiecutter gh:wdm0006/cookiecutter-pipproject`.\n\nRun `pip install -r requirements.txt` or install individually (see below).\n\nInstall nose: `pip install nose`\nRLP encoding: `pip install rlp`\nElliptic curve encryption: `pip install secp256k1`\nFor the `keccack256` algo: `pip install pysha3`\nIP addresses to binary format: `pip install ipaddress`\n\nGenerating a private key:\n```\n(venv) $ python\n>>> from secp256k1 import PrivateKey\n>>> k = PrivateKey(None)\n>>> f = open(\"priv_key\", 'w')\n>>> f.write(k.serialize())\n>>> f.close()\n```\n\nCommand to run unit tests: `nosetests`\n\n## To-do\n\n- Use BLS signatures\n\n## References\n- [Ocalog Posts on Ethereum](https://ocalog.com/)\n- [Recursive Length Prefix Encoding (Ethereum)](https://github.com/ethereum/wiki/wiki/RLP)\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/rosendin/pyeth/tarball/0.0.1", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rosendin/p2pnet", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "p2pnet", "package_url": "https://pypi.org/project/p2pnet/", "platform": "", "project_url": "https://pypi.org/project/p2pnet/", "project_urls": { "Download": "https://github.com/rosendin/pyeth/tarball/0.0.1", "Homepage": "https://github.com/rosendin/p2pnet" }, "release_url": "https://pypi.org/project/p2pnet/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "RLP-encoded p2p networking using BLS signatures", "version": "0.0.1" }, "last_serial": 3857994, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "061fe387855b4f0b60b6efa65c9fe774", "sha256": "a7ba1844b9ad92964b6fd11815896bf44d0fb8dd705b21ffa439bad6f84799c2" }, "downloads": -1, "filename": "p2pnet-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "061fe387855b4f0b60b6efa65c9fe774", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 3814, "upload_time": "2018-05-13T06:23:27", "url": "https://files.pythonhosted.org/packages/70/92/b682b7968075ec85a551741833d4c5bd3961c03ed7104b0842b329881723/p2pnet-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7c6546389c1fcf78849305ac9f5bd61d", "sha256": "7c360d488fec56510bb8fa15abdfabd08d16d1ded5c39c689cd298304ce95f4e" }, "downloads": -1, "filename": "p2pnet-0.0.1.tar.gz", "has_sig": false, "md5_digest": "7c6546389c1fcf78849305ac9f5bd61d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3506, "upload_time": "2018-05-13T06:23:25", "url": "https://files.pythonhosted.org/packages/f6/eb/50eb0c9b980ddc29fd94340236979e62bdfc4dd9c96b9241d6ca91cd2965/p2pnet-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "061fe387855b4f0b60b6efa65c9fe774", "sha256": "a7ba1844b9ad92964b6fd11815896bf44d0fb8dd705b21ffa439bad6f84799c2" }, "downloads": -1, "filename": "p2pnet-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "061fe387855b4f0b60b6efa65c9fe774", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 3814, "upload_time": "2018-05-13T06:23:27", "url": "https://files.pythonhosted.org/packages/70/92/b682b7968075ec85a551741833d4c5bd3961c03ed7104b0842b329881723/p2pnet-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7c6546389c1fcf78849305ac9f5bd61d", "sha256": "7c360d488fec56510bb8fa15abdfabd08d16d1ded5c39c689cd298304ce95f4e" }, "downloads": -1, "filename": "p2pnet-0.0.1.tar.gz", "has_sig": false, "md5_digest": "7c6546389c1fcf78849305ac9f5bd61d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3506, "upload_time": "2018-05-13T06:23:25", "url": "https://files.pythonhosted.org/packages/f6/eb/50eb0c9b980ddc29fd94340236979e62bdfc4dd9c96b9241d6ca91cd2965/p2pnet-0.0.1.tar.gz" } ] }