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.1.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-1.1.0-cp312-abi3-win_arm64.whl (6.6 MB view details)

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

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

Uploaded CPython 3.12+macOS 11.0+ ARM64

cyt_indexer_sdk-1.1.0-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.1.0.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-1.1.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.12

File hashes

Hashes for cyt_indexer_sdk-1.1.0.tar.gz
Algorithm Hash digest
SHA256 63fac3f04eb5e6ac25b70f0ae7959f8617d191b3c58a6c644a9988acd281e76c
MD5 d849ff2e62e43547479beb974fcfe406
BLAKE2b-256 037c969ac299aace135a25ddfa7dc44c286ab6e506f184af4f3ecd0d80475a8d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.1.0-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 5f61a99eb702e806f40fb63f85456836d21bccc13f4117d244d12c78bc949b24
MD5 6ae8079e24d7f8b549ef919c01182d56
BLAKE2b-256 e95906a353e7d752566db02e398be36ac4931251236ee1e00fdb0543df38720d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.1.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 bca2385a5111c997dcf2eb1484829b11748a6e5a1fc9f642f82e512bbe8bc886
MD5 cd114ec9cac1e50219a3fc1881ce8b50
BLAKE2b-256 794c8a89352cffdb4a158a7a02782a7841d68872fa030a10a5efd3d24294ca3a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.1.0-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fc8d6097094da8f1d53049c654fb28d0dce32993b95b348ea75836e3ce43f16f
MD5 32945a8ccea35525dd26064aeff50ea2
BLAKE2b-256 52a629498e759704b2b57f724a83567f9927e1172b860c6fefab5c528fc01ef0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.1.0-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ca996675e884137a69f205edaf0e86c112590e1f3f6f6c42d75dd82d9378c6ac
MD5 faf674300e8878ff6a6c0f7a0ad994a0
BLAKE2b-256 ad0cf5338a5dd425e3e18f53b1e562f30f28ddeaef13b6d7d5b95d8d30345390

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.1.0-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0a311bbca991fce35204e39710a9fa872baf82f44833e0c018510e2f3448d5d5
MD5 76b19b51823228823f1aa9ef94765d9a
BLAKE2b-256 baa1b3397646d7ef29688bd5094c6f9059395b272fca1358056719c4512a4456

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.1.0-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 317f7a29eafcabe4f7c6961572900c2f9eb32bf56a10e9c84a2515be4852c642
MD5 0875c27eadd87b2fbbc514134aa72046
BLAKE2b-256 b179d2b6c8ac76c9c9ac25b43d77394a818cc9bff21069345ee2331f8b960e7f

See more details on using hashes here.

Provenance

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