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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

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

File metadata

  • Download URL: cyt_indexer_sdk-2.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.14

File hashes

Hashes for cyt_indexer_sdk-2.3.0.tar.gz
Algorithm Hash digest
SHA256 6043e49bb896d69b70a8cfbc69daba12ec139aa0e4dba912afebb078c12dff29
MD5 a077ed395c14f2d6c91ca66e1066cba4
BLAKE2b-256 f38990fc613e127900ff637917a84b937c46376b3d0f6194b86f218f82c1fd8c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.3.0-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 41e4f9f3d9b950bb7ec0eedab932e9a0092b1c65fe2c862b66f3643f2a42861e
MD5 cd085e000de947f8f88d385108d6769e
BLAKE2b-256 3a7b8c40ad600b230e3d594207d112c13167515255ae6ffe8cf5728960cf0302

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.3.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 bc4fc2b448bfc23c6b2189d92c95215617cca6b5fe847f044435d61fa563232c
MD5 5b99e994f29365ddefd9cad12a3e8252
BLAKE2b-256 843d9f870e816faa07823e131067431c74528eb3695abfaa61515bf46d97677a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.3.0-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e56ab3eaefc332ac08c96ae34b7a0f0d77a3212a6545ff116f47abe8b2a7acec
MD5 fe6c2e75bd1b3c3683bcea4e34459f4f
BLAKE2b-256 bdc829eb7dfa15097b63815a548ab3c4aed62a9290a9fe53faa1498c9a86aab4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.3.0-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 983117a9c602e6ed744fa3f3572871efb303b259749e70cddeadd3c9dd345c92
MD5 1898623bfc3387a072ed04baf2269ed8
BLAKE2b-256 cfbbfb12e57e97c650fd418dc17bb3083393cdab767b030ddeb5fce11392ca68

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.3.0-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8790533c745b0c3c5279c29278714bf49f72f0b9039ff288939cc754a9b32b04
MD5 1a6c4845e3dd7eb1829fed56b8b8e3c4
BLAKE2b-256 793d817c9f93afc708a2dea5746e4346c4a60380528c1e28e14593adfca96ab9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.3.0-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 fba3f6000dcc4c814b745baab1b330bbbcccaf0fd700f618ee18f986945f2a3b
MD5 ec950e25c6a00dbf28c924d2bb7f4ef4
BLAKE2b-256 2a777370d9f7038f174434f82a7ddbcea8523293c1fb407ca5ca93e40c071ecb

See more details on using hashes here.

Provenance

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