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.2.tar.gz (36.0 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.2-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cflow_platform-0.1.2.tar.gz
  • Upload date:
  • Size: 36.0 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.2.tar.gz
Algorithm Hash digest
SHA256 15c34eab45da7edbb0983bd682c564667258374afb98abbf8a44caf883fd87bd
MD5 a702068436d7f9aad79e309c0d830325
BLAKE2b-256 26fb067cdf3fc770d2363870cdee1d54813759d77c0aab91fec0a15ba6caf93b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cflow_platform-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 25.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 badea9c3eefccf8abc7bb315048ad1a72b8d16af1c9be97ce81c045803fc5ec3
MD5 59e712eb28de4ec7d004507cbab6d46d
BLAKE2b-256 f2c799c4ee25df4edc084e504e4e63bc57f7e43de7db7a583a691f2b1b780048

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