{ "info": { "author": "Tim Golden", "author_email": "mail@timgolden.me.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Build Tools" ], "description": "NetworkZero\n===========\n\n.. image:: https://travis-ci.org/tjguk/networkzero.svg?branch=master\n :target: https://travis-ci.org/tjguk/networkzero\n\nMake it easy for learning groups to use simple networking in Python\n\n* Docs: http://networkzero.readthedocs.org/en/latest/\n\n* Development: https://github.com/tjguk/networkzero\n\n* Tests: to run the tests, run tox. All tests are run on Travis (Linux & Apple)\n and Appveyor (Windows)\n\nAPI\n---\n\naddress below refers to an IP:Port string eg \"192.0.2.5:4567\"\n\nDiscovery\n~~~~~~~~~\n\n* address = advertise(name, address=None)\n\n* address = discover(name, wait_for_s=FOREVER)\n\n* [(name, address), ...] = discover_all()\n\n* [(name, address), ...] = discover_group(group_name, separator=\"/\")\n\nMessaging\n~~~~~~~~~\n\n* reply = send_message_to(address, message, wait_for_reply_s=FOREVER)\n\n* message = wait_for_message_from(address, [wait_for_s=FOREVER])\n\n* send_reply_to(address, reply)\n\n* send_news_to(address, news)\n\n* wait_for_news_from(address[, pattern=EVERYTHING][, wait_for_s=FOREVER])\n\nTypical Usage\n-------------\n\nOn computer (or process) A:\n\n.. code-block:: python\n\n import networkzero as nw0\n\n address = nw0.advertise(\"hello\")\n while True:\n name = nw0.wait_for_message_from(address)\n nw0.send_reply_to(address, \"Hello, %s\" % name)\n\nOn computer (or process) B and C and D...:\n\n.. code-block:: python\n\n import networkzero as nw0\n\n server = nw0.discover(\"hello\")\n reply = nw0.send_message_to(server, \"World\")\n print(reply)\n reply = nw0.send_message_to(server, \"Tim\")\n print(reply)", "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/tjguk/networkzero", "keywords": "networking education", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "networkzero", "package_url": "https://pypi.org/project/networkzero/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/networkzero/", "project_urls": { "Homepage": "https://github.com/tjguk/networkzero" }, "release_url": "https://pypi.org/project/networkzero/1.0b1/", "requires_dist": null, "requires_python": null, "summary": "Making networking simple for teachers", "version": "1.0b1" }, "last_serial": 2125250, "releases": { "1.0b1": [ { "comment_text": "", "digests": { "md5": "e48362fcb28661952ce969d0d6f042da", "sha256": "2e75228a687ff690d0e932e0c6c425b65cbb526ca0a73a29db27af4b185e7294" }, "downloads": -1, "filename": "networkzero-1.0b1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e48362fcb28661952ce969d0d6f042da", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 20316, "upload_time": "2016-05-20T12:37:32", "url": "https://files.pythonhosted.org/packages/f3/d0/13da5ca617aea49f5e4296efbf02fb4717d602db587803bbe216fa41f88c/networkzero-1.0b1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "456cc314b68d2027704b7f9161b33825", "sha256": "4deefe944e70fd0622bf87c89c5be11eb44f299d53f4c42dd08b9ebba4eb10e1" }, "downloads": -1, "filename": "networkzero-1.0b1.zip", "has_sig": false, "md5_digest": "456cc314b68d2027704b7f9161b33825", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22124, "upload_time": "2016-05-20T12:37:41", "url": "https://files.pythonhosted.org/packages/70/dd/f12daf38405e9be5b7d7115b2f0f19eaaaecff44871185df2a28017a0f2a/networkzero-1.0b1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e48362fcb28661952ce969d0d6f042da", "sha256": "2e75228a687ff690d0e932e0c6c425b65cbb526ca0a73a29db27af4b185e7294" }, "downloads": -1, "filename": "networkzero-1.0b1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e48362fcb28661952ce969d0d6f042da", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 20316, "upload_time": "2016-05-20T12:37:32", "url": "https://files.pythonhosted.org/packages/f3/d0/13da5ca617aea49f5e4296efbf02fb4717d602db587803bbe216fa41f88c/networkzero-1.0b1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "456cc314b68d2027704b7f9161b33825", "sha256": "4deefe944e70fd0622bf87c89c5be11eb44f299d53f4c42dd08b9ebba4eb10e1" }, "downloads": -1, "filename": "networkzero-1.0b1.zip", "has_sig": false, "md5_digest": "456cc314b68d2027704b7f9161b33825", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22124, "upload_time": "2016-05-20T12:37:41", "url": "https://files.pythonhosted.org/packages/70/dd/f12daf38405e9be5b7d7115b2f0f19eaaaecff44871185df2a28017a0f2a/networkzero-1.0b1.zip" } ] }