Skip to main content

CodeSeeker

Search code through a GitHub repo.

GitHub Contributor Covenant GitHub languages GitHub repo size Github last-commit maintenance GitHub release (latest by date) PyPI - Format Downloads

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

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

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

Metadata

Release files for codeseeker 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codeseeker 0.0.9
File Size Uploaded Provenance Actions
codeseeker-0.0.9.tar.gz 5.9 kB Without provenance Details for codeseeker-0.0.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for codeseeker 0.0.9
File Interpreter ABI Platform Actions
codeseeker-0.0.9-py3-none-any.whl Python 3 none any Details for codeseeker-0.0.9-py3-none-any.whl

Total release size: 13.8 kB

Release files / codeseeker-0.0.9.tar.gz

Download URL codeseeker-0.0.9.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d0b512e6069728dbad4fa4e9825bafc6dc61b1641d1523efa454f63d11f8b801
BLAKE2b-256 checksum
How to use checksums
ce742dc790e51d7f85c023ae3695b3b48fa2835430b701932d4d3b405ce6d680
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.61.2 importlib-metadata/3.10.0 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.9

Release files / codeseeker-0.0.9-py3-none-any.whl

Download URL codeseeker-0.0.9-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0555c6ef33a760ab4bebe1cedf89b1d9a4bdd43baecdb9565bf5ebbe8befc64
BLAKE2b-256 checksum
How to use checksums
b337857d40b5459d3525ed1212e368796f41c42950d22591ab1af56fb6afc34d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.61.2 importlib-metadata/3.10.0 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.9

Security for codeseeker 0.0.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page