Official Python SDK for PeliSearch
Project description
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
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
pelisearch-0.1.0.tar.gz
(5.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 pelisearch-0.1.0.tar.gz.
File metadata
- Download URL: pelisearch-0.1.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51e14c797c8d79e00c468e71e16e312aa6d2e343e228cd9caa835c476d113de2
|
|
| MD5 |
1746aad6ba89299c3316b8ed61785e48
|
|
| BLAKE2b-256 |
190b7452f1f22329f9148f676ca91d946cec7638d9feedd215d12ca4e15ebe28
|
File details
Details for the file pelisearch-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pelisearch-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
379f7fa07dcb44494ad03cb864f021d0b8633e3228c82ca825aaddfc22150af4
|
|
| MD5 |
ee74d0df2201277d71d5a1eed9dc1d8e
|
|
| BLAKE2b-256 |
7040c622eaba710fedd6d86aeb4089822ff219bdda5edd6bb8c2c1829eb60cbb
|