{ "info": { "author": "RapidSockets", "author_email": "support@rapidsockets.com", "bugtrack_url": null, "classifiers": [], "description": "## RapidSockets Python SDK\n\n### Introduction\nThis is the official Software Development Kit for Python to interact with the RapidSockets real-time messaging platform.\n\n### Installation\n```\npip install rapidsockets\n```\n\n### Quickstart\n```python\nfrom rapidsockets import RapidSockets\nimport time\n\n# initialize and open a connection to the RapidSockets Gateway\nrs = RapidSockets({\n 'key': 'your multi key'\n})\n\n# the callback function run on a new message to channel \"mytest\"\ndef mytest(packet):\n print(packet)\n\n# start listening for new messages on channel \"mytest\"\nrs.subscribe({\n 'channel': 'mytest',\n 'callback': mytest\n})\n\n# as a test, publish messages to channel \"mytest\" every two seconds\nwhile True:\n rs.publish({\n 'channel': 'mytest',\n 'message': 'test message'\n })\n time.sleep(2)\n```\n\n### Development specific notes\n```\n# build test wheel\npython3 setup.py bdist_wheel\n\n# install test wheel\npython3 -m pip install dist/rapidsockets-0.0.5-py3-none-any.whl\n\n# upload to pypi\npython3 -m twine upload dist/rapidsockets-0.0.5-py3-none-any.whl\n```\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/rapidsockets/python", "keywords": "websockets", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "rapidsockets", "package_url": "https://pypi.org/project/rapidsockets/", "platform": "", "project_url": "https://pypi.org/project/rapidsockets/", "project_urls": { "Homepage": "https://github.com/rapidsockets/python" }, "release_url": "https://pypi.org/project/rapidsockets/0.0.5/", "requires_dist": [ "websocket-client", "requests" ], "requires_python": "", "summary": "Official Python SDK for the RapidSockets platform", "version": "0.0.5" }, "last_serial": 5817978, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "a2cdec3f2471a165d87dd2fc8ce16f79", "sha256": "9c95630159e556cae335782e702c2c1e4e7019b3bab78ac5b4250da980250abc" }, "downloads": -1, "filename": "rapidsockets-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a2cdec3f2471a165d87dd2fc8ce16f79", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3581, "upload_time": "2019-09-02T23:57:17", "url": "https://files.pythonhosted.org/packages/b1/fc/85bf5d0eaa3090a6a88dcddaa8fd4dc432cc97b303df5bc4dd2b4fc8c18f/rapidsockets-0.0.1-py3-none-any.whl" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "35199431884d17226495cf0e43b5d93e", "sha256": "69eb64a21e78f0339589fb035797d1e649e491d21e1a742579af9cd78baaea9a" }, "downloads": -1, "filename": "rapidsockets-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "35199431884d17226495cf0e43b5d93e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3079, "upload_time": "2019-09-03T00:10:14", "url": "https://files.pythonhosted.org/packages/74/e0/d59f541debd35dc0b09ef8e4220b8dfab15c51d0379027c8fa745d926d3c/rapidsockets-0.0.2-py3-none-any.whl" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "e1bd7af7886756b8d4b447b4d7cc5549", "sha256": "602d3a125dbb3fe87f29051f8486b1b866e7655794c519da074681d1617ab8c8" }, "downloads": -1, "filename": "rapidsockets-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "e1bd7af7886756b8d4b447b4d7cc5549", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3124, "upload_time": "2019-09-04T23:01:03", "url": "https://files.pythonhosted.org/packages/1f/7c/fc6b250a9c16808388d6894c867b1c076cb5620335a0d3e2cc95411be971/rapidsockets-0.0.3-py3-none-any.whl" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "229d201627e9a60602794934df0241eb", "sha256": "abca09fedb470a912efe8df2cdd17d21ab3e85a072059e604c757c661b771623" }, "downloads": -1, "filename": "rapidsockets-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "229d201627e9a60602794934df0241eb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3177, "upload_time": "2019-09-06T05:01:48", "url": "https://files.pythonhosted.org/packages/b0/30/bc14ff3e95661c2c1318a77fbf42cf9bedea3496c5add06e02df3caad159/rapidsockets-0.0.4-py3-none-any.whl" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "6d70b59015903583449fbfb6b0097d4d", "sha256": "31a93eeb8789b7a27fab19df0c0ddcd6e1183eb458158887da8b58100c7c0cc5" }, "downloads": -1, "filename": "rapidsockets-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "6d70b59015903583449fbfb6b0097d4d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3420, "upload_time": "2019-09-12T03:37:22", "url": "https://files.pythonhosted.org/packages/6b/ad/2733a44398238c05b48793aebbcf4d4986e0ff7407002a81470d223b3db6/rapidsockets-0.0.5-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6d70b59015903583449fbfb6b0097d4d", "sha256": "31a93eeb8789b7a27fab19df0c0ddcd6e1183eb458158887da8b58100c7c0cc5" }, "downloads": -1, "filename": "rapidsockets-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "6d70b59015903583449fbfb6b0097d4d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3420, "upload_time": "2019-09-12T03:37:22", "url": "https://files.pythonhosted.org/packages/6b/ad/2733a44398238c05b48793aebbcf4d4986e0ff7407002a81470d223b3db6/rapidsockets-0.0.5-py3-none-any.whl" } ] }