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.1.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.1.tar.gz.
File metadata
- Download URL: kno_sdk-0.1.1.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 |
51e03f95b6dede2f80b2698ae3989dff24110ae2fd1cff1a938c2d4c905a90d5
|
|
| MD5 |
c0c821e5c7c79613ba8815bf1b57f570
|
|
| BLAKE2b-256 |
d50cc4d4598fb71090889ad41ad6c45c0a16893238c72e5060b5a78a327e1985
|
File details
Details for the file kno_sdk-0.1.1-py3-none-any.whl.
File metadata
- Download URL: kno_sdk-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.0 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 |
10863ebeebcd82632e8e34ff2595c2982a09581846d1be3c81005a98459cf140
|
|
| MD5 |
4c9274fbed8b691ec9a126185b84737a
|
|
| BLAKE2b-256 |
07817d806d332d04de60cb173629434cb0e40ebe9da6fd58536e9eac015a42f3
|