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

Uploaded CPython 3.12+Windows ARM64

cyt_indexer_sdk-2.4.0-cp312-abi3-win_amd64.whl (6.9 MB view details)

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-2.4.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.4.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.4.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.4.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.4.0.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-2.4.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.4.0.tar.gz
Algorithm Hash digest
SHA256 a555eb1f86f4ee5547716c21857162b3203dc51b3a3d8242c9632d0ded296e74
MD5 25a5daf47a2f68abb1f843faade99731
BLAKE2b-256 1238f134ce13933206b41591c3d967e72219d08f1e32d58f721b7d8f45ffd0e7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.4.0-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 8608fbc8795fe793d394c493dd57ac7f0991addf7851eb0d076970eebe8ffdd8
MD5 030609e300277e403fa37277bf38f9e9
BLAKE2b-256 9df72465b04bf7a0f60bf6c4c18ae47ce11968cc4b4a89dd6d6c839a67d70702

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.4.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e030d1aadc28f375d9e6f07717991ea7d5cdf10760a1e197c84cd85b0c9671f1
MD5 e56c9cee3087f534766cf21ac570ab30
BLAKE2b-256 78bad7395b9f30c4e413def1d244b8dadf8c0859514883571ee480724feb0621

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.4.0-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7643270de859332618414f617da32424f24a49dfd4a0ab1b8da9809e1b441fa8
MD5 708750be2351386bee2952465098e4e5
BLAKE2b-256 c43ad0fd95a950e71753654acc767d6cf445e33384ec1a36feeb0cde41ea4885

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.4.0-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ac76ec817ccab3062cff9be00942374e3f7a86f9872f8caecc85adfa3153b87a
MD5 b2a2e284a07806720b540e6fb3ed75b4
BLAKE2b-256 c4331fde932c74ee07229cf9d436949e0095e8e2b4d7087763da655246eb4759

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.4.0-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 078340fbcb4072cc463f9f20eff9a1ec1d2cb4045c3c080248500ea98deb83ed
MD5 054bd825de1ed6080f128b57e8f5d84f
BLAKE2b-256 368f1748468d71d450617be15a8ed225424bd8f72cbac48ed8b9da318c4b06de

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.4.0-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 d72d7763676709607ec47f1542dbc84f19f6270c440b83bcd1a445b0b8116aca
MD5 c65672a1107292f1332d0c636ddfe054
BLAKE2b-256 0266980cf2700adc479ca9f67af333d473dbbbf02bc9d40821fed62bedcbb79b

See more details on using hashes here.

Provenance

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