A semantic-code search engine
Project description
SeaGOAT
A code search engine for the AI age. SeaGOAT leverages vector embeddings to enable to search your codebase semantically.
Getting started
Install SeaGOAT
In order to install SeaGOAT, you need to have the following dependencies already installed on your computer:
- Python 3.11 or newer
- ripgrep
To install SeaGOAT using pipx, use the following command:
pipx install seagoat
Start SeaGOAT server
In order to use SeaGOAT in your project, you have to start the SeaGOAT server using the following command:
seagoat-server start /path/to/your/repo
Search your repository
If you have the server running, you can simply use the
gt or seagoat command to query your repository. For example:
gt "Where are the numbers rounded"
You can also use Regular Expressions in your queries, for example
gt "function calc_.* that deals with taxes"
Stopping the server
You can stop the running server using the following command:
seagoat-server stop /path/to/your/repo
Development
Requirements:
Install dependencies
After cloning the repository, install dependencies using the following command:
poetry install
Running tests
Watch mode (recommended)
poetry run ptw
Test changed files
poetry run pytest . --testmon
Test all files
poetry run pytest .
Manual testing
You can test any SeaGOAT command manually in your local development
environment. For example to test the development version of the
seagoat-server command, you can run:
poetry run seagoat-server ~/path/an/example/repository
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 seagoat-0.15.1.tar.gz.
File metadata
- Download URL: seagoat-0.15.1.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b98b8bdec211c73c6f4d6c2b368c3ceea4b1d5c26cad3586e41b17db8ff372c
|
|
| MD5 |
b57c641a93c421fa12d724c4a2b1570e
|
|
| BLAKE2b-256 |
75b11ae672bdc7a648ef0ecb5f9cce4a16c0265aa89dcde921897d21c05a6ddf
|
File details
Details for the file seagoat-0.15.1-py3-none-any.whl.
File metadata
- Download URL: seagoat-0.15.1-py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b45bd10bb8a30c5e6c57136a19e000979eb2ce408b67e7b4e40dc59c445b0ff4
|
|
| MD5 |
7b9e60d63c468306bd57a2a1eab2e50d
|
|
| BLAKE2b-256 |
a282543e6ee38828dec924be0333d8d71c513caad9aa8b08509586e7e829b920
|