Install & Compatibility
Where this runs
tested against v0.12.12 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 35.1MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.9s · import 0.000s · 35MB
34MB installed
● package 34MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Trieve
✓ from trieve_py_client import Trieve
✗ from trieve_py_client import Trieve
Initialize client with API key and perform a search.
import os
from trieve_py_client import Trieve, ApiClient, Configuration
api_key = os.environ.get('TRIEVE_API_KEY', 'your-api-key')
config = Configuration(api_key={'ApiKey': api_key})
client = Trieve(ApiClient(config))
# Example: search
query = 'python client'
results = client.search_api.search(
tr_dataset='your-dataset-id',
search_query=query,
page_size=10
)
print(results)
Upgrade
Version history
0.12.12latest on PyPI · released Feb 3, 2025
Audit
Dependencies
requestsrequiredHTTP client for API calls