Metadata-Version: 2.4
Name: ziqara
Version: 0.1.2
Summary: Python SDK for the Ziqara citation-backed RAG API
Author: Ziqara
License-Expression: MIT
Project-URL: Homepage, https://ziqara.com
Keywords: ziqara,rag,retrieval,citations,ai
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.31.0

# Ziqara Python SDK

Python SDK for the Ziqara v1 API.

```bash
pip install ziqara
```

```python
from ziqara import Ziqara

client = Ziqara(api_key="zq_live_...")
response = client.answers.create(query="What is our refund policy?", model="ziqara-1.0")
print(response["answer"])

chunks = client.search.create(query="refund policy", top_k=5)
print(chunks["results"][0]["content"])
```

You can also set `ZIQARA_API_KEY` and optionally `ZIQARA_BASE_URL`.

## Publish

Use a PyPI API token or Trusted Publishing. Do not commit tokens.

```bash
python -m build
python -m twine upload dist/*
```
