Clone GitHub repos, build embeddings, store in Chroma, and search.
Project description
from repo_indexer import clone_and_index, search
# index a repo
idx = clone_and_index("https://github.com/xyz/project.git")
# later, search
results = search("https://github.com/xyz/project.git", query="How to authenticate?")
for r in results:
print(r)
---
## 4. Publishing to PyPI
1. **Build** your distribution:
```bash
pip install build twine
python -m build
2. **Upload** twine upload dist/*
3. **Install** pip install repo-indexer
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
kno_sdk-0.1.2.tar.gz
(4.8 kB
view details)
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 kno_sdk-0.1.2.tar.gz.
File metadata
- Download URL: kno_sdk-0.1.2.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2cf164433dcb12df13508a53f6397855dcb73912ef3a143fda8ff4d6949eca59
|
|
| MD5 |
832ee5b556458070a4238ea67eb9c6f9
|
|
| BLAKE2b-256 |
613ea5871fe2fc0e646b6907f84802ad73bd26f3c49c89cbd9a9c1a80b72c98f
|
File details
Details for the file kno_sdk-0.1.2-py3-none-any.whl.
File metadata
- Download URL: kno_sdk-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
206abdbe2fa9f1180653316a9fe7c5b991cc88620f76a79b19df42dce04c6051
|
|
| MD5 |
55364ee059b994a285311aa7eaea94e8
|
|
| BLAKE2b-256 |
0c46a8b3aa011ad7b3faa2e6bf48b8744ca284db1c3be7a13ab20d0e1f8fa31e
|