Skip to main content

A simple tool to search code in a GitHub repository.

Project description

CodeSeeker

Search code through a GitHub repo.

GitHub Contributor Covenant GitHub languages GitHub repo size Github last-commit maintenance

          .                 .          
,-. ,-. ,-| ,-. ,-. ,-. ,-. | , ,-. ,-.
|   | | | | |-' `-. |-' |-' |<  |-' |  
`-' `-' `-^ `-' `-' `-' `-' ' ` `-' '  

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.py

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...

You can 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

Contribution

If you'd like to contribute, fork the repository, commit your changes to main branch and send a pull request. Make sure you add yourself to authors.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codeseeker-0.0.7.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

codeseeker-0.0.7-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file codeseeker-0.0.7.tar.gz.

File metadata

  • Download URL: codeseeker-0.0.7.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.9

File hashes

Hashes for codeseeker-0.0.7.tar.gz
Algorithm Hash digest
SHA256 7a19dd619a93f53650c8ff655b153f12f6a607cce396fe45ffe6ad57b127adf0
MD5 c26a4d77e7ea011548f46482449dc570
BLAKE2b-256 e8b256c596e19387affb57bdd34323e166b8a2b16e4e46e3d481d80a35184e6f

See more details on using hashes here.

File details

Details for the file codeseeker-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: codeseeker-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.9

File hashes

Hashes for codeseeker-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 54cbf6e4b8df1462c098f10a5fa1b6933ef2b751d8d3e1c4005497de39dfdec1
MD5 4971bdd719bed2daa95eb8639d17e92d
BLAKE2b-256 ab556ee4bf101514f923feb906d835e2314b1070cdd60b8f57a222bf0a2bfa3d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page