pyfindtext
Find a string of text in any file located in a directory.
Searches through multiple files that are in a directory and returns the file , line number, and a print out of the row where the text was found.
In the case of multiple hits, a list of lists is returned.
Installation
Works on Python 3.7+
pip install pyfindtext
Usage
import pyfindtext
result = pyfindtext.find(directory=/path/to/dir, text=search_string)
for x in result:
print(x)
Metadata
Release files for pyfindtext 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyfindtext-0.0.2.tar.gz | 1.9 kB | Without provenance | Details for pyfindtext-0.0.2.tar.gz |
Release files / pyfindtext-0.0.2.tar.gz
| Download URL | pyfindtext-0.0.2.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
409bc1ed72f8af6f5f9d44c066acc7d00aaf3472c45936237e366756e51a7dd1
|
|
BLAKE2b-256 checksum How to use checksums |
f1748abaeb4de05f376beeaa0cfc6c06cef0c2101442443123cdaab75b25f497
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
|
Security for pyfindtext 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.