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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-1.0.1-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.0.1-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.0.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.0.1-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.0.1.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-1.0.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.0.1.tar.gz
Algorithm Hash digest
SHA256 f508e3693919ad6e5888897bf944b26b84bc4e327c3800753874aa05e416fcaf
MD5 16e0b8e9a97df8fa32958efa0c37b0d6
BLAKE2b-256 496cb3d16f668b3e38929557651943200a5bf22a9494d36af06b40ecba465a4d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.1-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 39a2b296705563dee8dcbfe47b3e9e97f2e98764db402f51d04e77cea5bbe927
MD5 0ca97b9bcbd0feda2dfe26d62b9be977
BLAKE2b-256 fd526272360005d18e4151d85df03fbbc63f8fcf73b88f97ed46751b23e2945b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.1-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 304343fcdf04b0fc241297fa6335147af9366bdea3568f60e194b81c92b86d8d
MD5 0e6646972151faaa8cfd8be684fd7c3d
BLAKE2b-256 09b439e3e4a58fa5c0f0afcb1919fb53f197ae32047fe439e683d4c9abac35ed

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.1-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 567fb7a8420dac7d8ad13837a3d30645a5421713a593591334591f0fdb18eefe
MD5 1bcf90499d8eae129865356ac8bb5548
BLAKE2b-256 e759fde9d6d5386727bd5c9014d878fce8e5d3bc1ce5ed553f9d7ff8b18d3e2e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.1-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e398ac71107063acef2d87189c10ca12de938aa05dab9f630be725021f466a71
MD5 f4696c728e4b3ffc7c1ae87081e10f15
BLAKE2b-256 68dbc2d7bc31a6908f9d748d87d82f3c9a965280352dc021750821a5221f9cf9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.1-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7f8cabe4cd81e56275490ce26bb9195906fe1db87d770e0e50f400d858327196
MD5 229956fad155840574112ec440cb1f42
BLAKE2b-256 0ccded989a743182940958953ce24106fd9f04ffe200bef8562ba30d4df7f02b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.1-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 88e2a025c8d65f21179f3a244639aaa875dfa2b02f6a113dfe1d5bb587f7bfad
MD5 eec687e1c340ff8838846ae18e990459
BLAKE2b-256 d51994c1a26e741e66f8345cdeb9d91c2096061e49bd19b0b96dbc5e3787a6f6

See more details on using hashes here.

Provenance

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