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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-2.0.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.0.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.0.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.0.0-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-2.0.0.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-2.0.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.0.0.tar.gz
Algorithm Hash digest
SHA256 f969da79ff14ccd7dc117ee6d86653437b0fbf8d08b9326b1766de9ab7da3f9b
MD5 ba03b5fcaf4032c970041a1594a3a6e8
BLAKE2b-256 9f555d14b9078776ef756c3bdc206d2853d690dc50a353a645ddc26c630b5d37

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.0.0-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 42278900a15a0c206ed1053edeeae2d92b6b0c4ed4848ef43e3ee9a4f3d59f75
MD5 b727cacaaf77fb729a1ac48e0ed18cf8
BLAKE2b-256 f6f9f5f6acdf63a9430892ba4356be3535d35554f9644ce815a0534193cb4013

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.0.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 602e51f255d275fd2b05362e54b5b9ef9b7836fe0338879ab5db92cf93b7be1d
MD5 bb6e49af5b7b706d1025564f29b62d7b
BLAKE2b-256 73aba32eeaada899f5acc35afb62478adaff927438d10770f6a7c4f55015cb6b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.0.0-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7acb3d7ef5e14a6552b567f2d21a38bb05444f0cbde8f93e7c2b18e18b6aba36
MD5 8f55b02f3246cabd8efe6e7dfc473595
BLAKE2b-256 50a0434bd7bdda631db1c6b7259397d27474f94c2fc9beaf678abca819aa229f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.0.0-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 62c0912a9796818af3157d767c4f3ff06a93620696c0f36cdc7351d566173a50
MD5 a4d73ad84850af9a3a8f01aa41d4df38
BLAKE2b-256 a88c25bb3ce5bdd3dd0c3bbd4ed19adc6b65abe89f07fbfa37d74b031ccdba31

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.0.0-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 238e4cfa6a090ba26f1d63ea9040320409768bee28c66db2c926a6cbf2e0adb4
MD5 455d037fbef6976b3f4df91f5472f461
BLAKE2b-256 9ee439f9761ff1f78d8cd6afec5a6be627df0cb89ced859ab309710b3f398183

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.0.0-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 3e722e6443b4225f6e8d7a2a904637833582da6107f1ba41a505aba383ae5662
MD5 92edfc1d9f1fdbe74b9028a96a8a021f
BLAKE2b-256 b4a6db1c1e1105d57d5f4347847497587c8c5593e7684b7aeacee636660d5442

See more details on using hashes here.

Provenance

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