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
Metadata
Release files for Github-Search-Engine 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| github_search_engine-0.3.0.tar.gz | 9.0 kB | With provenance | Details for github_search_engine-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| github_search_engine-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for github_search_engine-0.3.0-py3-none-any.whl |
Total release size: 21.0 kB
Release files / github_search_engine-0.3.0.tar.gz
| Download URL | github_search_engine-0.3.0.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92b2393ebcd5d5f7307564afd08053ec9c2daae719d010d1534035205117d665
|
|
BLAKE2b-256 checksum How to use checksums |
2a4ef83d375682137837639048b41c30837c2eab4fc08093958fc6fce4e6d4b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2024.
Transparency logRelease files / github_search_engine-0.3.0-py3-none-any.whl
| Download URL | github_search_engine-0.3.0-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bb2fc06b15ba8ae2cb4c4818e55f0646a85bc40c84103b56bd474ad42f780bf4
|
|
BLAKE2b-256 checksum How to use checksums |
0ebce21b391db1c3b25bb8b9b1a8c57c059b18f9687290e99dfe4156a91d39de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2024.
Transparency logSecurity for Github-Search-Engine 0.3.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for github_search_engine-0.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2024.
Transparency logA 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.