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

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

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

Uploaded CPython 3.12+macOS 11.0+ ARM64

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

File metadata

  • Download URL: cyt_indexer_sdk-2.0.1.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.0.1.tar.gz
Algorithm Hash digest
SHA256 acccd007fd69b80936f5b757af0ada3c1d3065c4858b87a944c24d8e02789275
MD5 a88b7ad0fe0c0cfcda95a33769094852
BLAKE2b-256 7c99aa76b095ec39b49cdb34f99129b55617b748179b04846709e9bd053e1673

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.0.1-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 a6f79263474fd9a313c13217228ec30820848536c61c0711f8108ee7b0ef758d
MD5 2c928fafa8e5246572b7e44070ed165b
BLAKE2b-256 70762eeacdb6e264deed5d45ccb1dec723d5cf7deb5fc92d86d114dcb95f4bdf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.0.1-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2cc575645c559a1ed462a73597c5bb42f637f9497e45647ff8e5f41fc2371ffe
MD5 6be586bc0fc94689a7004f2d92de3079
BLAKE2b-256 f6249222b7b5703ad63feb7bd202e8a77a8c95e2a7332ae31dda3c313c81f2f4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.0.1-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ec7ef3a93225dbc3474df6e75d1f62a9544270463fd4ec46379b67883f75a23b
MD5 f325a557cc220c1ea584e76864606c2e
BLAKE2b-256 362352037cf2eb975fb09083d9f1f19dbfb4e1a272527aaa5d84afff9ab11ae0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.0.1-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bf6830873564492c379e859d12680870ff15716fc426ee9123ebb8fff16d349d
MD5 8913521e9a7c0e4245e15e462a5cb6d8
BLAKE2b-256 a32c7681d904dbf65c55319aea654026c6d861b75564a009a50a02343447e3d8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.0.1-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6588b6eaf4d678cd00dff340e0aee449402f2a73549ade3a6992f71cd50f285e
MD5 627201a4c409ab63910f56c5d5b2fac2
BLAKE2b-256 27417936a273c24e860dc7d961b664cd1429f23214f9a4c8dba7087300fbc525

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for cyt_indexer_sdk-2.0.1-cp312-abi3-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 8ced7b40827bdabf4ddcc4125f90686c210dfebbcfd9ff572f3e53118d3923ca
MD5 a0d25be5bcc9c2bc7ef3b267c0a8c05c
BLAKE2b-256 d134283a3aeb2efc24ab3c66fd6f5f10a00356bf3152c807926a557f75d24766

See more details on using hashes here.

Provenance

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