{ "info": { "author": "Sebastian Clarke", "author_email": "swb@rift.team", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Natural Language :: English", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Software Development :: Bug Tracking", "Topic :: System :: Logging", "Topic :: System :: Monitoring", "Topic :: System :: Systems Administration", "Topic :: Text Processing", "Topic :: Text Processing :: Indexing", "Topic :: Utilities" ], "description": "Mingle\n------\n\nMingle is a library and command line tool to allow you to read from many log files, line by line in chronological order.\n\nIntroduction\n============\n\nMingle uses the python-dateutil module to flexibly attempt to parse the first part of each line as a datetime, and\nprovides a generator to access the lines in total chronological order, across the input files.\n\nIt also offers a function to conveniently print the lines out in chronological order, optionally marking which files\nthe lines come from.\n\nA command line utility 'mingle' is also provided, to print the log file lines in chronological order from the shell.\n\nUsage:\n======\n\nTo access a generator that will return lines from multiple log files in chronological order::\n\n >>> from mingle import mingled\n >>> files = ['webserver-log', 'db-log', 'firewall-log']\n >>> for line, filename in mingled(files):\n >>> print(\"The line: \" + line)\n >>> print(\"From file:\" + filename)\n\n\nTo conveniently print the lines to stdout::\n\n >>> import mingle\n >>> files = ['webserver-log', 'db-log', 'firewall-log']\n >>> mingle.cat(files)\n\n\nTo print the usage of the command line interface::\n\n user@localhost:~$ mingle -h\n usage: mingle [-h] [-q] files [files ...]\n\n Inter-mingle the contents of several log files by date stamp.\n\n positional arguments:\n files the files to intermingle\n\n optional arguments:\n -h, --help show this help message and exit\n -q, --quiet strip the filename annotations from the output\n", "description_content_type": null, "docs_url": null, "download_url": "https://bitbucket.org/swbclarke/mingle/get/0.1.7.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/swbclarke/mingle", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "mingle", "package_url": "https://pypi.org/project/mingle/", "platform": "", "project_url": "https://pypi.org/project/mingle/", "project_urls": { "Download": "https://bitbucket.org/swbclarke/mingle/get/0.1.7.tar.gz", "Homepage": "https://bitbucket.org/swbclarke/mingle" }, "release_url": "https://pypi.org/project/mingle/0.1.7/", "requires_dist": null, "requires_python": "", "summary": "Get lines from a number of log files with different time-stamp formats in chronological order", "version": "0.1.7" }, "last_serial": 3362220, "releases": { "0.1.3": [ { "comment_text": "", "digests": { "md5": "f6dda176ba631fc1a1a1efbd4fa16b48", "sha256": "82b41abd3aad643f9faa3b6a4fb45aeab8e1e84f83c0820cc45c625aaf71faef" }, "downloads": -1, "filename": "mingle-0.1.3.tar.gz", "has_sig": false, "md5_digest": "f6dda176ba631fc1a1a1efbd4fa16b48", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3613, "upload_time": "2017-11-24T19:27:04", "url": "https://files.pythonhosted.org/packages/84/34/cb420aff57b3e631cbcb8d72b12ec6f9ca4a95809ccfd655c80bf17de68e/mingle-0.1.3.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "fe97d15dc7f90d4f43abca1a6c2590ce", "sha256": "ec21292759bf1642cf91963b040b0c3d8ac5621d7de7868169e73298b5255dce" }, "downloads": -1, "filename": "mingle-0.1.6.tar.gz", "has_sig": false, "md5_digest": "fe97d15dc7f90d4f43abca1a6c2590ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3661, "upload_time": "2017-11-24T22:56:10", "url": "https://files.pythonhosted.org/packages/4b/3f/b33d2c47ccfb85c177fe8202923c1ac2c5f397121cfbae16bc4719c0cc74/mingle-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "a4d8e6cf721182d564e6eb0122f9ed72", "sha256": "f32def32fda9c9912018aa225835824517f16946ef5f5ff81f1dabc4db5864ab" }, "downloads": -1, "filename": "mingle-0.1.7.tar.gz", "has_sig": false, "md5_digest": "a4d8e6cf721182d564e6eb0122f9ed72", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3739, "upload_time": "2017-11-25T01:45:15", "url": "https://files.pythonhosted.org/packages/77/05/03d3a53adf6262c956b39cb5f44994020c949ccda2b13fd2522efad33aa0/mingle-0.1.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a4d8e6cf721182d564e6eb0122f9ed72", "sha256": "f32def32fda9c9912018aa225835824517f16946ef5f5ff81f1dabc4db5864ab" }, "downloads": -1, "filename": "mingle-0.1.7.tar.gz", "has_sig": false, "md5_digest": "a4d8e6cf721182d564e6eb0122f9ed72", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3739, "upload_time": "2017-11-25T01:45:15", "url": "https://files.pythonhosted.org/packages/77/05/03d3a53adf6262c956b39cb5f44994020c949ccda2b13fd2522efad33aa0/mingle-0.1.7.tar.gz" } ] }