{ "info": { "author": "Exosite LLC", "author_email": "support@exosite.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: Apache Software License", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Embedded Systems", "Topic :: System :: Operating System Kernels :: Linux" ], "description": "Description\n############\n\nThis project is a Simulator source for Exosite's ``ExoSense`` which uses ``ExoEdge``\n\nInstall\n#########\n\nInstalling a build can be done in several ways:\n\nInstalling From Source\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\n\n.. code-block:: bash\n\n $ python setup.py install\n\n\nInstalling From Builds\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\n\n.. code-block:: bash\n\n $ pip install dist/*.whl\n\n\nInstalling From Builds\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\n\n.. code-block:: bash\n\n $ pip install exoedge_simulator\n\n\n\nExoSense Configuration\n########################\n\nBelow is an example config\\_io that works for generating a sin_wave\n\n.. code-block:: json\n\n {\n \"channels\": {\n \"000\": {\n \"channel_name\": \"000\",\n \"description\": \"Sin Wave\",\n \"display_name\": \"Sin Wave\",\n \"properties\": {\n \"data_type\": \"TEMPERATURE\",\n \"data_unit\": \"DEG_FAHRENHEIT\",\n \"device_diagnostic\": false,\n \"max\": null,\n \"min\": null,\n \"precision\": 2\n },\n \"protocol_config\": {\n \"app_specific_config\": {\n \"function\": \"sin_wave\",\n \"parameters\": {\n \"amplitude\": 1,\n \"offset\": 0,\n \"period\": 60,\n \"precision\": 2\n }\n },\n \"application\": \"Simulator\",\n \"down_sample\": \"ACT\",\n \"input_raw\": {},\n \"interface\": null,\n \"report_on_change\": false,\n \"report_rate\": 10000,\n \"sample_rate\": 10000,\n \"timeout\": null\n }\n }\n }\n }\n\nAvailable Functions\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\n\nThe following are functions supported by the simulator, including their parameters with defaults.\nAdditional parameters can be included, and will be ignored.\n\n**fourteen**\n\nReturns 14\n\n.. code-block:: json\n\n \"function\": \"fourteen\",\n \"parameters\": {}\n\n\n**current_time**\n\nReturns the current timestamp\n\n.. code-block:: json\n\n \"function\": \"current_time\",\n \"parameters\": {}\n\n\n**echo**\n\nEcho a value into a string\n\n.. code-block:: json\n\n \"function\": \"echo\",\n \"parameters\": {\n \"value\": \"Hello World\"\n }\n\n\n**strip\\_non\\_numeric**\n\nStrip out non-numeric characters from string\n\n.. code-block:: json\n\n \"function\": \"strip_non_numeric\",\n \"parameters\": {\n \"value\": \"1234BEEF\"\n }\n\n\n**sin_wave**\n\nGenerate a sin wave from the current time\n\n.. code-block:: json\n\n \"function\": \"sin_wave\",\n \"parameters\": {\n \"period\": 60,\n \"amplitude\": 1,\n \"offset\": 0,\n \"precision\": 2\n }\n\n\n**cos_wave**\n\nGenerate a cos wave from the current time\n\n.. code-block:: json\n\n \"function\": \"cos_wave\",\n \"parameters\": {\n \"period\": 60,\n \"amplitude\": 1,\n \"offset\": 0,\n \"precision\": 2\n }\n\n\n**location**\n\nGenerate location data from the current time and a starting location\n\nMoves in a circle every `period` seconds. Path is `radius` decimal degrees\nfrom the center point defined by `latitude` and `longitude`.\n\n.. code-block:: json\n\n \"function\": \"location\",\n \"parameters\": {\n \"latitude\": None,\n \"longitude\": None,\n \"period\": 60,\n \"radius\": 0.1,\n \"precision\": 6\n }\n\n\n**random_integer**\n\nGet a random integer between two values\n\n.. code-block:: json\n\n \"function\": \"random_integer\",\n \"parameters\": {\n \"lower\": 0,\n \"upper\": 10\n }\n\n\n**random_sleep**\n\nSleep for a random number of seconds\n\n.. code-block:: json\n\n \"function\": \"random_sleep\",\n \"parameters\": {\n \"lower\": 0,\n \"upper\": 10\n }\n\n\n**ip_address**\n\nReturns a string that represents the ip address in octet form of the iface parameter given.\n Parameters:\n interface: The network interface. Use `ifconfig` (MAC, linux) or `ipconfig` (Windows) to check the interface.\n\n\n.. code-block:: json\n\n \"function\": \"ip_address\",\n \"parameters\": {\n \"interface\":\"en0\"\n }\n\nreturn something like: {\"000\": [\"192.168.2.143\"]}\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/exosite/lib_exoedge_simulator_python", "keywords": "murano exosite iot iiot client gateway simulator ", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "exoedge-simulator", "package_url": "https://pypi.org/project/exoedge-simulator/", "platform": "", "project_url": "https://pypi.org/project/exoedge-simulator/", "project_urls": { "Homepage": "https://github.com/exosite/lib_exoedge_simulator_python" }, "release_url": "https://pypi.org/project/exoedge-simulator/21.10.7/", "requires_dist": [ "exoedge", "psutil" ], "requires_python": "<4,>=2.7.9", "summary": "An ExoEdge source for simulating data.", "version": "21.10.7", "yanked": false, "yanked_reason": null }, "last_serial": 11657381, "releases": { "19.10.11": [ { "comment_text": "", "digests": { "md5": "9ddff57387aad33c1ebdced008948b03", "sha256": "d380f92cfff48139b53b272eb8b2ece709e4730a29d2fe23b52da2773e99b851" }, "downloads": -1, "filename": "exoedge_simulator-19.10.11-py2-none-any.whl", "has_sig": true, "md5_digest": "9ddff57387aad33c1ebdced008948b03", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 16941, "upload_time": "2019-10-11T16:25:36", "upload_time_iso_8601": "2019-10-11T16:25:36.714780Z", "url": "https://files.pythonhosted.org/packages/14/0d/092e5bcbab28618e5e2a7d2aeb8865685c6d5d1b1747f509f75b0e8e43d6/exoedge_simulator-19.10.11-py2-none-any.whl", "yanked": false, "yanked_reason": null } ], "19.10.21": [ { "comment_text": "", "digests": { "md5": "a612e4087c3753acb7184bdeef7bd927", "sha256": "a2f8a1eeba4bf8ebc96853a99686b3ff662577b1d83935ff3482f5ade5d0926d" }, "downloads": -1, "filename": "exoedge_simulator-19.10.21-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "a612e4087c3753acb7184bdeef7bd927", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 21127, "upload_time": "2019-10-21T15:05:03", "upload_time_iso_8601": "2019-10-21T15:05:03.550788Z", "url": "https://files.pythonhosted.org/packages/23/c7/c07dc38c571d1bfe01bdf0eb481caafc43c25acd016846ca0471155c9e52/exoedge_simulator-19.10.21-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null } ], "19.5.3": [ { "comment_text": "", "digests": { "md5": "2d90f5c1b1c820c606ca7e99d4b3357a", "sha256": "0f7b557e0e0e598ca98a58644a0d6d039e6fd84dbcfd2fee576ddcaeeab547b4" }, "downloads": -1, "filename": "exoedge_simulator-19.5.3-py3-none-any.whl", "has_sig": true, "md5_digest": "2d90f5c1b1c820c606ca7e99d4b3357a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16983, "upload_time": "2019-05-03T05:31:07", "upload_time_iso_8601": "2019-05-03T05:31:07.305564Z", "url": "https://files.pythonhosted.org/packages/20/8e/30c57f5bc8acebb5229e69eb94493c02bf074c66fde3064e55d589db642f/exoedge_simulator-19.5.3-py3-none-any.whl", "yanked": false, "yanked_reason": null } ], "21.10.7": [ { "comment_text": "", "digests": { "md5": "123a227c846311de7a04aa3b06312fb3", "sha256": "8d8cf91c3009191ced539f38a4bfc426199b2d6b1c6ac674f9e98e704e8b7413" }, "downloads": -1, "filename": "exoedge_simulator-21.10.7-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "123a227c846311de7a04aa3b06312fb3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": "<4,>=2.7.9", "size": 18912, "upload_time": "2021-10-07T18:50:41", "upload_time_iso_8601": "2021-10-07T18:50:41.896094Z", "url": "https://files.pythonhosted.org/packages/38/48/b80e83e897610c42124dd12c67baa02e82aa4fb276b13ea5623a05fc3b6e/exoedge_simulator-21.10.7-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "123a227c846311de7a04aa3b06312fb3", "sha256": "8d8cf91c3009191ced539f38a4bfc426199b2d6b1c6ac674f9e98e704e8b7413" }, "downloads": -1, "filename": "exoedge_simulator-21.10.7-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "123a227c846311de7a04aa3b06312fb3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": "<4,>=2.7.9", "size": 18912, "upload_time": "2021-10-07T18:50:41", "upload_time_iso_8601": "2021-10-07T18:50:41.896094Z", "url": "https://files.pythonhosted.org/packages/38/48/b80e83e897610c42124dd12c67baa02e82aa4fb276b13ea5623a05fc3b6e/exoedge_simulator-21.10.7-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }