pyfindfiles


Namepyfindfiles JSON
Version 1.5.2 PyPI version JSON
download
home_page
SummaryConcurrent, pipelined text and binary file searching via pure Python, cross-platform.
upload_time2023-01-02 20:27:13
maintainer
docs_urlNone
author
requires_python>=3.8
license
keywords find grep
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PyFindFiles

![ci](https://github.com/scivision/pyfindfiles/workflows/ci/badge.svg)
[![PyPi Download stats](http://pepy.tech/badge/pyfindfiles)](http://pepy.tech/project/pyfindfiles)

Find files (text or binary) containing text or patterns efficiently with Python, cross-platform.
Default is to only search files smaller than 10 MBytes.
Uses pipelining and asyncio to speed up operations.

## Install

Normally install by

```sh
pip install pyfindfiles
```

for latest development code

```sh
git clone https://github.com/scivision/pyfindfiles

pip install -e pyfindfiles
```

## Usage

`findtext` looks for strings inside text or binary files, and reports filename text is found in.

* `-v`: filename, line number, and text found
* `-t`: search for files newer than date, or between dates if two dates given.

```sh
findtext Pattern "*.ext" root
```

Pattern
: text to search for

"*.ext"
: file extension(s) to search for

root
: top-level directory to search under

---

`findvid`

`findvid root` looks under top-level directory `root` for video files (by common file extensions)

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "pyfindfiles",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "find,grep",
    "author": "",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/b2/52/a497ed3a64a6e75a799bf16dd778ffac047150608c600af1633ee180c9e9/pyfindfiles-1.5.2.tar.gz",
    "platform": null,
    "description": "# PyFindFiles\r\n\r\n![ci](https://github.com/scivision/pyfindfiles/workflows/ci/badge.svg)\r\n[![PyPi Download stats](http://pepy.tech/badge/pyfindfiles)](http://pepy.tech/project/pyfindfiles)\r\n\r\nFind files (text or binary) containing text or patterns efficiently with Python, cross-platform.\r\nDefault is to only search files smaller than 10 MBytes.\r\nUses pipelining and asyncio to speed up operations.\r\n\r\n## Install\r\n\r\nNormally install by\r\n\r\n```sh\r\npip install pyfindfiles\r\n```\r\n\r\nfor latest development code\r\n\r\n```sh\r\ngit clone https://github.com/scivision/pyfindfiles\r\n\r\npip install -e pyfindfiles\r\n```\r\n\r\n## Usage\r\n\r\n`findtext` looks for strings inside text or binary files, and reports filename text is found in.\r\n\r\n* `-v`: filename, line number, and text found\r\n* `-t`: search for files newer than date, or between dates if two dates given.\r\n\r\n```sh\r\nfindtext Pattern \"*.ext\" root\r\n```\r\n\r\nPattern\r\n: text to search for\r\n\r\n\"*.ext\"\r\n: file extension(s) to search for\r\n\r\nroot\r\n: top-level directory to search under\r\n\r\n---\r\n\r\n`findvid`\r\n\r\n`findvid root` looks under top-level directory `root` for video files (by common file extensions)\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Concurrent, pipelined text and binary file searching via pure Python, cross-platform.",
    "version": "1.5.2",
    "split_keywords": [
        "find",
        "grep"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a515630b23d2b6ae414bda8ab7797c23976021bcee9e5f942bb86a77dfe2ec46",
                "md5": "4f968e1207f117013d78b6d62a169c6e",
                "sha256": "2fce6a0cc1d5e257c103fa2dc67259f7718a73eca19055f96c890134e9fa1edc"
            },
            "downloads": -1,
            "filename": "pyfindfiles-1.5.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4f968e1207f117013d78b6d62a169c6e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 9708,
            "upload_time": "2023-01-02T20:27:12",
            "upload_time_iso_8601": "2023-01-02T20:27:12.609229Z",
            "url": "https://files.pythonhosted.org/packages/a5/15/630b23d2b6ae414bda8ab7797c23976021bcee9e5f942bb86a77dfe2ec46/pyfindfiles-1.5.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b252a497ed3a64a6e75a799bf16dd778ffac047150608c600af1633ee180c9e9",
                "md5": "67adcf6a57576e25bc6846b982084d0b",
                "sha256": "4811dac70fb6e03b98b770aa484a8089fc49948ddcfa72b76759a18fda659cca"
            },
            "downloads": -1,
            "filename": "pyfindfiles-1.5.2.tar.gz",
            "has_sig": false,
            "md5_digest": "67adcf6a57576e25bc6846b982084d0b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 8241,
            "upload_time": "2023-01-02T20:27:13",
            "upload_time_iso_8601": "2023-01-02T20:27:13.901469Z",
            "url": "https://files.pythonhosted.org/packages/b2/52/a497ed3a64a6e75a799bf16dd778ffac047150608c600af1633ee180c9e9/pyfindfiles-1.5.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-02 20:27:13",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "pyfindfiles"
}
        
Elapsed time: 0.03187s