Skip to content

jkrist2696/snipsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages