catscan, or mindgrep
Forgot where you put that file? Forgot what you were working on?
Wish you could grep against a file you forgot about?
Installation
From the project root directory::
$ pip install catscan
or::
$ python setup.py install
Usage
Simply run it with something that might be in the file, and it will check through files you worked with in your bash history::
# Find files you worked on that have the search string 'install' in them.
$ catscan 'install'
/home/johannestaas/dev/catscan/catscan/install.py
/home/johannestaas/dev/catscan/setup.py
/home/johannestaas/dev/catscan/README.md
/home/johannestaas/dev/catscan/catscan/install.py
/home/johannestaas/dev/mkpip/setup.py
Use --help/-h to view info on the arguments::
$ catscan --help
More complex scan behavior is also available::
# search using regex (python format)
$ catscan -r '201[56]-\d+-\d+'
# limit to files less than 1 megabyte
$ catscan -m 1 'foo'
# limit to files less than ~100 kilobytes
$ catscan -m 0.1 'foo'
# case insensitive search
$ catscan -i 'foo'
# Look for files that are not necessarily ASCII (using file magic)
$ catscan -a 'CAFEBABE'
# Quit after finding the first matching file
$ catscan -q 1 'foo'
Release Notes
:0.0.6: Removed start/end features to simplify runtime requirements :0.0.3: bugfree (enough) version for release :0.0.2: Finished main features :0.0.1: Project created
Metadata
Release files for catscan 0.1.0
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 |
|---|---|---|---|---|
| catscan-0.1.0.tar.gz | 5.2 kB | Without provenance | Details for catscan-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| catscan-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for catscan-0.1.0-py3-none-any.whl |
Total release size: 12.3 kB
Release files / catscan-0.1.0.tar.gz
| Download URL | catscan-0.1.0.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
922165b3572f4968dec7f567cb371701e5ee4ba52063c6d54c50e3d5cb81fa05
|
|
BLAKE2b-256 checksum How to use checksums |
853e9390a1dbf454ac48385d69ef8a3aee8ffe8073f2d46966d5268ce5286771
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / catscan-0.1.0-py3-none-any.whl
| Download URL | catscan-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f0c6270b6f0d7b6f5aa0decbf012b4bda7653c70bb9b230262e9f77db89892be
|
|
BLAKE2b-256 checksum How to use checksums |
4fb0f725c202149eef4c02e09d58a44acd8505d306c5be49908089ef39128959
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for catscan 0.1.0
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.