Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 899 Bytes

README.md

File metadata and controls

43 lines (27 loc) · 899 Bytes

snipsearch

Python package to search multiple strings within Python snippets.

Install

pip install snipsearch

Usage

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

Read The Docs

Download "docs" folder or check preview.

Contributing

Message me on Github.

License

GNU GPLv3

Copyright:

(c) 2023, Jason Krist