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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-2.2.0-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-2.2.0-cp312-abi3-manylinux_2_28_aarch64.whl (7.4 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.12+macOS 11.0+ ARM64

cyt_indexer_sdk-2.2.0-cp312-abi3-macosx_10_13_universal2.whl (13.9 MB view details)

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

File details

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

File metadata

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

File hashes

Hashes for cyt_indexer_sdk-2.2.0.tar.gz
Algorithm Hash digest
SHA256 ec73a1fb13d286887b29a10e0645f1362f31cc6d7e35ffec2051a6e8a74a4e91
MD5 b4f61b7ba5ed4289559cccaa2bac528c
BLAKE2b-256 6a09ec756d35693258dd04c74b4ced587a9b4ec7b6c855ba5d0b151be382a729

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.2.0-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 f456141855673e51e5290105d71c19147303262afe16e5061ea389d0331d9960
MD5 d01eba973b911b1d378d9c3d0c1d3de0
BLAKE2b-256 92917d481debb08431192c85618987f2bc3c1867cb14241be779f8dbebed3d35

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.2.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f67c7f20647c254393cddb54f78813e88a199f550b9d6d123886ad250d41c8f2
MD5 c95c9408762acaf81158ebc47754d7ea
BLAKE2b-256 c6ca1a19f986a9be2b52de7cbd6ae6d3f222981913d8c336263406c005465a4d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.2.0-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 201c191c5340e0538844ae25931c20dc0f96cbbc4e21d96e5c8e71c265c7dfac
MD5 e867c12cb49ff58a90594d51bb988de8
BLAKE2b-256 031eb1268691654b77b9bc5cc44fea8e673cd380fbd310b8f91a1b3f2513c1a9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.2.0-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 666bf385b56008b7a8416fe290511195fa87e7193451cd6c620d856b9d18464d
MD5 69a2dc3726b941812a96e5cc39327a2b
BLAKE2b-256 9790dbfdb8f14aa4b7b33aca8af278c279e4415c094acb4dd45e76018d18391a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.2.0-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e2498239c2163cf59cad1126bfce34ae3d0e188135c9a22f52ca273341b5805c
MD5 6839dfb8a8c6bf83d54fa0fc21db97ee
BLAKE2b-256 70c7e9f0e8195fa13b4cef45f93e0678536cf7e7165d51b2257c048b41d93040

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.2.0-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 b329298cef25f9851088cf59e22f2e74adb3f63ff989d61f7dc13494821494bd
MD5 394bfb15d8d3458b47a1b3f999adeac9
BLAKE2b-256 982f47e0772532d9059ae9304f7c55d00cc6d7a4fe92dc5e71c591538dab49e8

See more details on using hashes here.

Provenance

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