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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

cyt_indexer_sdk-2.4.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-2.4.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-2.4.3-cp312-abi3-macosx_11_0_arm64.whl (6.8 MB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

cyt_indexer_sdk-2.4.3-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.4.3.tar.gz.

File metadata

  • Download URL: cyt_indexer_sdk-2.4.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-2.4.3.tar.gz
Algorithm Hash digest
SHA256 1c4363d0886dd0509a9f26457462f857d8ae28ff41dcfe353a5e8d59e1989569
MD5 9f710a30f50aa40fa9c0d850a2022bcd
BLAKE2b-256 f88871c62bdf18a64b4f33d7a4c17c2cc34b647b622a18e75e92fb236c3a1b4d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.4.3-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 92377ac4969075f4b39689618f2effbf89c934a6bf0879822db84d34b24746dc
MD5 c3bdd48b1e5fdd6c92c3b7cebc824288
BLAKE2b-256 fe727265ea0f2b862690df8f051d0dd9c32e0ecd061d1accee163ae6072fae32

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.4.3-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 28a089bc723b8bdf86e6249f49863587bef241dbe715bc418b8252d6171b8a8e
MD5 a9bc06fb33b76cee37d504d5ec900f95
BLAKE2b-256 db295280d7b944bc8e413a3bf1bff167411660c52121ed626b9914bf198d0b91

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.4.3-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a9954d67ed779b18f4cce4840baf017e692b85944335aa2b844693c526dd331d
MD5 6edb9ebe83de731ee759c1b22806ffe3
BLAKE2b-256 afd7043fc03cccf8a7784178229002328b8c36aea8eb50ee97c126d76e9f8b7d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.4.3-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b3808d070ea8c6fc7bb277beec7616832eecd8bc6a20dd338b3ab038b503c28f
MD5 a8d2f8d13708340d6cfd0fa1be1e335b
BLAKE2b-256 50845339df6ad92ae4e61efadbd6bd6a87bc54f1398bf66f0628f069c37fe690

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.4.3-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 40a15bfc7c8c8aa089a9785f9f9b2ef28aec5f31171663cd1a3a2939323ad4c5
MD5 d1c3a6f208bacfdc3bcf809a6b7acb89
BLAKE2b-256 cae9608aa400332196ff36666dab75c92fa7e363f63815e04700404e4ae686e8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.4.3-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 24921848b9163b4f069e684b9f9c8ea9585bd2644f63f009c976924106d36404
MD5 d6f72044b75955ff2cff2399e7b46751
BLAKE2b-256 a4434bb44dee27e8ec104a63b6547e9c935a18b72cd6203a8ddf6b660d9a7ae9

See more details on using hashes here.

Provenance

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