{ "info": { "author": "Loud ML", "author_email": "support@loudml.io", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "****************\nLoud ML - Python\n****************\n\nThe Python client interface to the Loud ML model server.\n\n|pypi| |build| |coverage| |license|\n\n============\nInstallation\n============\n\nloudml-python requires a running Loud ML `model server `_ . See `Loud ML's quickstart `_ for installation instructions.\n\nloudml-python can be installed using `pip` similar to other Python packages. Do not use `sudo` with `pip`. It is usually good to work in a `virtualenv `_ or `venv `_ to avoid conflicts with other package managers and Python projects. For a quick introduction see `Python Virtual Environments in Five Minutes `_.\n\nTo install loudml-python, simply:\n\n.. code-block:: bash\n\n $ pip install loudml-python\n\nor from source:\n\n.. code-block:: bash\n\n $ python setup.py install\n\n\nGetting Started\n---------------\n\nIf you\u2019ve installed `loudml-python` locally, the `loudml` command should be available via the command line. Executing loudml will start the CLI and automatically connect to the local Loud ML model server instance (assuming you have already started the server with `systemctl start loudmld` or by running loudmld directly). The output should look like this:\n\n.. code-block:: bash\n\n $ loudml\n Connected to localhost:8077 version 1.6.0-577c87de\n Loud ML shell 1.6.0-42136d38\n >\n\nYou can get a description of the available commands:\n\n.. code-block:: bash\n\n > help\n\nClient Classes: Loud and Job\n----------------------------\n\nThe main helper in the Python client library is the `Loud` class. You\ncan create an instance that connects to a remote Loud ML model server\nand run queries.\n\n.. code-block:: pycon\n\n >>> from loudml_py.client import Loud\n >>> loud = Loud(hosts=['localhost:8077'])\n >>> models = loud.models.get(\n model_names=['first_model'],\n fields=['settings', 'state'],\n include_fields=True,\n )\n >>> len(models)\n 1\n >>> print(models[0]['state'])\n {'trained': False}\n\nLong running commands eg training return a job name. Use\n`loudml.jobs.id(job_name)` to create a class instance and then\ntrack the progress of the job or cancel it. `loudml` uses\n`tqdm `_ to display progress information.\n\n.. code-block:: pycon\n\n def cancel_job_handler(*args):\n job.cancel()\n print('Signal received. Canceled job: ', job.id)\n sys.exit()\n\n signal.signal(signal.SIGINT, cancel_job_handler)\n\n while not job.done():\n time.sleep(1)\n job.fetch()\n\nData generator: loudml-wave\n---------------------------\n\nThe `loudml-wave` tool is included in this package. You can use the\napplication to output time series data with a given pattern and write\nthe data to a bucket.\n\nThe output should look like this:\n\n.. code-block:: bash\n\n $ loudml-wave -v -f now-1h -t now --shape sin --tags tag_one:foo,tag_two:bar output_bucket\n INFO:root:generating data from 2019-09-21 07:23:51.350293 to 2019-09-21 08:23:51.350316\n Connected to localhost:8077 version 1.5.0.88.g5ad0216\n INFO:root:writing 131 points\n timestamp value tags \n 1569043431.35 38369.884 tag_one=foo,tag_two=bar \n 1569043431.85 70881.022 tag_one=foo,tag_two=bar \n 1569043491.35 33949.816 tag_one=foo,tag_two=bar \n 1569043551.35 30892.148 tag_one=foo,tag_two=bar \n 1569043551.6833332 10851.922 tag_one=foo,tag_two=bar \n\nYou can get a description of the available commands:\n\n.. code-block:: bash\n\n $ loudml-wave -h\n\n==========\nChange Log\n==========\n\nPlease see `CHANGELOG.md `_.\n\n===============\nIssue Reporting\n===============\n\nIf you have found a bug or if you have a feature request, please report them at this repository issues section.\nPlease do not report security vulnerabilities on the public GitHub issue tracker.\n\n======\nAuthor\n======\n\n`Loud ML`_\n\nloudml-python is developed and maintained by Sebastien Leger (@regel).\nIt can be found here: https://github.com/loudml/loudml-python\n\nSpecial thanks to:\n\n* Christophe Osuna (@osunac) for all the review and packaging support.\n\n=======\nLicense\n=======\n\nThis project is licensed under the MIT license. See the `LICENSE `_\nfile for more info.\n\n.. _Loud ML: https://loudml.io\n\n.. |pypi| image:: https://img.shields.io/pypi/v/loudml-python.svg?style=flat-square&label=latest%20version\n :target: https://pypi.org/project/loudml-python/\n :alt: Latest version released on PyPI\n\n.. |build| image:: https://img.shields.io/circleci/project/github/loudml/loudml-python.svg?style=flat-square&label=circleci\n :target: https://circleci.com/gh/loudml/loudml-python\n :alt: Build status\n\n.. |coverage| image:: https://img.shields.io/codecov/c/github/loudml/loudml-python.svg?style=flat-square&label=codecov\n :target: https://codecov.io/gh/loudml/loudml-python\n :alt: Test coverage\n\n.. |license| image:: https://img.shields.io/:license-mit-blue.svg?style=flat-square\n :target: https://opensource.org/licenses/MIT\n :alt: License\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/loudml/loudml-python", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "loudml-python", "package_url": "https://pypi.org/project/loudml-python/", "platform": "", "project_url": "https://pypi.org/project/loudml-python/", "project_urls": { "Homepage": "https://github.com/loudml/loudml-python" }, "release_url": "https://pypi.org/project/loudml-python/1.6.2/", "requires_dist": [ "requests (>=2.14.0)", "pyyaml (==5.1.2)", "tqdm (>=4.35.0)", "pytz (>=2019.2)", "dateutils (>=0.6.6)", "certifi", "mock ; extra == 'test'" ], "requires_python": ">=2.7, !=3.0.*, !=3.1.*", "summary": "Loud ML Python API Client", "version": "1.6.2" }, "last_serial": 5935913, "releases": { "1.6.0": [ { "comment_text": "", "digests": { "md5": "94e7269d99cc5a481515e93956194ff2", "sha256": "43d2d0d2b333ede25d637ed98f759b271658bf2b418013d2d00e4a8f873e27d7" }, "downloads": -1, "filename": "loudml_python-1.6.0-py3-none-any.whl", "has_sig": false, "md5_digest": "94e7269d99cc5a481515e93956194ff2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*", "size": 49384, "upload_time": "2019-09-30T04:44:25", "url": "https://files.pythonhosted.org/packages/20/0e/2faa6017606afb775521092616be057ecc693046f264bd54d59f3ef47992/loudml_python-1.6.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c97c46af5be2fd5db3fabbbf60a95aa3", "sha256": "cf764692bcefcc57a9a5e47233e04df346b496c695c6c12e9e84f5d58eb0da07" }, "downloads": -1, "filename": "loudml-python-1.6.0.tar.gz", "has_sig": false, "md5_digest": "c97c46af5be2fd5db3fabbbf60a95aa3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*", "size": 36429, "upload_time": "2019-09-30T04:44:36", "url": "https://files.pythonhosted.org/packages/71/97/cf527b055e9616111ee756b18fea3272581ddf70a67cf1f5cbd9c3b6d8bc/loudml-python-1.6.0.tar.gz" } ], "1.6.1": [ { "comment_text": "", "digests": { "md5": "66ec7c6ed7a6bc6ce18e840271332430", "sha256": "16076fb768bb9d9053c6b67d62410fd6572ec97c16ea7858375f94948270edb7" }, "downloads": -1, "filename": "loudml_python-1.6.1-py3-none-any.whl", "has_sig": false, "md5_digest": "66ec7c6ed7a6bc6ce18e840271332430", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*", "size": 49637, "upload_time": "2019-09-30T10:31:43", "url": "https://files.pythonhosted.org/packages/89/7c/f0f79f6618955233169475508f9c2548bc2177a7c532fdbdd429567e8182/loudml_python-1.6.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f13a60e5fc72a227eb14d40ee6b6528a", "sha256": "497d2943aa82dad9dce50bcbeab90d9a0742b35485b91809781ee2c0e16c8e5b" }, "downloads": -1, "filename": "loudml-python-1.6.1.tar.gz", "has_sig": false, "md5_digest": "f13a60e5fc72a227eb14d40ee6b6528a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*", "size": 36611, "upload_time": "2019-09-30T10:31:50", "url": "https://files.pythonhosted.org/packages/29/99/74cb06cd7ca5e399b168ff22d889f942763bdaa40cb44fc9f3d0dbcb96e3/loudml-python-1.6.1.tar.gz" } ], "1.6.2": [ { "comment_text": "", "digests": { "md5": "b691a99280abe9407f088de575be59f9", "sha256": "d6fce47c2150ac929231e529869f532446c17bd7ed4e1c65803947cdcaeac29a" }, "downloads": -1, "filename": "loudml_python-1.6.2-py3-none-any.whl", "has_sig": false, "md5_digest": "b691a99280abe9407f088de575be59f9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*", "size": 49832, "upload_time": "2019-10-06T20:28:51", "url": "https://files.pythonhosted.org/packages/d8/61/e4225c0a12ca578539f63b3ec5dd94ad733f9f1f0d6ad277aa2cbedfe042/loudml_python-1.6.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "25da8aeceb94289a392c86fb40315581", "sha256": "9c64ad4281dc15a1d5f62797f255926bcea3c3c2e263d7079b57aaa843cc98d3" }, "downloads": -1, "filename": "loudml-python-1.6.2.tar.gz", "has_sig": false, "md5_digest": "25da8aeceb94289a392c86fb40315581", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*", "size": 36639, "upload_time": "2019-10-06T20:28:53", "url": "https://files.pythonhosted.org/packages/5f/8f/0fc3ec42d26b6d4d5d30f0f67f0b0d07a3973dbf7b339648bc024359de1f/loudml-python-1.6.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b691a99280abe9407f088de575be59f9", "sha256": "d6fce47c2150ac929231e529869f532446c17bd7ed4e1c65803947cdcaeac29a" }, "downloads": -1, "filename": "loudml_python-1.6.2-py3-none-any.whl", "has_sig": false, "md5_digest": "b691a99280abe9407f088de575be59f9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*", "size": 49832, "upload_time": "2019-10-06T20:28:51", "url": "https://files.pythonhosted.org/packages/d8/61/e4225c0a12ca578539f63b3ec5dd94ad733f9f1f0d6ad277aa2cbedfe042/loudml_python-1.6.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "25da8aeceb94289a392c86fb40315581", "sha256": "9c64ad4281dc15a1d5f62797f255926bcea3c3c2e263d7079b57aaa843cc98d3" }, "downloads": -1, "filename": "loudml-python-1.6.2.tar.gz", "has_sig": false, "md5_digest": "25da8aeceb94289a392c86fb40315581", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*", "size": 36639, "upload_time": "2019-10-06T20:28:53", "url": "https://files.pythonhosted.org/packages/5f/8f/0fc3ec42d26b6d4d5d30f0f67f0b0d07a3973dbf7b339648bc024359de1f/loudml-python-1.6.2.tar.gz" } ] }