{ "info": { "author": "Dmitriy Doroshev", "author_email": "r.schweppes@ya.ru", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# Tough Search\n\n## Install\n\n```bash\n$ git clone https://github.com/toughsearch/tough.git\n$ cd tough\n$ pip3 install -r requirements.txt\n```\n\n## Configure\n\n```bash\n$ cp conf-example.yaml conf.yaml\n```\n\nAnd then adjust `conf.yaml` according to your file structure and date format.\n\n## Create index\n\n```bash\n$ python3 -m tough reindex \n```\n\n## Search\n\nLet's say you want to find all requests to URL `/foobar` that came from March 5 to March 7, 2019 in your nginx logs:\n\n```bash\n$ python3 -m tough search -df 2019-03-05 -dt 2019-03-07 '/foobar' \n```\n\nOr, maybe, find `/foobar` and `/foobaz` with regex `/fooba[rz]`:\n\n```bash\n$ python3 -m tough search -df 2019-03-05 -dt 2019-03-07 -e '/fooba[rz]' \n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/toughsearch/tough", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "toughsearch", "package_url": "https://pypi.org/project/toughsearch/", "platform": "", "project_url": "https://pypi.org/project/toughsearch/", "project_urls": { "Homepage": "https://github.com/toughsearch/tough" }, "release_url": "https://pypi.org/project/toughsearch/0.1.0/", "requires_dist": [ "indexed-gzip (~=0.8.10)", "pyyaml (~=5.1.1)", "tqdm (~=4.31.1)" ], "requires_python": "", "summary": "Simple date-based search engine for text- and gzip-logs", "version": "0.1.0" }, "last_serial": 5907402, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "d25b2ecda23c5b6080a526df26f71c83", "sha256": "164b0b96da66851f0ddaa6741fd65820708de01b08b6950380d69971ed7ebebb" }, "downloads": -1, "filename": "toughsearch-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d25b2ecda23c5b6080a526df26f71c83", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8495, "upload_time": "2019-09-30T15:17:11", "url": "https://files.pythonhosted.org/packages/36/ba/40935fcd48a66b6da056d7617354abace158df22c2da18b80ade703b1ec0/toughsearch-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c3252fbb1bd3c9543bafcc827774a867", "sha256": "0d97bda9ec6ac7df0f6efaaf5767331ab36ce303f0ede047627e043c1d90b453" }, "downloads": -1, "filename": "toughsearch-0.1.0.tar.gz", "has_sig": false, "md5_digest": "c3252fbb1bd3c9543bafcc827774a867", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5624, "upload_time": "2019-09-30T15:17:33", "url": "https://files.pythonhosted.org/packages/d5/14/20b30ceb5cc6822d8780895fc072762ed0b1a5bd6db572ee3c350d86a00a/toughsearch-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d25b2ecda23c5b6080a526df26f71c83", "sha256": "164b0b96da66851f0ddaa6741fd65820708de01b08b6950380d69971ed7ebebb" }, "downloads": -1, "filename": "toughsearch-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d25b2ecda23c5b6080a526df26f71c83", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8495, "upload_time": "2019-09-30T15:17:11", "url": "https://files.pythonhosted.org/packages/36/ba/40935fcd48a66b6da056d7617354abace158df22c2da18b80ade703b1ec0/toughsearch-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c3252fbb1bd3c9543bafcc827774a867", "sha256": "0d97bda9ec6ac7df0f6efaaf5767331ab36ce303f0ede047627e043c1d90b453" }, "downloads": -1, "filename": "toughsearch-0.1.0.tar.gz", "has_sig": false, "md5_digest": "c3252fbb1bd3c9543bafcc827774a867", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5624, "upload_time": "2019-09-30T15:17:33", "url": "https://files.pythonhosted.org/packages/d5/14/20b30ceb5cc6822d8780895fc072762ed0b1a5bd6db572ee3c350d86a00a/toughsearch-0.1.0.tar.gz" } ] }