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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-1.0.9-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.9-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.9-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.9-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.9.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-1.0.9.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.9.tar.gz
Algorithm Hash digest
SHA256 764a7d892f77425babe1684b6f684c90771fd61c64ec9aa0888ebef42ccac0ad
MD5 6f623ec555e4b5fb9266d5d759858048
BLAKE2b-256 68e5e65c2049aa11eb0379ed168893c6e6ce438d6694dfc0b2b9371290d51ee2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.9-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 ad20b2425291642c207b0aca92ca29a0c05fb1a968c9f19dc70c71ed5bfa6494
MD5 bb0fa8e59321097c1404adbaed25a25d
BLAKE2b-256 f35d7002cb5a192ed66b2da9992e6bb4bf1e63eb7fcfb2293a3e7381d4ed41eb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.9-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 993fe6e35f6a9c6ec0f008b99d3f943bca83b8a160f4e98b44c1a1e4b93ece62
MD5 cf41a294c8d75c1d67c235918381b437
BLAKE2b-256 69cc84e67bac3a7d2bb36dc207f4d19b33b610329f02ea120d0fe3b14d1dfd23

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.9-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1d2abc4a9e783224ca3f2584bb6110f97b68b41a67762b2831afd1971d94f70e
MD5 962b38c562fce4dda60338466c4a88a3
BLAKE2b-256 9cb450bcc22894a22c80becbff33c4a5e8dbdf6d7ba9a6fed9a57495b7d98c6d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.9-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b0c64369c703732ea0203e104909ec5954d31753d561f15a1aafd6250d14e8e8
MD5 7f78dc09f501697665c6f6a2374c59c1
BLAKE2b-256 ab54efe8616498312762adb2110d51e21b23b802bfedec93a93ed3f66974638e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.9-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 92193df95f2729cd711b136b2e1d96bb5c837210faafc363bd9c0c1d556afc5b
MD5 d807edfa3adb68cfe6b03f509244713b
BLAKE2b-256 5da58346717e0a737e7edc647472d65f8dd09015ff67e784d91d173e707c664b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.9-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 0672c5ebe07d8c6d7ef32f0f850d710e10f72bbc77c72595e548238dfced4a1a
MD5 4f91520e14f0d1161d7613cca50b22e7
BLAKE2b-256 2afe3f72dc15ca5063ebc800518603518c805675b97995b893fcb491612896cf

See more details on using hashes here.

Provenance

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