{ "info": { "author": "Fraida Fund", "author_email": "oml-user@lists.nicta.com.au", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Topic :: Scientific/Engineering" ], "description": "OML4Py: Native OML Implementation in Python\n===========================================\n\nThis is a Python module for the OML measurement library based on the OML text\nprotocol [oml-text].\n\n\nInstallation\n------------\n\nInstall using pip [oml4py-pypi]::\n\n $ pip install oml4py\n\nor download the package and run::\n\n $ python setup.py install\n\n\nUsage\n-----\n\nThis module provides the OMLBase class, which contains the following methods:\n\n* init\n\n* start\n\n* addmp\n\n* inject\n\n* close\n\nTo use OML in a python project, import the OMLBase class::\n\n from oml4py import OMLBase\n\nStart by initializing an OMLBase object. The init method takes up to four\narguments:\n\n* the name of the application,\n\n* the name of the experiment,\n\n* the name of the node,\n\n* and the OML server URI in the form ``tcp:hostname:port``\n\n\nFor example::\n\n x=OMLBase(\"app\", \"an-exp\",\"r\",\"tcp:myomlserver.com:3003\")\n\nThe only mandatory argument is the first one (the name of the\napplication). If you skip any of the others, they may be defined by\nenvironment variables (OML_DOMAIN, OML_NAME, OML_COLLECT) or via\ncommand-line options. If these variables are not passed in explicitly\nand neither the command line options nor environment variables are\ndefined then the application will run with OML disabled, and the\nmeasurements that would have been sent to OML will be printed on\nstdout instead.\n\nNext, add one or more measurement points. Pass the name of the measurement\npoint and a schema string to the start method. The schema string should\nbe in the format\n``measurement_name1:measurement_type1 measurement_name2:measurement_type2``\nfor example::\n\n x.addmp(\"fft\", \"freq:long amplitude:double fft_val:double\")\n\nWhen you have set up all your measurement points, call start()::\n\n x.start()\n\nWhen you have a measurement point to send to OML, store them in a\ntuple Then pass the name of the measurement point and the tuple of\nvalues to inject, as follows::\n\n x.inject(\"fft\", (259888, 15, -38))\n\nAt the end of your program, call close to gracefully close the database::\n\n x.close()\n\n\nAuthors\n-------\n\nOML4Py was contributed by Fraida Fund, from NYU-Poly.\n\n\nLicense\n-------\n\nCopyright 2012 NYU-Poly, Fraida Fund\n\nCopyright 2012-2013 National ICT Australia (NICTA), Australia\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n[oml-text]: http://oml.mytestbed.net/projects/oml/wiki/Description_of_Text_protocol\n[oml4py-pypi]: http://pypi.python.org/pypi/oml4py/", "description_content_type": null, "docs_url": null, "download_url": "http://pypi.python.org/pypi/oml4py", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/mytestbed/oml4py", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "oml4py", "package_url": "https://pypi.org/project/oml4py/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/oml4py/", "project_urls": { "Download": "http://pypi.python.org/pypi/oml4py", "Homepage": "http://github.com/mytestbed/oml4py" }, "release_url": "https://pypi.org/project/oml4py/2.10.4/", "requires_dist": null, "requires_python": null, "summary": "An OML client module for Python", "version": "2.10.4" }, "last_serial": 918861, "releases": { "2.10.0": [ { "comment_text": "", "digests": { "md5": "292ddc9d330ca853b15e6e097743c0d9", "sha256": "1d6546de596888bfb0bfa21ffa07c4e0b67bc65fb70a8116ea02be6cecb7dbe3" }, "downloads": -1, "filename": "oml4py-2.10.0.tar.gz", "has_sig": false, "md5_digest": "292ddc9d330ca853b15e6e097743c0d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5768, "upload_time": "2013-05-24T01:25:31", "url": "https://files.pythonhosted.org/packages/9d/8a/63f6abc489f0898b6c257f85c388faac4eb24f4e77d7be34d8ad305f7490/oml4py-2.10.0.tar.gz" } ], "2.10.2": [ { "comment_text": "", "digests": { "md5": "460388cca78d001b52ac9cc1158a2898", "sha256": "b8827bb725e77408382b2c1d25dd23533ef8c655b6d41cff417ec29a9b42478b" }, "downloads": -1, "filename": "oml4py-2.10.2.tar.gz", "has_sig": false, "md5_digest": "460388cca78d001b52ac9cc1158a2898", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5926, "upload_time": "2013-07-28T15:07:36", "url": "https://files.pythonhosted.org/packages/a9/68/ffdafabe92d68bdb0cab3ace5393eaab3b1875a4efd84db955171942d3c5/oml4py-2.10.2.tar.gz" } ], "2.10.3": [ { "comment_text": "", "digests": { "md5": "2f8aca3dbc1760d5816936b80cbba984", "sha256": "6bab98edbdef9dbe309aeeb42e29d79852e6920e25e48b2b3b2b079c3e730392" }, "downloads": -1, "filename": "oml4py-2.10.3.tar.gz", "has_sig": false, "md5_digest": "2f8aca3dbc1760d5816936b80cbba984", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5829, "upload_time": "2013-11-12T06:38:33", "url": "https://files.pythonhosted.org/packages/c0/c5/94bd866fe7c5a0f07e8537ba18905a91cfc4d4a4bca61fedbb1eda8e421a/oml4py-2.10.3.tar.gz" } ], "2.10.4": [ { "comment_text": "", "digests": { "md5": "659d240159b1dd4c72d8baf0064bf501", "sha256": "9460e370d1ec16bee7178b5ae5be8bad0408033895458008cbbf8d0b82f2013e" }, "downloads": -1, "filename": "oml4py-2.10.4.tar.gz", "has_sig": false, "md5_digest": "659d240159b1dd4c72d8baf0064bf501", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5802, "upload_time": "2013-11-14T01:20:50", "url": "https://files.pythonhosted.org/packages/8e/8c/f444b52ee65fd52a3278a3bea40f652883cf14be5a4484281a2dfee583ef/oml4py-2.10.4.tar.gz" } ], "2.9.0": [ { "comment_text": "", "digests": { "md5": "b2f055f27389933c0a600d0f90bb6ef3", "sha256": "00d1a33bcae0323c151dbf60db06d9a38388a2d1bff06182b6baa6137a6069c2" }, "downloads": -1, "filename": "oml4py-2.9.0.tar.gz", "has_sig": false, "md5_digest": "b2f055f27389933c0a600d0f90bb6ef3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4687, "upload_time": "2012-12-10T03:38:07", "url": "https://files.pythonhosted.org/packages/29/15/17c4da6c50ad9cb0a957c6a740724a0d6ea1d02ab3079a61c0a6b15ac584/oml4py-2.9.0.tar.gz" } ], "2.9.pre.110-1a34": [ { "comment_text": "", "digests": { "md5": "e091bd8d10774ae73408107d5a6dd0d2", "sha256": "dafbf4cebc93df2a993df8cab1ab8ed4feb89dc2bbf8e2c8208ca40b255be6b6" }, "downloads": -1, "filename": "oml4py-2.9.pre.110-1a34.tar.gz", "has_sig": false, "md5_digest": "e091bd8d10774ae73408107d5a6dd0d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3517, "upload_time": "2012-09-11T08:17:22", "url": "https://files.pythonhosted.org/packages/2d/58/4173086b2616a7ea92d8e4c3474d4db191e33a3c4306e8616da35b616cb0/oml4py-2.9.pre.110-1a34.tar.gz" } ], "2.9.pre.154-2921": [ { "comment_text": "", "digests": { "md5": "4a7d34fd78bed4214a41d93fd6b7d9db", "sha256": "b8be5702033e72e7f6fadcbacf048cfd723c1791e810c01ce3abbe4bbb52ae97" }, "downloads": -1, "filename": "oml4py-2.9.pre.154-2921.tar.gz", "has_sig": false, "md5_digest": "4a7d34fd78bed4214a41d93fd6b7d9db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3985, "upload_time": "2012-10-17T03:46:26", "url": "https://files.pythonhosted.org/packages/2b/65/c7e81705227e490a348b42e091f021c11b50a56f3d38df82e644c76d6139/oml4py-2.9.pre.154-2921.tar.gz" } ], "v2.10.1": [ { "comment_text": "", "digests": { "md5": "e1e1f20f90eeb9ae909fd95305c4eced", "sha256": "7b3a7cd3d25b7119c0cc2c2fa2e279915b0809021a0cd5da0983f203e536acc1" }, "downloads": -1, "filename": "oml4py-v2.10.1.tar.gz", "has_sig": false, "md5_digest": "e1e1f20f90eeb9ae909fd95305c4eced", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5773, "upload_time": "2013-06-28T00:56:24", "url": "https://files.pythonhosted.org/packages/8b/e7/a2af14c92b0b8c1cc7f4615a323e83d6cd05098e20f6953ea8b2bc21cb66/oml4py-v2.10.1.tar.gz" } ], "v2.10.2": [ { "comment_text": "", "digests": { "md5": "7d075f39a78ed13cd4a0b5116bda0602", "sha256": "581d33c77927bc933f842c4c09a7ad97c57fb4a03e6ca3aaa08f2f69206e5ea8" }, "downloads": -1, "filename": "oml4py-v2.10.2.tar.gz", "has_sig": false, "md5_digest": "7d075f39a78ed13cd4a0b5116bda0602", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5803, "upload_time": "2013-07-09T05:42:03", "url": "https://files.pythonhosted.org/packages/e9/d3/0f85d27c54bc654743cf6f105e6f1bd57cc7d31e74be47cdeabd90eec26f/oml4py-v2.10.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "659d240159b1dd4c72d8baf0064bf501", "sha256": "9460e370d1ec16bee7178b5ae5be8bad0408033895458008cbbf8d0b82f2013e" }, "downloads": -1, "filename": "oml4py-2.10.4.tar.gz", "has_sig": false, "md5_digest": "659d240159b1dd4c72d8baf0064bf501", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5802, "upload_time": "2013-11-14T01:20:50", "url": "https://files.pythonhosted.org/packages/8e/8c/f444b52ee65fd52a3278a3bea40f652883cf14be5a4484281a2dfee583ef/oml4py-2.10.4.tar.gz" } ] }