Skip to main content

Python SDK for cyt-indexer — tool schema decomposition and catalog indexing

Project description

cyt-indexer-sdk

Python bindings for the cyt-indexer Rust library.

Platforms supported: Linux/Windows11/macOS CPU Architectures: x86/ARM

Development

cd sdk/python
uv sync
uv run maturin develop --release

Usage

from cyt_indexer import (
    PolicyContext,
    apply_tool_kind,
    build_catalog_from_tools,
    coordinate_bm25_prune,
    load_catalog,
    removed_chunks,
    retrieve_tools,
    scoring_policy_context,
)

full = load_catalog(".catalog")
surviving = ...  # survivors.json
removed = removed_chunks(full, surviving)

ctx = PolicyContext("prune_optional", "prune_all")
apply_tool_kind(ctx, "mcp")
scoring = scoring_policy_context(ctx)

result = coordinate_bm25_prune([], full, full, index, "query", scoring, ctx)

ensure_skills_registry accepts filesystem paths or inline hook/client payloads:

ensure_skills_registry(
    [{"path": "/virtual/skill.md", "content": "---\nname: x\n---\nBody", "content_sha256": "..."}],
    catalog_root,
    pageindex_config,
    pipeline,
    index_params_hash,
)

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

cyt_indexer_sdk-1.1.2.tar.gz (2.1 MB view details)

Uploaded Source

Built Distributions

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

cyt_indexer_sdk-1.1.2-cp312-abi3-win_arm64.whl (6.6 MB view details)

Uploaded CPython 3.12+Windows ARM64

cyt_indexer_sdk-1.1.2-cp312-abi3-win_amd64.whl (6.8 MB view details)

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-1.1.2-cp312-abi3-manylinux_2_28_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.28+ x86-64

cyt_indexer_sdk-1.1.2-cp312-abi3-manylinux_2_28_aarch64.whl (7.3 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.28+ ARM64

cyt_indexer_sdk-1.1.2-cp312-abi3-macosx_11_0_arm64.whl (6.8 MB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

cyt_indexer_sdk-1.1.2-cp312-abi3-macosx_10_13_universal2.whl (13.7 MB view details)

Uploaded CPython 3.12+macOS 10.13+ universal2 (ARM64, x86-64)

File details

Details for the file cyt_indexer_sdk-1.1.2.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-1.1.2.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cyt_indexer_sdk-1.1.2.tar.gz
Algorithm Hash digest
SHA256 8f6476e6ebd9ecc724fed1697085ea4909524542541fc13aa32953e5796ab9d1
MD5 a4216f37d60faf0e5bde97df2f1e7fc9
BLAKE2b-256 25604237100181bf5d04d4862fded031369d9da04f878de275fa2f1a2505c4f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.1.2.tar.gz:

Publisher: publish-pypi-sdk.yml on qdrddr/clear-your-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyt_indexer_sdk-1.1.2-cp312-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.1.2-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 83ab7717e07e148f15460d917040122db902c7256727dfd294f44ac55040e20e
MD5 58bb6f316b567a040fd47f398f65db90
BLAKE2b-256 f8862641b1895485b215c3942e85c39be4550a321a4776e1ea0632e2944e55e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.1.2-cp312-abi3-win_arm64.whl:

Publisher: publish-pypi-sdk.yml on qdrddr/clear-your-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyt_indexer_sdk-1.1.2-cp312-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.1.2-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6f27147fc9a73154755ddf02a9d9bb06254c892942d4d2bd59764682ad2ee002
MD5 57654390f06d9fabdd49662254d83fd1
BLAKE2b-256 2865b9e4e56ae4b0496fc4934c76f624394b11d75cdd2093eee2188c095b1ecd

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.1.2-cp312-abi3-win_amd64.whl:

Publisher: publish-pypi-sdk.yml on qdrddr/clear-your-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyt_indexer_sdk-1.1.2-cp312-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.1.2-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bd91cc5d813b213793eed797c80ff7cdc4ef821864a312d82afac64b62b1134c
MD5 010980cbed5000624297b20e401cb5f4
BLAKE2b-256 be4e8650b665732633905d7336485016e63b9bec675a346e82c27826348997c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.1.2-cp312-abi3-manylinux_2_28_x86_64.whl:

Publisher: publish-pypi-sdk.yml on qdrddr/clear-your-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyt_indexer_sdk-1.1.2-cp312-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.1.2-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a4a4d50a856f7abbb1bc644975bf18ca123b706ead8fbde6cd004d5487528503
MD5 9569c9321ffc1c78e20dac0d2fc28f80
BLAKE2b-256 501a7ad010f16a055426a7ac521d7391f0cffc3b857985eb048fc34fdf1baf91

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.1.2-cp312-abi3-manylinux_2_28_aarch64.whl:

Publisher: publish-pypi-sdk.yml on qdrddr/clear-your-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyt_indexer_sdk-1.1.2-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.1.2-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5d28571352c7dd8e8aecffe12743489f91be7eb4671f6d446b50edc6b11aa4a8
MD5 2c5b5d82e849e56567cce4c712a1367e
BLAKE2b-256 1231366ff98f45ad19cdf3872bccab9ba346da3d25cc35a9fe38b2ef79c89235

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.1.2-cp312-abi3-macosx_11_0_arm64.whl:

Publisher: publish-pypi-sdk.yml on qdrddr/clear-your-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cyt_indexer_sdk-1.1.2-cp312-abi3-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.1.2-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 b2e7c2da866f97ec533bd6ef28b91c5ba9b46063c56f166a9a6617f3c355ad6c
MD5 55d45002c94dd818a8eb291988bb3ef2
BLAKE2b-256 2f5d6e7ae63faab8cb9e51a8147f6a6b1f9c7d53f7e1c21f4fbff728a0581433

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.1.2-cp312-abi3-macosx_10_13_universal2.whl:

Publisher: publish-pypi-sdk.yml on qdrddr/clear-your-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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