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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-1.0.2-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.2-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.2-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.2-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.2.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 082de5044af1fa0cda7db4049a3e90492e80007280a511433bac8b14c9a44bb0
MD5 fb859d6b92c4bd611e87ee965e4f1577
BLAKE2b-256 d4b0282d531ea5aa0f31740bc7f3d39ca50d8ba589596254b24aa0f9334d0f3a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.2-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 530137bed6ba1c337cc4ff9ffe86b236022222a04d32434410449ab63109d527
MD5 8c87f111b00d912e6d00e88cf88d84ba
BLAKE2b-256 c3f84beb4091aabafd32e6e63f79206cc8ad70a32bfcc420a4e55df5f2b4dd46

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.2-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e72dc81ed6f1151424de2e30a9e8b0a9d089687230680da07551dd7890ce0e91
MD5 428460fa133f9c7eb71140c2b0db0920
BLAKE2b-256 ea5bc69569ba133247a7ff357aa496832a88c5bb692add8623ec485d8c0f43d4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.2-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ef7978ec3e05a00b839a55df2087373da25ad753f4d38133e1c477617df77559
MD5 71d6d537e6ffcbd59a104157330f3803
BLAKE2b-256 43e3e5a2b45ec2bfac8c5ab3a0f58be3846a6b7ad050954e4bf9d572122f131b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.2-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7722382bc4f7d59479fe700572f3125abf3cc17a8f454377189f3782e6e158bc
MD5 7fd7eaab397a31e3eadccd6b7bd355d4
BLAKE2b-256 7427b0585620cae14637884d15c3274abd149fae348415cff299d200937e8f02

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.2-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 325f6113033b5c305a0bfe9295ad60fdf9496d011b777af7ff2f422bf32b4f20
MD5 96d25a11d8a5c1a40270907890e3957a
BLAKE2b-256 703a288cd9efda820d497522316d4235512fcacfebe3d95b6cccdcc550109b59

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.2-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 c86a828523b2cd497cc037b764ee293159c2f67636d6fbf0b210685ed9bc69ad
MD5 8ed866823bb87e70ef65efffb0579a4c
BLAKE2b-256 53343d85d6a9b26e64827988645c9728c80d86541a4ec09e0e1e503f270089fd

See more details on using hashes here.

Provenance

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