{ "info": { "author": "Fabrice FACORAT", "author_email": "fabrice.facorat@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Topic :: System :: Systems Administration", "Topic :: Utilities" ], "description": "timegrep.py by Dennis Williamson 20100113\nin response to http://serverfault.com/questions/101744/fast-extraction-of-a-time-range-from-syslog-logfile\nImprovements by Fabrice FACORAT 20110914\n\nPerform a binary search through a log file to find a range of times\nand print the corresponding lines\nSupported Log Formats:\n- W3C Extended: %Y-%m-%d %H:%M:%S\n- Syslog: %b %d %H:%M:%S\n- NSCA Common/Apache: host rfc931 username [%d/%b/%Y:%H:%M:%S +TZ]\n- Bind8: %d-%b-%Y %H:%M:%S.\n- Nginx Error logs: %Y/%m/%d %H:%M:%S.\nTested with Python 2.6\n\nTODO: Make sure that it works if the seek falls in the middle of\n the first or last line\nTODO: Make sure it's not blind to a line where the sync read falls\n exactly at the beginning of the line being searched for and\n then gets skipped by the second read\nDONE: Support more log time format\nTODO: Support case when log files may not be properly sorted ( remove superfluous lines )\nDONE: Support on the fly log format definition with --log-regexp\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/linux-wizard", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "timegrep", "package_url": "https://pypi.org/project/timegrep/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/timegrep/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/linux-wizard" }, "release_url": "https://pypi.org/project/timegrep/1.5/", "requires_dist": null, "requires_python": null, "summary": "Perform a binary search through a log file to find a range of times and print the corresponding lines", "version": "1.5" }, "last_serial": 1495084, "releases": { "1.0": [], "1.1": [ { "comment_text": "", "digests": { "md5": "a883f905bbfe70081c63e2279e2e42a1", "sha256": "fe5b26e66641169cc96a641d2863498ce3320af013f8ec2091cd05d11758de43" }, "downloads": -1, "filename": "timegrep-1.1.tar.gz", "has_sig": false, "md5_digest": "a883f905bbfe70081c63e2279e2e42a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5133, "upload_time": "2011-10-21T12:12:23", "url": "https://files.pythonhosted.org/packages/c7/cf/065aab1f495d2635a1007c1660e29203bf368aeb60572eff6b90b5f9666e/timegrep-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "dfe227155542d9a00de45c6f046631c1", "sha256": "62b2690c11400846e24db23a42224537890b5c7997ad6ae529bb51b5f1ed1773" }, "downloads": -1, "filename": "timegrep-1.2.tar.gz", "has_sig": false, "md5_digest": "dfe227155542d9a00de45c6f046631c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5160, "upload_time": "2011-10-21T12:46:31", "url": "https://files.pythonhosted.org/packages/98/5d/28b0f9477a70092ae7e0526a866d7158599014d02a1cd906f7a45c6649ac/timegrep-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "ee04c74935764a1ef4c11169eebf9464", "sha256": "4a9f47069ab0a97848a5a7097db0b0c4d62c4a184622276fc828aa7155f751e8" }, "downloads": -1, "filename": "timegrep-1.3.tar.gz", "has_sig": false, "md5_digest": "ee04c74935764a1ef4c11169eebf9464", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5324, "upload_time": "2012-03-02T15:01:28", "url": "https://files.pythonhosted.org/packages/68/c0/bfb65a437932dc8860fd0721647ade896b6015f26e5878b413fa260005af/timegrep-1.3.tar.gz" } ], "1.5": [ { "comment_text": "", "digests": { "md5": "89eb4f6b8a4b93084870b84a592f65ab", "sha256": "b3659a9035333bfbd9250145464cc8b8eaa43c75571367353fe2e5258af7a504" }, "downloads": -1, "filename": "timegrep-1.5.tar.gz", "has_sig": false, "md5_digest": "89eb4f6b8a4b93084870b84a592f65ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5528, "upload_time": "2015-04-07T23:35:23", "url": "https://files.pythonhosted.org/packages/1e/52/98074f1e44231083c3b8ce487553b231eab213d7510fb5d4d00dd4169971/timegrep-1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "89eb4f6b8a4b93084870b84a592f65ab", "sha256": "b3659a9035333bfbd9250145464cc8b8eaa43c75571367353fe2e5258af7a504" }, "downloads": -1, "filename": "timegrep-1.5.tar.gz", "has_sig": false, "md5_digest": "89eb4f6b8a4b93084870b84a592f65ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5528, "upload_time": "2015-04-07T23:35:23", "url": "https://files.pythonhosted.org/packages/1e/52/98074f1e44231083c3b8ce487553b231eab213d7510fb5d4d00dd4169971/timegrep-1.5.tar.gz" } ] }