Welcome to codeseeker’s documentation!¶
. .
,-. ,-. ,-| ,-. ,-. ,-. ,-. | , ,-. ,-.
| | | | | |-' `-. |-' |-' |< |-' |
`-' `-' `-^ `-' `-' `-' `-' ' ` `-' '
codeseeker is simple tool to search for code on Github. By default it searches to the contents of the source code file.
Installation¶
codeseeker is available on PyPi (MIT license) and installation can be performed by running pip
python -m pip install codeseeker
To upgrade the package:
python -m pip install codeseeker --upgrade
To delete the package:
python -m pip uninstall codeseeker
Example¶
To search for a file that contains _”cube”_ in a repository:
> python -m codeseeker cube
1 file found
repository/path/to/file.python
To open the file in a web browser:
> python -m codeseeker cube -o
1 file found.
repository/path/to/file.py
Opening in a web browser...
To get the file:
> python -m codeseeker fibonacci --get
soluciones/serie_fibonacci.py
sololearn/python_core/code_project_72_Fibonacci.py
soluciones/menu_ejercicios.py
soluciones/menu_ejercicios_naive.py
soluciones/fibonacci.py
5 file(s) found(s).
Downloading and creating file(s)...
Done!
You can use also use it like this:
> codeseeker calendar -r python/cpython
Lib/test/test_calendar.py
Lib/calendar.py
Lib/test/test_strftime.py
Lib/_strptime.py
Lib/zoneinfo/_zoneinfo.py
Tools/scripts/mailerdaemon.py
Lib/datetime.py
Lib/email/_parseaddr.py
Lib/test/test_imaplib.py
Lib/imaplib.py
Lib/mailbox.py
Lib/http/server.py
Lib/ssl.py
Lib/http/cookiejar.py
Lib/test/datetimetester.py
15 file(s) found(s).
Help command:
> codeseeker -h
or:
> codeseeker --help