Skip to main content

CFlow Platform (Phase 1 wrapper) for MCP public API, env verification, and hook installation

Project description

CFlow Platform (Phase 1 Wrapper)

This package provides Phase 1 wrappers to allow early consumption of CFlow APIs before the full repo split.

  • Public API: cflow_platform.public_api (proxies to monorepo .cerebraflow/core/mcp/core/public_api.py)
  • SDK: cflow_platform.sdk.CFlowClient to execute MCP tools
  • CLI:
    • cflow-install-hooks → installs enterprise git hooks (delegates to repo script when present)
    • cflow-verify-env → verifies required env keys per operation via the monorepo verifier

SDK Example

import asyncio
from cflow_platform.sdk import CFlowClient

async def main():
    client = CFlowClient()
    result = await client.execute_tool("sys_test")
    print(result)

asyncio.run(main())

Core API (Phase 2)

from cflow_platform.core.public_api import get_stdio_server, get_direct_client_executor, safe_get_version_info

CLI Examples

# Verify environment for migrations + ragkg + llm
cflow-verify-env --mode migrations --mode ragkg --mode llm --scope both

# Install enterprise git hooks (delegates to scripts/install-enhanced-git-hooks.sh)
cflow-install-hooks

Notes: In Phase 1, this wrapper delegates to the monorepo implementations. After the split, these entry points will target packaged CFlow modules directly.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cflow_platform-0.1.5.tar.gz (36.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cflow_platform-0.1.5-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

Details for the file cflow_platform-0.1.5.tar.gz.

File metadata

  • Download URL: cflow_platform-0.1.5.tar.gz
  • Upload date:
  • Size: 36.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for cflow_platform-0.1.5.tar.gz
Algorithm Hash digest
SHA256 9146b4f31d86f706fab0a7fb99ee92ba74cd53f0f471b350cbf9f98d53ef504c
MD5 72ac1bf863e4929188f9f9e594cd4137
BLAKE2b-256 38d3889eb45069bded778ff592b16ca99fc676c18d499260c3a8a1b281627901

See more details on using hashes here.

File details

Details for the file cflow_platform-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: cflow_platform-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for cflow_platform-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bb8939eacd14607cc311a5764ddd7fcc2db1a778b5c8cab882c09f5d641f5a63
MD5 9d776a4adf1cd1736f214997a89d3145
BLAKE2b-256 930d45ea604913c14e05d83aa676e75ab7d90ba6a234de7e3420c56ad582f7ad

See more details on using hashes here.

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