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.6.tar.gz (48.5 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.6-py3-none-any.whl (32.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cflow_platform-0.1.6.tar.gz
  • Upload date:
  • Size: 48.5 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.6.tar.gz
Algorithm Hash digest
SHA256 e7e825924d10babc6fe452f093abace301cb9e457d30e6a4c61534e0bf6e27db
MD5 7235fe1269dcda06e69cba4de9121b77
BLAKE2b-256 6468251d549ce987035066037d9c0798b26f870ef82c0f76a1650dc8a06d1cf5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cflow_platform-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 32.8 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 2ccdb72d3aec87cb414037cda2587f03e3bf9781bb83fbe30e6bbe6b1f6c57bb
MD5 facf261bdeb865aad2dd79c9fcc98a48
BLAKE2b-256 6f42a6da234b7c8fa7190478dc87c7ccae6002f4c7895a8671954c7290337c23

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