pyfindfiles


Namepyfindfiles JSON
Version 1.6.0 PyPI version JSON
download
home_pageNone
SummaryConcurrent, pipelined text and binary file searching via pure Python, cross-platform.
upload_time2024-05-06 23:20:24
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseNone
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
python -m pyfindfiles.text Pattern "*.ext" root
```

Pattern
: text to search for

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

root
: top-level directory to search under

---


```sh
python -m pyfindfiles.video top
```

looks under top-level directory "top" for video files (by common file extensions)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pyfindfiles",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "find, grep",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/15/01/4b068c7098fb171aa76d42c07ea1d33c8a85387b993ffcbf3ce77afeb71c/pyfindfiles-1.6.0.tar.gz",
    "platform": null,
    "description": "# PyFindFiles\n\n![ci](https://github.com/scivision/pyfindfiles/workflows/ci/badge.svg)\n[![PyPi Download stats](http://pepy.tech/badge/pyfindfiles)](http://pepy.tech/project/pyfindfiles)\n\nFind files (text or binary) containing text or patterns efficiently with Python, cross-platform.\nDefault is to only search files smaller than 10 MBytes.\nUses pipelining and asyncio to speed up operations.\n\n## Install\n\nNormally install by\n\n```sh\npip install pyfindfiles\n```\n\nfor latest development code\n\n```sh\ngit clone https://github.com/scivision/pyfindfiles\n\npip install -e pyfindfiles\n```\n\n## Usage\n\n`findtext` looks for strings inside text or binary files, and reports filename text is found in.\n\n* `-v`: filename, line number, and text found\n* `-t`: search for files newer than date, or between dates if two dates given.\n\n```sh\npython -m pyfindfiles.text Pattern \"*.ext\" root\n```\n\nPattern\n: text to search for\n\n\"*.ext\"\n: file extension(s) to search for\n\nroot\n: top-level directory to search under\n\n---\n\n\n```sh\npython -m pyfindfiles.video top\n```\n\nlooks under top-level directory \"top\" for video files (by common file extensions)\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Concurrent, pipelined text and binary file searching via pure Python, cross-platform.",
    "version": "1.6.0",
    "project_urls": null,
    "split_keywords": [
        "find",
        " grep"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f322a511904eff9398fe755634cd140085fe5500e98c0f314a03b8b669488cd4",
                "md5": "f979c2ea839bc1e162c6176be7a92b0e",
                "sha256": "06fc9cc609fdc46db3417e0930db2c28b8c40ef9bb90819332c8acba1356e192"
            },
            "downloads": -1,
            "filename": "pyfindfiles-1.6.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f979c2ea839bc1e162c6176be7a92b0e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 10079,
            "upload_time": "2024-05-06T23:20:22",
            "upload_time_iso_8601": "2024-05-06T23:20:22.937690Z",
            "url": "https://files.pythonhosted.org/packages/f3/22/a511904eff9398fe755634cd140085fe5500e98c0f314a03b8b669488cd4/pyfindfiles-1.6.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "15014b068c7098fb171aa76d42c07ea1d33c8a85387b993ffcbf3ce77afeb71c",
                "md5": "7f39c6a569c8c678a0b2ad436465e781",
                "sha256": "0073ac02c432e79556ab6abb812015a0b05f6787aa8ea299c8677538d6178d05"
            },
            "downloads": -1,
            "filename": "pyfindfiles-1.6.0.tar.gz",
            "has_sig": false,
            "md5_digest": "7f39c6a569c8c678a0b2ad436465e781",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 8361,
            "upload_time": "2024-05-06T23:20:24",
            "upload_time_iso_8601": "2024-05-06T23:20:24.055760Z",
            "url": "https://files.pythonhosted.org/packages/15/01/4b068c7098fb171aa76d42c07ea1d33c8a85387b993ffcbf3ce77afeb71c/pyfindfiles-1.6.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-06 23:20:24",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "pyfindfiles"
}
        
Elapsed time: 3.10554s