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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-1.3.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-1.3.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-1.3.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.3.0-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.0.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-1.3.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.3.0.tar.gz
Algorithm Hash digest
SHA256 ec5d0f7fb5637ae3a9d5b8277f0642e102dbd70b29674fb303941780867216cc
MD5 8d2ada035fc573425ddf5e47ee23b49e
BLAKE2b-256 a5cf57cb01a6b1e38ca3813792e9b8d022faa5587694fad8f4d9a4490d0b8b2d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.3.0-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 8bc8760fb992a8a0d3082515955c00c166d84b147d452c5b202e3c61bfc8df64
MD5 e78675645f0fc2e7541cfd3d89759a4b
BLAKE2b-256 c29e4acd95708ca313737803562dda864e2ecbbefb97290ab7055e299b05aa5a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.3.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 dae91aa5a1900d5072ec696b6889eb63251933d0d2a71230580f29d2a3f1cefc
MD5 cf07959a00418b07b1aae9e1c84be43c
BLAKE2b-256 074e2ebbb0143cc4f3225b74e4b7c13c72636de3afba5a71c8e4f4b3e4d64fee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.3.0-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9a0be53f4adb5499334c88a1b9d6ed496b57eeaebd901fe764c698c686f4d45a
MD5 07133e591ca45cbc588eb89759dd68a4
BLAKE2b-256 837bf1d619817c6a43f074459a5737930a4cc7c83de003f97b026c3ac79602bb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.3.0-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0217b6ef6eb28fc67a719f948e982ffce0e29d96d9f63230c4bb334e1b4fffe8
MD5 b0aaf0236d0c57d0b01942e724d56d49
BLAKE2b-256 fae768e12bc8c88b5dd30dc655cf7012502636efc37574184a659b7f324bccc5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.3.0-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b46472c2c50dac5f74a9274d3c9442f88d8f5e89427a236e0ff890706f2385c8
MD5 43ba7294103f7b5cef9d796229a9b927
BLAKE2b-256 aece64ac3852b0a3628b0ea677e2ba23a286f99ebd3fc439fe5d814af16f5842

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.3.0-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 11dac4bd47b45b6eaa8d68f27ebfd62e81750e1e3e23c4529a2d8de4c5bcff8b
MD5 16c5967d1307f28fcbdda511b8083d98
BLAKE2b-256 997c9fd4934d59aba386c843e1823902da8f7549e24149425089b6ae8b8e5905

See more details on using hashes here.

Provenance

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