{ "info": { "author": "Andrew Carter", "author_email": "andrewcarter1992@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "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", "Programming Language :: Python :: 3.6" ], "description": "# RockBLOCK Python Tools\n\n[![Build Status](https://travis-ci.org/oceotech/RockBLOCK-Python-Tools.svg?branch=master)](https://travis-ci.org/oceotech/RockBLOCK-Python-Tools)\n\nA python library and command line application for interfacing with the RockBLOCK web services.\n\n## Install\n\n```sh\npip install rockblock-tools\n```\n\n## Usage\n\n### Sending a Message\n\nSimple:\n```sh\nrockblock send [imei] [user] [pass] \"Hello, World\"\n```\n\n```sh\nrockblock send [imei] [user] [pass] \"Hello, World\" --data-format=raw\n```\n\nWith hexadecimal encoding:\n```sh\nrockblock send [imei] [user] [pass] 48656c6c6f2c20576f726c6421 --data-format=hex\n```\n\nWith base64 encoding:\n```sh\nrockblock send [imei] [user] [pass] SGVsbG8sIFdvcmxkIQ== --data-format=base64\n```\n\n### Listening for Messages\n\nTo listen to messages from the RockBLOCK web service, you need to make sure that your listener is visible from the public internet. If you are setting up the listener on a home network, this will likely require [port forwarding](https://portforward.com/).\n\nIn the command examples below, the listener is running on the normal HTTP port (`80`) and accepting external inbound connections (binding to `0.0.0.0`).\n\nTo connect your listener, add the web address of your listener (e.g. `http://your-ip-here/`) to a delivery group on the RockBLOCK admin portal. You can use the \"Test Delivery Groups\" page to test your listener without using credits.\n\n#### Console Output\n\nCommand:\n```sh\nrockblock listen console 0.0.0.0 80\n```\n\nExample Output:\n```\n---------- MESSAGE ----------\nIridium Latitude 33.2938\nIridium Longitude 125.2902\nDevice Type ROCKBLOCK\nTransmit Time 2020-02-19 00:22:50\nMOMSN 663\nIMEI 300434063480220\nSerial 16302\nData Hello! This is a test message from RockBLOCK!\nIridium CEP 15.0\n-----------------------------\n```\n\n#### CSV Output\n\nCommand:\n```sh\nrockblock listen csv 0.0.0.0 80 path/to/file.csv\n```\n\nExample Output:\n```csv\nIridium Latitude,Iridium Longitude,Device Type,Transmit Time,MOMSN,IMEI,Serial,Data,Iridium CEP\n75.5254,62.6541,ROCKBLOCK,2020-02-19 00:23:47,680,300434063480220,16302,There are 10 types of people who understand binary,9.0\n46.4861,159.9892,ROCKBLOCK,2020-02-19 00:23:47,326,300434063480220,16302,Abcdefghijklmnopqrstuvwxyz1234567890,110.0\n```\n\n#### MQTT Output\n\nCommand (for an MQTT server running at localhost:1883):\n```sh\nrockblock listen mqtt 0.0.0.0 80 localhost 1883 my/mqtt/topic --mqtt-user=user --mqtt-pass=pass --mqtt-qos=0\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/oceotech/RockBLOCK-Python-Tools", "keywords": "rockblock 9603 iridium sbd tools", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "rockblock-tools", "package_url": "https://pypi.org/project/rockblock-tools/", "platform": "", "project_url": "https://pypi.org/project/rockblock-tools/", "project_urls": { "Homepage": "https://github.com/oceotech/RockBLOCK-Python-Tools" }, "release_url": "https://pypi.org/project/rockblock-tools/0.0.3/", "requires_dist": [ "requests", "flask", "paho-mqtt" ], "requires_python": "", "summary": "RockBLOCK message sending and receiving tools", "version": "0.0.3" }, "last_serial": 4844545, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "d15e167f7a8d1d4c4846a3f740b03826", "sha256": "8ca68a24832322468edf0532c5921b5c5174e2d8f79bef334f0ad3b589367c7a" }, "downloads": -1, "filename": "rockblock_tools-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d15e167f7a8d1d4c4846a3f740b03826", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9728, "upload_time": "2019-02-20T09:01:50", "url": "https://files.pythonhosted.org/packages/fa/af/79aedb2730a1228249a96f01d1cfd6f936ac9b83249801f7eb4f8c35cec0/rockblock_tools-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ed19c81a216b5b42d28b6636ebb326df", "sha256": "b5597abe256b162a04a9926b919a84e07338a06bb25503d4c96ce6beea24e427" }, "downloads": -1, "filename": "rockblock_tools-0.0.1.tar.gz", "has_sig": false, "md5_digest": "ed19c81a216b5b42d28b6636ebb326df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5031, "upload_time": "2019-02-20T09:01:51", "url": "https://files.pythonhosted.org/packages/21/89/c8fe1097771bec312c54cabdd28f1cf1f120fd0cd8461093a3c570457eb8/rockblock_tools-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "ffd0af0f6d5f5c93769b841b5690ec35", "sha256": "9175520de33a123c5381ef8fc560d070ff14827cf36b29f4b2105ce879f33377" }, "downloads": -1, "filename": "rockblock_tools-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ffd0af0f6d5f5c93769b841b5690ec35", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9726, "upload_time": "2019-02-20T09:11:09", "url": "https://files.pythonhosted.org/packages/75/c6/e987dc1c01cc2c7e542f60e9026426792cc51d9276b5423cd6a4559e21fe/rockblock_tools-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "905b9ac8aebe9f4a7ff80aeedc2554c9", "sha256": "c00945bcd28ff94358d9cebbe457a2aba11b77ee2b61a7898ba5e20925414035" }, "downloads": -1, "filename": "rockblock-tools-0.0.2.tar.gz", "has_sig": false, "md5_digest": "905b9ac8aebe9f4a7ff80aeedc2554c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5053, "upload_time": "2019-02-20T09:11:11", "url": "https://files.pythonhosted.org/packages/92/4c/1af8699f6f58937940195ca527deaef9aa77942f717c5f56ffa9f0f3cdc5/rockblock-tools-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "d44fee639e3c055f28df2a3d79635ae1", "sha256": "bdc9db9a31c1c3649dd549a36364cd3c9f6d6677da51bdd808d0bcbce9bbbfdf" }, "downloads": -1, "filename": "rockblock_tools-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d44fee639e3c055f28df2a3d79635ae1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8438, "upload_time": "2019-02-20T09:21:47", "url": "https://files.pythonhosted.org/packages/09/27/83d22fa2a0969cb63c980e4813e69536db2b9c67a1a25251de1e592141fa/rockblock_tools-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "742ce917f931d190c3b3aea4da37ec8d", "sha256": "be9ca2c6ab93429c6036e93a5eb4bdeeb82bc2ddbcc47e454b29a990e08c374a" }, "downloads": -1, "filename": "rockblock-tools-0.0.3.tar.gz", "has_sig": false, "md5_digest": "742ce917f931d190c3b3aea4da37ec8d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5301, "upload_time": "2019-02-20T09:21:48", "url": "https://files.pythonhosted.org/packages/7e/e9/b61dbb0aaaf7212e1aa48ee156b20fd1dafd92d51eed890456b4ac2e8673/rockblock-tools-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d44fee639e3c055f28df2a3d79635ae1", "sha256": "bdc9db9a31c1c3649dd549a36364cd3c9f6d6677da51bdd808d0bcbce9bbbfdf" }, "downloads": -1, "filename": "rockblock_tools-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d44fee639e3c055f28df2a3d79635ae1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8438, "upload_time": "2019-02-20T09:21:47", "url": "https://files.pythonhosted.org/packages/09/27/83d22fa2a0969cb63c980e4813e69536db2b9c67a1a25251de1e592141fa/rockblock_tools-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "742ce917f931d190c3b3aea4da37ec8d", "sha256": "be9ca2c6ab93429c6036e93a5eb4bdeeb82bc2ddbcc47e454b29a990e08c374a" }, "downloads": -1, "filename": "rockblock-tools-0.0.3.tar.gz", "has_sig": false, "md5_digest": "742ce917f931d190c3b3aea4da37ec8d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5301, "upload_time": "2019-02-20T09:21:48", "url": "https://files.pythonhosted.org/packages/7e/e9/b61dbb0aaaf7212e1aa48ee156b20fd1dafd92d51eed890456b4ac2e8673/rockblock-tools-0.0.3.tar.gz" } ] }