Search through github issues and PRs like never before.
Project description
Github-Search-Engine
Getting Started
Installation
Installing the package (from PyPI)
You can install this package from PyPI using:
pip install Github-Search-Engine[cpu]
You can also choose to install extras:
pip install Github-Search-Engine[gpu,api]
Installing the package (from source)
You can install this package from source using:
pip install git+https://github.com/sachahu1/Github-Search-Engine.git
Installing the package (Manual)
You can also install the package yourself by cloning the repo:
git clone https://github.com/sachahu1/Github-Search-Engine.git
And installing the package with poetry:
poetry install
Using as a CLI tool
You can use this package as a CLI tool, start with:
github_search_engine -h
Once you're more familiar with the CLI, you can index your favourite GitHub repository:
github_search_engine index <owner> <repository_name> --db_path=./local-store --github_access_token=<Your GitHub Personal Access Token>
Then, search through any issue using:
github_search_engine search <owner> <repository_name> "<Your query>" --db_path=./local-store --github_access_token=<Your GitHub Personal Access Token>
Launching an API server
You can use this package as an API. To do that, simply run:
github_search_engine api --github_access_token=<Your GitHub Personal Access Token>
Building the documentation
Using Docker
To access the documentation locally, the easiest way is to use the docker image. To do so, simply run:
docker build . -f Dockerfile --target documentation -t github_search_engine-docs
docker run -p 80:80 -it github_search_engine-docs
Then navigate to http://localhost
Manually
Alternatively you can build the documentation yourself. First, make sure you have the dependencies installed:
poetry install --with=documentation
Then build the documentation:
poetry run sphinx-build -M html docs/source/ docs/build
Then open the documentation in your browser:
open docs/build/html/index.html
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file github_search_engine-0.3.0.tar.gz.
File metadata
- Download URL: github_search_engine-0.3.0.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92b2393ebcd5d5f7307564afd08053ec9c2daae719d010d1534035205117d665
|
|
| MD5 |
d8195c7b9a511ad1848c6c06f0d2c1fc
|
|
| BLAKE2b-256 |
2a4ef83d375682137837639048b41c30837c2eab4fc08093958fc6fce4e6d4b3
|
Provenance
The following attestation bundles were made for github_search_engine-0.3.0.tar.gz:
Publisher:
release.yaml on sachahu1/Github-Search-Engine
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
github_search_engine-0.3.0.tar.gz -
Subject digest:
92b2393ebcd5d5f7307564afd08053ec9c2daae719d010d1534035205117d665 - Sigstore transparency entry: 151752241
- Sigstore integration time:
-
Permalink:
sachahu1/Github-Search-Engine@03242eb6efe542a3c05813a811195d384fac197c -
Branch / Tag:
refs/heads/main - Owner: https://github.com/sachahu1
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@03242eb6efe542a3c05813a811195d384fac197c -
Trigger Event:
push
-
Statement type:
File details
Details for the file github_search_engine-0.3.0-py3-none-any.whl.
File metadata
- Download URL: github_search_engine-0.3.0-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb2fc06b15ba8ae2cb4c4818e55f0646a85bc40c84103b56bd474ad42f780bf4
|
|
| MD5 |
032b1bd4b1c4203213bbd5de6bf61b92
|
|
| BLAKE2b-256 |
0ebce21b391db1c3b25bb8b9b1a8c57c059b18f9687290e99dfe4156a91d39de
|
Provenance
The following attestation bundles were made for github_search_engine-0.3.0-py3-none-any.whl:
Publisher:
release.yaml on sachahu1/Github-Search-Engine
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
github_search_engine-0.3.0-py3-none-any.whl -
Subject digest:
bb2fc06b15ba8ae2cb4c4818e55f0646a85bc40c84103b56bd474ad42f780bf4 - Sigstore transparency entry: 151752242
- Sigstore integration time:
-
Permalink:
sachahu1/Github-Search-Engine@03242eb6efe542a3c05813a811195d384fac197c -
Branch / Tag:
refs/heads/main - Owner: https://github.com/sachahu1
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@03242eb6efe542a3c05813a811195d384fac197c -
Trigger Event:
push
-
Statement type: