PeliSearch Python SDK
Official Python client for PeliSearch.
Installation
pip install pelisearch
Requires Python 3.10+.
Quick Start
from pelisearch import PeliSearch, SearchRequest
client = PeliSearch("http://localhost:7700")
# Create an index
client.create_index("products")
# Add documents
client.add_document("products", "doc1", {"title": "Widget", "price": 9.99})
# Search
results = client.search("products", SearchRequest(q="widget"))
for hit in results.hits:
print(hit.document_id, hit.score)
Documentation
See the full SDK docs for detailed usage.
License
MIT
Metadata
Release files for pelisearch 0.1.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 | |
|---|---|---|---|
| pelisearch-0.1.0.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pelisearch-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.2 kB
Release files / pelisearch-0.1.0.tar.gz
| Download URL | pelisearch-0.1.0.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51e14c797c8d79e00c468e71e16e312aa6d2e343e228cd9caa835c476d113de2
|
|
BLAKE2b-256 checksum How to use checksums |
190b7452f1f22329f9148f676ca91d946cec7638d9feedd215d12ca4e15ebe28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / pelisearch-0.1.0-py3-none-any.whl
| Download URL | pelisearch-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
379f7fa07dcb44494ad03cb864f021d0b8633e3228c82ca825aaddfc22150af4
|
|
BLAKE2b-256 checksum How to use checksums |
7040c622eaba710fedd6d86aeb4089822ff219bdda5edd6bb8c2c1829eb60cbb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|