{ "info": { "author": "Jerry Pussinen", "author_email": "jerry.pussinen@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# LogPlot\n\n[![Build Status](https://travis-ci.org/jerry-git/logplot.svg?branch=master)](https://travis-ci.org/jerry-git/logplot)\n[![PyPI version](https://badge.fury.io/py/logplot.svg)](https://pypi.python.org/pypi/logplot/)\n[![PyPI pyversions](https://img.shields.io/pypi/pyversions/logplot.svg)](https://pypi.python.org/pypi/logplot/)\n[![codecov](https://codecov.io/gh/jerry-git/logplot/branch/master/graph/badge.svg)](https://codecov.io/gh/jerry-git/logplot)\n[![license](https://img.shields.io/github/license/jerry-git/logplot.svg)](https://github.com/jerry-git/logplot/blob/master/LICENSE)\n[![PRs](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\n\n

\n \"example\n

\n\n\n## Installation\n $ pip3 install logplot\n \n## Usage\n\n### Configuration\nIn order to plot interesting graphs from custom logs, `logplot` needs to know what log entries are considered interesting. \nThis can be done by defining `entries` and `special_entries` sections in the config file. \nThe main purpose of `entries` is to plot trends, i.e. connected points. This is useful e.g. for plotting state machine states. \n`special_entries` is for plotting single, unconnected points, such as errors.\n\nEach entry in `entries` and `special_entries` should have the following:\n* `identifier`: string to be searched from log entries\n* `value`: y-axis value in the plot\n\nIdeally, one entry in `entries` should have `initial_state: true`. This is used for separating plotted series from each other.\n\nYou can define specific marker style for each entry in `special_entries`, refer to [`matplotlib` docs](https://matplotlib.org/api/markers_api.html) for available options.\n\n\nIn addition to the `entries` and `special-entries` sections, user can override default settings (see src/logplot/default_conf.yaml) in `general` section. \nFor example, it's the place where you can define the command to be used for opening the log in your favorite editor. \n \nSee doc/example/user_conf.yaml and corresponding log file (doc/example/log.txt) for full example.\n\n### Plotting logs\n\n $ logplot path/to/log -c path/to/conf/file\n \nFor example, this:\n\n $ logplot doc/examples/log.txt -c doc/examples/user_conf.yaml\n\nyields this:\n\n

\n \"example\n

\n\nClicking a data point in the plot opens the log file in the correct line number in the editor defined in the configuration file.\nIf the `log_open_cmd` is not configured, the log will be opened with a default program defined by the OS. \nNote that `log_open_cmd` has to configured to be able to open the log in the correct line number.\n\n`logplot` will automatically identify different trends in the plotted entries. \nYou can toggle the visibility of these trends by clicking items in the legend.\n\nHere's an example of a bit bigger log which contains 100k entries, 13 different states, and 15 different trends.\n\n\t$ logplot doc/examples/log_huge.txt -c doc/examples/user_conf_huge.yaml\n\n

\n \"example\n

\n\nAnd the same with three most occuring trends filtered out.\n\n

\n \"example\n

", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jerry-git/logplot", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "logplot", "package_url": "https://pypi.org/project/logplot/", "platform": "", "project_url": "https://pypi.org/project/logplot/", "project_urls": { "Homepage": "https://github.com/jerry-git/logplot" }, "release_url": "https://pypi.org/project/logplot/1.0.4/", "requires_dist": null, "requires_python": "", "summary": "Awesome plots from custom logs", "version": "1.0.4" }, "last_serial": 4422007, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "be68fdd7236d05193ed43325c1c02bd4", "sha256": "89184dde9f205daea19d4c456dd69d4ba683a22adf6804645272167032a02f22" }, "downloads": -1, "filename": "logplot-0.0.1.tar.gz", "has_sig": false, "md5_digest": "be68fdd7236d05193ed43325c1c02bd4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6461, "upload_time": "2018-09-08T20:20:49", "url": "https://files.pythonhosted.org/packages/cf/95/93460b8eab4651490bcb3e72ca26d6135382f076637ad65bf89711911c5d/logplot-0.0.1.tar.gz" } ], "0.0.10": [ { "comment_text": "", "digests": { "md5": "08cc2a350c692ca71cae10afc2c706ce", "sha256": "a5afcf8cfb5f8bc3c24a63fa7d81af5a6ca0658dfc9bdd4e6fe842a595138367" }, "downloads": -1, "filename": "logplot-0.0.10.tar.gz", "has_sig": false, "md5_digest": "08cc2a350c692ca71cae10afc2c706ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6569, "upload_time": "2018-09-09T09:51:25", "url": "https://files.pythonhosted.org/packages/d2/5b/163c81b4546fd112cbaba78595f7d593ae680e7f455bb4a20ae8764c4057/logplot-0.0.10.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "90b5e211eaab3376fe9494342266dcb2", "sha256": "ebda08cec8c19f96d0dfc2396d5f70f52a2c3b5959dde086455d6d947ba08706" }, "downloads": -1, "filename": "logplot-0.0.2.tar.gz", "has_sig": false, "md5_digest": "90b5e211eaab3376fe9494342266dcb2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6500, "upload_time": "2018-09-08T22:09:21", "url": "https://files.pythonhosted.org/packages/1d/62/67bde64b8efd416bfdb3ba4c887cdde6f1448c7fc51054151557386299fe/logplot-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "a3fc46f2a04935e4d1451ac2452b78d6", "sha256": "d4344f527766b625a77ecc41d5c914dec9ba62d61c8812784eb0f7eb63423ede" }, "downloads": -1, "filename": "logplot-0.0.3.tar.gz", "has_sig": false, "md5_digest": "a3fc46f2a04935e4d1451ac2452b78d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6494, "upload_time": "2018-09-08T22:28:51", "url": "https://files.pythonhosted.org/packages/9c/9c/d86e516b871137680d6326a187b80993ce796243b165c7cd2451f4116765/logplot-0.0.3.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "56be87a828564cf08ecff31004201c6c", "sha256": "71b220f81e86cafe133b7238edc2ccd6bd2565a03f070293a692caf6addcd1db" }, "downloads": -1, "filename": "logplot-0.1.0.tar.gz", "has_sig": false, "md5_digest": "56be87a828564cf08ecff31004201c6c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 159006, "upload_time": "2018-09-09T17:37:03", "url": "https://files.pythonhosted.org/packages/1f/47/d07719a8e6cdfd2d9e7bc60962700a479ca520074ea09b92a3c0ab8197d9/logplot-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "95d1474955754dae294a0465ec0394e7", "sha256": "22637f304f87c6a0aa8746cad43e63eac0b1d69f80f914b0d018a580dc78ad94" }, "downloads": -1, "filename": "logplot-0.1.1.tar.gz", "has_sig": false, "md5_digest": "95d1474955754dae294a0465ec0394e7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 159223, "upload_time": "2018-09-09T21:05:36", "url": "https://files.pythonhosted.org/packages/7a/65/eb0425d3cec06d733ffb133402913424e001e1c1a2976aa1b89ff157b54c/logplot-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "cea661cb643f770253081362c5958546", "sha256": "f032dbab42ff4eb39a02703c5df23ec7160a707029176895c65dc1f5f7de3cc2" }, "downloads": -1, "filename": "logplot-0.1.2.tar.gz", "has_sig": false, "md5_digest": "cea661cb643f770253081362c5958546", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 159713, "upload_time": "2018-09-12T19:06:21", "url": "https://files.pythonhosted.org/packages/4b/9b/288d7d80896e7a71085323aa0bf52cf15ffa00cefe924bc3e7459fc71a08/logplot-0.1.2.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "1aa69d3cb9d2cb8b1f5aca7bf886013a", "sha256": "06dcdcce5da62826c0fdca8389b8fef5e5a2a463fae66904888d1208578300c8" }, "downloads": -1, "filename": "logplot-1.0.0.tar.gz", "has_sig": false, "md5_digest": "1aa69d3cb9d2cb8b1f5aca7bf886013a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10751840, "upload_time": "2018-10-06T22:46:48", "url": "https://files.pythonhosted.org/packages/3d/b4/31b579485d5c4afed2fa9d13c28004fc45617d14fbfbc6a072868d92dc38/logplot-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "e50e3f7270b68bf4cb0fc2ec33e2a943", "sha256": "28a7389b52761d01b2351cf253388dec6653b51d95c7aac96e7c9656cd6d40db" }, "downloads": -1, "filename": "logplot-1.0.1.tar.gz", "has_sig": false, "md5_digest": "e50e3f7270b68bf4cb0fc2ec33e2a943", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10752020, "upload_time": "2018-10-08T17:02:52", "url": "https://files.pythonhosted.org/packages/a0/6e/a8fe25bca24b6dbcdc83058273f86dcf34cb1c3916f6aa6f8803124e2b77/logplot-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "5e4ba480a0f087227305eabc94e79a6e", "sha256": "cc8fe7bf24c2604210de3174bfef8ecbad124c806fde3e84dabcb0ec00193586" }, "downloads": -1, "filename": "logplot-1.0.2.tar.gz", "has_sig": false, "md5_digest": "5e4ba480a0f087227305eabc94e79a6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10752172, "upload_time": "2018-10-08T18:50:57", "url": "https://files.pythonhosted.org/packages/81/55/7506616cc071326ef3c78147d2028e9c6f3cc0dba66911bc5db2ad190e64/logplot-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "c79abc43268ba58e23e5d8f7a359956b", "sha256": "2347e57dd8d5520701940eaee4eeb35ce543b1d08c084678d27e765e459e3ffd" }, "downloads": -1, "filename": "logplot-1.0.3.tar.gz", "has_sig": false, "md5_digest": "c79abc43268ba58e23e5d8f7a359956b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13851163, "upload_time": "2018-10-14T17:48:38", "url": "https://files.pythonhosted.org/packages/b7/6c/ccf3a1a3c0574bdb02203f909711559985b5774dfcf624da65d836e5cbe3/logplot-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "e8a50cc3220cfcc5434ae03dbe05f2ca", "sha256": "c46e9deb521c2aae3d9542428848bff2ad8533edf3432186dab6e2bbaebbb7ad" }, "downloads": -1, "filename": "logplot-1.0.4.tar.gz", "has_sig": false, "md5_digest": "e8a50cc3220cfcc5434ae03dbe05f2ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13851505, "upload_time": "2018-10-27T13:27:01", "url": "https://files.pythonhosted.org/packages/93/c4/0cc08813581550573a4098ca5922d6e67d86ad7614aeb8521e9201a84f37/logplot-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e8a50cc3220cfcc5434ae03dbe05f2ca", "sha256": "c46e9deb521c2aae3d9542428848bff2ad8533edf3432186dab6e2bbaebbb7ad" }, "downloads": -1, "filename": "logplot-1.0.4.tar.gz", "has_sig": false, "md5_digest": "e8a50cc3220cfcc5434ae03dbe05f2ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13851505, "upload_time": "2018-10-27T13:27:01", "url": "https://files.pythonhosted.org/packages/93/c4/0cc08813581550573a4098ca5922d6e67d86ad7614aeb8521e9201a84f37/logplot-1.0.4.tar.gz" } ] }