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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-1.3.3-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-1.3.3-cp312-abi3-manylinux_2_28_aarch64.whl (7.4 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.28+ ARM64

cyt_indexer_sdk-1.3.3-cp312-abi3-macosx_11_0_arm64.whl (6.8 MB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

cyt_indexer_sdk-1.3.3-cp312-abi3-macosx_10_13_universal2.whl (13.8 MB view details)

Uploaded CPython 3.12+macOS 10.13+ universal2 (ARM64, x86-64)

File details

Details for the file cyt_indexer_sdk-1.3.3.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-1.3.3.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-1.3.3.tar.gz
Algorithm Hash digest
SHA256 fbdcf0722fcc23ff334bc6a861143ab500031a7715e8a7c7c6d1ef3c700cef2b
MD5 9a5f927afb79cdc64ead48a5e77415c1
BLAKE2b-256 fe876d9fc02502d896b155efe17dfffb356a2be4174805480bc2997d3580cce6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.3.3-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 e507d85ba7bad3d564faf6c78ea75418d2c8db1fd73ff708db435a2c808fce75
MD5 8e2b09656454b6aa176112aba6b27ebe
BLAKE2b-256 c4cc9faefddb3703b85765217e277abb8191e740630bed716d6a7336d6c27c24

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.3.3-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 012d175aaff50d2e62f22b1f034264ab50796c5c28feb38fc5091ac90e158447
MD5 8f1ae33d0bf122417a73e62fbd113649
BLAKE2b-256 62804e5ca565951bda57aa695828a36a663a796679a9997f5f678849fc5660d9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.3.3-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 78cec1bd3bdb86565ba2e89f80ddacf39ba2da02fd41c69c59e8335ec4e156f9
MD5 d624c4dcd255c6c4ed25d9eeecb12d97
BLAKE2b-256 96a715a466595b854425ef28270d711b42cad666f55e9a1567016dcfe9a04f09

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.3.3-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7c096aeb4b0b6ea21a56a8bf55e71aa651f6f79b2cb7d020bcfcf151bc553f42
MD5 adbd3769df7157aee12c1532d419df18
BLAKE2b-256 cd091a66ead54f63e1b12d8fbe003ceff737981a62a74c5a012849326f35f7ee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.3.3-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a2818b2ccdb87d617e6b1a85ad0fc73982140437e7a37f5b028192a3412255b2
MD5 94ac3f8995e8908445c1955d661e46f5
BLAKE2b-256 b653060d57bd0d9550a176fd98f94fbc92fcda87a8ec10e83248dc930ceff52a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.3.3-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 441f031836360a5f47129412ef02235013cf4e4a5cbef5ccc8a61b01e03909df
MD5 89b22a795e1ad68e038c1fa14747e873
BLAKE2b-256 5e477e2826667b531a52d33ae7607bb4cb1b6ab713f9da4f7f826a8d3031f939

See more details on using hashes here.

Provenance

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