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.2.1.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.2.1-cp312-abi3-win_arm64.whl (6.7 MB view details)

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-1.2.1-cp312-abi3-manylinux_2_28_x86_64.whl (7.4 MB view details)

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

cyt_indexer_sdk-1.2.1-cp312-abi3-manylinux_2_28_aarch64.whl (7.4 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.12+macOS 11.0+ ARM64

cyt_indexer_sdk-1.2.1-cp312-abi3-macosx_10_13_universal2.whl (13.8 MB view details)

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

File details

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

File metadata

  • Download URL: cyt_indexer_sdk-1.2.1.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.2.1.tar.gz
Algorithm Hash digest
SHA256 1b55d74271fc69615d8b761ab577e4b8ce34b2b78637c1d159e2bd43369643e2
MD5 b2d6e46de6fccf45ea62f347386e4226
BLAKE2b-256 398407601ed50694702a8d53b3b5fd958cb0ed2eac924e1874ba406e590b63bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.2.1.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.2.1-cp312-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.2.1-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 641fb74ef64d728e69d496d78eb0672270fee868e149a1d15d46e17be636a237
MD5 12be72e42e03710649a8758b1ad67c0f
BLAKE2b-256 5d18691398ef4fccf08eeb8ee5abb84673b9b62be64471bdce945367eb63b99f

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.2.1-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.2.1-cp312-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.2.1-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0ba7520974fe8b5ff0bd8e7356d804c2d110c234342b5df9218b0a160310c772
MD5 b25d328ec7502bd32c8d96fbba2054eb
BLAKE2b-256 f663a2dcbfd56a46f89b7255babfbc1401aa6be0431969af40b59503f0df0596

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.2.1-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.2.1-cp312-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.2.1-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9a9085927920065ab09eb416b95b09532354cb4721bc16c661c01b6ec8651f9f
MD5 806ba667068bfa5ed844cef81dd3d958
BLAKE2b-256 d8151b145dea26b3a4da2a0c03793aca6df49e5af1c92b482277e75d509d3da7

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.2.1-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.2.1-cp312-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.2.1-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 db79703430a2bb4baa476d9ec5292595fe6b8be261d6ef046377ecfbfb5d2159
MD5 b12dc7f2930b0f552ad752dcd175cc15
BLAKE2b-256 15342ed82f356b8eb1b58eb4caa88d1ea52e8e1171a91a0badd03a13c91e6dc5

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.2.1-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.2.1-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.2.1-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 89a327ef1b7cb6ee7fb766ca18cc5bd30d24c40669f392ceac2a78d05aa6d3b2
MD5 c2f62122f222a3b882b997c9e6a81275
BLAKE2b-256 47c55ef8b0a1b0c5df99d8b49e516d5092b7f42154995202ce5fd13d8aaf3ec7

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.2.1-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.2.1-cp312-abi3-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.2.1-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 307dada60facba229bf1baf9eca990b01ee197303a0372763890a6174a4985d3
MD5 ecdb7f3de00cd0cc433ee5f4a61f4413
BLAKE2b-256 3f4cf568c2ac8f8201f8f21f0e72d4a7c594a873c7210096d94968d761958f4c

See more details on using hashes here.

Provenance

The following attestation bundles were made for cyt_indexer_sdk-1.2.1-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