Skip to main content

simlir

The typed Python client for the simlir public product API is intended for publication on PyPI as simlir version 0.1.0 under Apache-2.0. The SDK is open source; installing it does not provide free access to the Simlir service. API access still requires a Simlir account, API key, and any applicable credits or plan entitlement. See docs/commercialisation/DEVELOPER-CHANNEL-LICENSING.md for the public artefact scope and service boundary.

Local verification

python -m compileall -q src
python -m unittest discover -s tests -p 'test_*.py'
python -m pip wheel --no-deps --no-build-isolation --wheel-dir /tmp/simlir-python-sdk-wheel .

Intended consumer API

from simlir import Simlir

client = Simlir(api_key="sk_...")
result = client.search(query="wireless headphones", market="GB", limit=10)
for product in result.results:
    print(product.title, product.price.amount, product.price.retailer)

exact = client.lookup(identifier="5051234567890", type="gtin", market="GB")
visual = client.search_by_image(
    image_url="https://example.com/product.jpg",
    market="GB",
    query="a slim fridge freezer with a front water dispenser for a small flat",
)
product = client.get_product(id=result.results[0].id)

The dataclass response models are generated from the pinned public API shape and include the source contract hash in the package boundary. The SDK uses Python’s standard library HTTP client, validates markets, UUIDs, API keys, price ranges, hosted HTTPS image URLs, and optional context, bounds timeouts/retries/response size, and never logs credentials, query strings, request bodies, or response bodies. Image-only calls remain supported.

Metadata

Release files for simlir 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simlir 0.1.0
File Size Uploaded
simlir-0.1.0.tar.gz 9.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for simlir 0.1.0
File Interpreter ABI Platform
simlir-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.5 kB

Release files / simlir-0.1.0.tar.gz

Download URL simlir-0.1.0.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3bdb9220853c2ee9802d5575beb0c2e4c13ba5013024b7df0aa7d9e5cdc71b3f
BLAKE2b-256 checksum
How to use checksums
e3ae2de3854494a561d0f3dddaacd6fc24b114e6ca71169e872affbc89edb304
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.14

Release files / simlir-0.1.0-py3-none-any.whl

Download URL simlir-0.1.0-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd29a6cf75371ec210f271e991dc9634d778ef98cb6516ea3e5c5323ef7e362e
BLAKE2b-256 checksum
How to use checksums
7803041f894273f046e249556142ac494ed311eba4ba363806438962d2550f0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.14

Release history Release notifications | RSS feed

0.1.2

2 release files

0.1.1

2 release files

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page