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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-1.0.4-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.4-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.4-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.4-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.4.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 edc4aadcf3ddf558be21ed0bd1cb60bfa5926568b51a502f0ee190b12ce85088
MD5 1652f6a620c01036d15b40dedbf906f6
BLAKE2b-256 6dc57c152d8554da285940c5d8d222d457a9644b1027c8b7359d83f7d08d46d0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.4-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 7c50bd6c425fdcd48f372bc3d3fa13e31c1aa523db6ce8404ee8bf2f28a198c0
MD5 0dfa3c06899307672da295a95333fb3d
BLAKE2b-256 535f3aa85cf8cee44286e09053c1bdb421d8ca17a0e3ab4b63bf437be8ed500a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.4-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2182cafa8c147e2cb52586db6cbe923575742cfc7ce0f1701d56218963638d1f
MD5 59d314997a8eb7273974e8bcff6f45b3
BLAKE2b-256 42c81b3ca23eddde6298ea6bdf815da987958eeb5ebb8f23472368e79773f6ea

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.4-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7f4167f116525065bcc51471a54a4014e757cda6e052bd22270bdd0e620a7f68
MD5 260f04f0fbd4cd93ef33647c1dc3befa
BLAKE2b-256 f4383513f1b4955bfa48f356a82ce596517c38e7589cc3b7799923640455bd48

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.4-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ab8ee2c574acaafa52f295f00f1b4d6761468cb148e3b047518902ece8c7bfae
MD5 3fb6db0bfbe37a7f5a8291c8f5e6610e
BLAKE2b-256 17a10552bd8616aab3b344a88a121debadebcec3a1959dbe6391311d8cf56ec2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.4-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 63abdf782005956664b3556a5039254f90deaa39bbb3206bcbe5847aa935fdc8
MD5 179471e0d5887b943ad4c6821fe1b740
BLAKE2b-256 68be37fb6c686c5e0506db2e4009ee8983517f3dcf8fb777b6cbca4c8389685b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-1.0.4-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 8144589d507d84738dd7b3383c926f56fc351f11306f33cae83376a986382e82
MD5 f383d79c11e458b27420354948ffb1ea
BLAKE2b-256 1dae74e8daad06c52080dcaaed7627238bf480955cf26b35c4a6b008db443ece

See more details on using hashes here.

Provenance

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