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.CFlowClientto 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cflow_platform-0.1.3.tar.gz.
File metadata
- Download URL: cflow_platform-0.1.3.tar.gz
- Upload date:
- Size: 36.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e2b9c384162574807827614c85b6d3e06ece5f1ec863236d7c4e14d4da0700d
|
|
| MD5 |
4a4a3f27ff96fd4f61457936f7970e67
|
|
| BLAKE2b-256 |
ef0ad76aac3d951b0050433ab6b7e8829705f8a4e288596ee7482bc41d3ffc61
|
File details
Details for the file cflow_platform-0.1.3-py3-none-any.whl.
File metadata
- Download URL: cflow_platform-0.1.3-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ea9be7944a63fb7e065cb27c3f4a625e3069d1d373897de5f35b3c717b16993
|
|
| MD5 |
4cbb684fca5c504aed79b5a7011e6a31
|
|
| BLAKE2b-256 |
ffebee9c408420b20afa6e684736e4896e287b6ba1c8eca6796d59e5f5ec3053
|