{ "info": { "author": "Finn Herzfeld", "author_email": "finn@seattlemesh.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: GNU Affero General Public License v3", "Topic :: System :: Networking" ], "description": "===============================\n python-cjdns For Python 2 & 3\n===============================\n\n.. image:: https://travis-ci.org/hyperboria/python-cjdns.svg?branch=master\n :alt: Bulid Status\n :target: https://travis-ci.org/hyperboria/python-cjdns\n\n.. image:: https://landscape.io/github/hyperboria/python-cjdns/master/landscape.svg\n :alt: Code Health\n :target: https://landscape.io/github/hyperboria/python-cjdns/master\n\n.. image:: https://img.shields.io/pypi/v/cjdns.svg\n :alt: PyPI\n :target: https://pypi.python.org/pypi/cjdns\n\nThe cjdns python library doesn't support python3 and is a PITA to install, due\nto it's use of a modified bencode library which is still called \"bencode\", among\nother things, so I'm cleaning it up.\n\nInstallation\n============\n\nThe easiest way to install it is::\n\n pip install cjdns\n\nBut you could also clone it and run::\n\n python setup.py install\n\nOnce it's installed, you'll find ``peerStats`` and ``cexec`` installed in your ``$PATH``, and the ``cjdns`` library available for import.\n\n\nUsage\n=====\n\nUsage is simple. First, import:\n\n.. code:: python\n\n import cjdns\n\nThen, connect to the running cjdns instance. There are two ways to do this. The normal way is to use the ``~/.cjdnsadmin`` file:\n\n.. code:: python\n\n cjdns = cjdns.connectWithAdminInfo()\n\nOr, if you have the IP, port and password and wish to ignore the ``~/.cjdnsadmin`` file for whatever reason:\n\n.. code:: python\n\n cjdns = cjdns.connect(ip, port, password)\n\nOnce connected, you may call any of the `cjdns admin interface functions `_:\n\n.. code:: python\n\n peerStats = cjdns.InterfaceController_peerStats()\n\nFinally, there is a helper function that allows one to convert a cjdns public key into an IP address:\n\n.. code:: python\n\n from cjdns import key_utils\n key_utils.to_ipv6('1rfp3guz4jjhfu4dsu5mrz68f7fyp502wcttq6b78xdrjhd4ru80.k')\n\n\nLicense\n=======\nSame as cjdns, this is a GPLv3 project. Full text of the license is available [here](LICENSE)\n\n\nContributing\n============\n\nI welcome pull requests, please make sure that everything you contribute is pep8 compliant and works on python 2.6, 2.7, 3.2, 3.3 and 3.4. There are some basic tests in place for these things via Travis, but they're not complete by any means.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/hyperboria/python-cjdns", "keywords": "cjdns", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "cjdns", "package_url": "https://pypi.org/project/cjdns/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/cjdns/", "project_urls": { "Homepage": "https://github.com/hyperboria/python-cjdns" }, "release_url": "https://pypi.org/project/cjdns/0.2.4/", "requires_dist": [ "prettytable" ], "requires_python": "", "summary": "A library to interact with the cjdns Admin Interface", "version": "0.2.4" }, "last_serial": 2200213, "releases": { "0.2.3": [], "0.2.3.1": [ { "comment_text": "", "digests": { "md5": "1c5ef66358b0d7ce76590dde22d6481e", "sha256": "1d1d1c26d95ab3f9d13f53127cc704f9c4a37e5b2118693a466f626312db6f79" }, "downloads": -1, "filename": "cjdns-0.2.3.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "1c5ef66358b0d7ce76590dde22d6481e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13187, "upload_time": "2015-11-21T00:12:37", "url": "https://files.pythonhosted.org/packages/40/b3/216ef7b4c71d3c0705525a88f886b5ab460b8d00537690f7beaa7df5b52f/cjdns-0.2.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d9293571f16a1b2449b2bfe1ca3baa65", "sha256": "67dcfb130859608e53ceca47d2217102766ad89a84b21158ac25619b206159a8" }, "downloads": -1, "filename": "cjdns-0.2.3.1.tar.gz", "has_sig": true, "md5_digest": "d9293571f16a1b2449b2bfe1ca3baa65", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8065, "upload_time": "2015-11-21T00:12:44", "url": "https://files.pythonhosted.org/packages/11/9b/12005fb73ac526f2aa313fa52a52812bf58a2667b1598d15b81bf3c99839/cjdns-0.2.3.1.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "c42d8cdfaa797114ce6b8026858d8f28", "sha256": "1503d9787a9c06bda133230ed20f8128b236e1d73450d9f0d9b584aa54204c75" }, "downloads": -1, "filename": "cjdns-0.2.4-py2-none-any.whl", "has_sig": true, "md5_digest": "c42d8cdfaa797114ce6b8026858d8f28", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 14036, "upload_time": "2016-07-03T08:48:11", "url": "https://files.pythonhosted.org/packages/76/5a/31d82c73404258faa12e15d220d6856e4d5349c2359249620c9ac31acd59/cjdns-0.2.4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "87a8458887d52ca244bf40aefd336117", "sha256": "b92378221c21589f1a13fd85861f539e4872f8d7b373887bea9de45325da5aea" }, "downloads": -1, "filename": "cjdns-0.2.4-py3-none-any.whl", "has_sig": true, "md5_digest": "87a8458887d52ca244bf40aefd336117", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14037, "upload_time": "2016-07-03T08:48:16", "url": "https://files.pythonhosted.org/packages/fa/d2/298050a476f69a4bdd88c323d15bdedb1eaf657a2d24a04aa174286513dd/cjdns-0.2.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c787bc84ee9e5dcf25fea967574b41ac", "sha256": "452044df245ed7e8a582a573b1571e202e07b9d9e2b79e9e790f85c7f55fe5b8" }, "downloads": -1, "filename": "cjdns-0.2.4.tar.gz", "has_sig": true, "md5_digest": "c787bc84ee9e5dcf25fea967574b41ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8348, "upload_time": "2016-07-03T08:48:20", "url": "https://files.pythonhosted.org/packages/2a/13/0fac721576aeadfdf7acc4985a85bb624ab4a39500a121a816cae1052eed/cjdns-0.2.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c42d8cdfaa797114ce6b8026858d8f28", "sha256": "1503d9787a9c06bda133230ed20f8128b236e1d73450d9f0d9b584aa54204c75" }, "downloads": -1, "filename": "cjdns-0.2.4-py2-none-any.whl", "has_sig": true, "md5_digest": "c42d8cdfaa797114ce6b8026858d8f28", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 14036, "upload_time": "2016-07-03T08:48:11", "url": "https://files.pythonhosted.org/packages/76/5a/31d82c73404258faa12e15d220d6856e4d5349c2359249620c9ac31acd59/cjdns-0.2.4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "87a8458887d52ca244bf40aefd336117", "sha256": "b92378221c21589f1a13fd85861f539e4872f8d7b373887bea9de45325da5aea" }, "downloads": -1, "filename": "cjdns-0.2.4-py3-none-any.whl", "has_sig": true, "md5_digest": "87a8458887d52ca244bf40aefd336117", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14037, "upload_time": "2016-07-03T08:48:16", "url": "https://files.pythonhosted.org/packages/fa/d2/298050a476f69a4bdd88c323d15bdedb1eaf657a2d24a04aa174286513dd/cjdns-0.2.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c787bc84ee9e5dcf25fea967574b41ac", "sha256": "452044df245ed7e8a582a573b1571e202e07b9d9e2b79e9e790f85c7f55fe5b8" }, "downloads": -1, "filename": "cjdns-0.2.4.tar.gz", "has_sig": true, "md5_digest": "c787bc84ee9e5dcf25fea967574b41ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8348, "upload_time": "2016-07-03T08:48:20", "url": "https://files.pythonhosted.org/packages/2a/13/0fac721576aeadfdf7acc4985a85bb624ab4a39500a121a816cae1052eed/cjdns-0.2.4.tar.gz" } ] }