Python package to search multiple strings within Python snippets.
pip install snipsearch
snipsearch [-h] [-n N] searchdir searchterm1 searchterm2 ...
Find code snippets which are most related to search keywords.
positional arguments:
- searchdir
- Directory containing Python (.py) files to search through
- searchterms
- List as many strings as you would like to search for (all equally weighted)
optional arguments:
- -h, --help
- show this help message and exit
- -n N, -number N
- Number of code snippet results to print
Download "docs" folder or check preview.
Message me on Github.
(c) 2023, Jason Krist