Skip to main content

Telys — public, thin SDK for embedded on-device memory & retrieval (in-process, zero cloud roundtrips)

Project description

telys

Public, thin SDK for Telys — embedded, on-device memory & retrieval. In-process, zero cloud roundtrips at query time.

This package contains only the developer-facing surface: the Telys/Collection facades, query/filter types, the EmbeddingProvider interface, the Tuner/TuningPlan interfaces, a runtime loader, and the telys CLI. It contains no engine implementation — the engine is a separate, closed, signed, on-device runtime fetched by telys runtime install (see DECISIONS D-30).

pip install telys
telys runtime install          # fetch the signed on-device runtime for your platform
from telys import Telys
db = Telys("./memory")
col = db.create_collection("docs", dim=768, partition_by="tenant_id")
col.add(vectors, ids=ids, metadata=metadata)          # bring your own vectors (embedding-agnostic)
hits = col.search(qvec, where={"tenant_id": "acme"}, top_k=10, explain=True)

The runtime is required for execution; the embedder is optionalcol.add(vectors, …) and col.add_texts(…) both need the runtime, but only *_texts needs an embedder (bring your own via telys.embedding.CallableEmbedder, or use the on-device bigram embedder).

For local development, install the runtime as a package instead of via the CLI:

pip install "telys[runtime]"   # or: pip install telys-runtime

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

telys-0.1.0a3-py3-none-any.whl (52.8 kB view details)

Uploaded Python 3

File details

Details for the file telys-0.1.0a3-py3-none-any.whl.

File metadata

  • Download URL: telys-0.1.0a3-py3-none-any.whl
  • Upload date:
  • Size: 52.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for telys-0.1.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 0356981048981405e04ef9584f827bfa6561fb0645fa486e5efb9891b01fe81a
MD5 c11ed54dd07d063d63ac23c23191b465
BLAKE2b-256 51a8b7af7e094f3b6cdbe9f494f000e01b7e306b0b75ea7be89719fbb2fbbc6c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page