{ "info": { "author": "Jeremy Kanovsky", "author_email": "kanovsky.jeremy@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3" ], "description": "# Blackboard\n\n## Interface\n\n#### Constructor\n`Blackboard(addr=MCAST_GRP, port=MCAST_PORT, read_size=READ_SIZE, TTL=MULTICAST_TTL)`\n\n- `addr`: This is the network address to connect to. It must be an unreserved, available network block that supports the Multicasting protocol. It will default to `244.1.1.1`.\n- `port`: This is the port on the network address the Blackboard will connect to. It will default to `5007`.\n- `read_size`: This will specify the standard read size when getting data from the network address. It will default to `256` bytes.\n- `TTL`: This is the number of times the signal will propagate through the network before being cut off. It will default to `32`.\n\n#### Methods\n- `write_json(channel, data)`: This will write the specified data to the specified channel. The channel can be any arbitrary string.\n- `get(channel)`: This will return the most recent piece of data received on a specified channel.\n- `register_callback(channel, f)`: This will add a callback function that will be called when a specific channel gets data. The callback must be a function that gets a single argument of the data from the channel.\n- `is_open()`: This function will return `True` if the Blackboard is connected to the network, and `False` otherwise.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/0xJeremy/Blackboard", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "Blackboard", "package_url": "https://pypi.org/project/Blackboard/", "platform": "", "project_url": "https://pypi.org/project/Blackboard/", "project_urls": { "Homepage": "https://github.com/0xJeremy/Blackboard" }, "release_url": "https://pypi.org/project/Blackboard/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "A Python Multicast Client", "version": "0.1.0" }, "last_serial": 5985787, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "137da4ca54f88ff9d1721afe1c8be96c", "sha256": "bdc20a9173de1627b0092d2c75eea9aea14eded94ae778e47015d155abf8f058" }, "downloads": -1, "filename": "Blackboard-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "137da4ca54f88ff9d1721afe1c8be96c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1713, "upload_time": "2019-10-16T18:24:00", "url": "https://files.pythonhosted.org/packages/7b/74/c345c66af444fa2cfc760ca518c4c95c5e256014c16ee461efab910e3164/Blackboard-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f1750db2de8d59aa74b469d1b80cf1b1", "sha256": "b13c0c4bcebc228d4536c8fea98e49294ee0b7627a9434451c8b647941dcc835" }, "downloads": -1, "filename": "Blackboard-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f1750db2de8d59aa74b469d1b80cf1b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1548, "upload_time": "2019-10-16T18:24:02", "url": "https://files.pythonhosted.org/packages/d4/fe/2e518d462b9936041ddd03e36466dbf4f0cb486b9697f59e9fbaf7b2c51c/Blackboard-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "137da4ca54f88ff9d1721afe1c8be96c", "sha256": "bdc20a9173de1627b0092d2c75eea9aea14eded94ae778e47015d155abf8f058" }, "downloads": -1, "filename": "Blackboard-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "137da4ca54f88ff9d1721afe1c8be96c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1713, "upload_time": "2019-10-16T18:24:00", "url": "https://files.pythonhosted.org/packages/7b/74/c345c66af444fa2cfc760ca518c4c95c5e256014c16ee461efab910e3164/Blackboard-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f1750db2de8d59aa74b469d1b80cf1b1", "sha256": "b13c0c4bcebc228d4536c8fea98e49294ee0b7627a9434451c8b647941dcc835" }, "downloads": -1, "filename": "Blackboard-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f1750db2de8d59aa74b469d1b80cf1b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1548, "upload_time": "2019-10-16T18:24:02", "url": "https://files.pythonhosted.org/packages/d4/fe/2e518d462b9936041ddd03e36466dbf4f0cb486b9697f59e9fbaf7b2c51c/Blackboard-0.1.0.tar.gz" } ] }