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.0.tar.gz
(4.6 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.0.tar.gz.
File metadata
- Download URL: kno_sdk-0.1.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db6fc04ad360b01794bf8e71e7820d93919bb4e4d37578e78ca2239661a7f49d
|
|
| MD5 |
7798e0b7d24b33637a00d2acdd8a8b65
|
|
| BLAKE2b-256 |
4da8d631395ac4f0c3bf3287f7cf4bfdd8f56017e3d4bbee835d49a96acc7d96
|
File details
Details for the file kno_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: kno_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.7 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 |
e246a17947da5b67592d3285bcf9b652de5ffc46c9f68c40c7c930c86f5e35b7
|
|
| MD5 |
1c53d495dfda58a852f9dc423418e475
|
|
| BLAKE2b-256 |
e25f02ba6fd9eca51b1d24ae09adc5b70d4ee0cdc8971baf46f78e881a536819
|