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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-2.4.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-2.4.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-2.4.1-cp312-abi3-macosx_11_0_arm64.whl (6.8 MB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

cyt_indexer_sdk-2.4.1-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.4.1.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-2.4.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.14

File hashes

Hashes for cyt_indexer_sdk-2.4.1.tar.gz
Algorithm Hash digest
SHA256 24cdf6e6801504295bb9873a2fc15b4078914c265f23754ee474a8bed728b8bd
MD5 49ff1c082fb4f9fe0fa68abdd39bf64b
BLAKE2b-256 d5028292f88965bd45ca5f0ba00505d3790e243a2307b5dd20c640dc571acad7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.4.1-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 3815bb86dce4cc6e7d2a86f2aeb0c922738aed057130c97059091f091b1b3a11
MD5 5fdab191c12c49bbeef5321235a83f91
BLAKE2b-256 36759057df6aa7684b64752f7fa7d5d114e2040621a501ca8a0001190bdc9462

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.4.1-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 716e1b5d766a033d2f463e09a119654e6a4a0095b15d77bd893890616bf597b5
MD5 3c919fa901fd61a8e648f4b26adb40c4
BLAKE2b-256 a4b5437cd823124248a8def174466a839eedfcfeaefaab0e21841d39ae4dc7ab

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.4.1-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 edbfd9c4b39786fbc0fac894cfba860f4417b83a0ab583a445c8dbc11cd25463
MD5 6133beef85a04fa2f01e054707af1f8f
BLAKE2b-256 32b59c48df117fd497ab1ad12a9749c3f96e69d36b43cb36e63ecb970ba34ae9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.4.1-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 564e4f08419c0b535d41b93aea79a872ae27b6062e9a01368159bd282d33a6b9
MD5 c6bde6feffee2648ca42e871e9ab76ac
BLAKE2b-256 0bb7de72f1a3f62e71372cadf4f2dcddc93d15d3f9b5690835bbc8a4721c48f6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.4.1-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8b7e9e0d8880114faf22c143da5f4b87be77a32426cdcbcfc1eb201be9aa679c
MD5 2f664ce7b095d68eb8efb9d95c9f8e36
BLAKE2b-256 ba876526df8ce9c47533abe4b55744b168b796c9e37d07e68612f32df61a0c57

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.4.1-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 b21bdc4e7e13d4fcf1992ec9cae9fe9946013481ab2dd8fad5afd2d35680a120
MD5 0b445c8b4d8c4bbfe85aacf32436f253
BLAKE2b-256 d93d768af01f8d8ff6a3b6c349d8512f15807df98eb6da59e2da0b19e5f0d7e9

See more details on using hashes here.

Provenance

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