.pcfplugin*import




python -m pip install "./pycforge_sdk-0.17.0-py3-none-any.whl[gui]"
pycforge-sdk-ui

pypython [gui] --upgrade

pycforge/crucible/landscape

python.exe Scripts bin/python


  1. *import
  2. *import your_namespace as alias

.pcfsetup


coverageSDK.coverage()


pycforge-sdk manual--json manual manual --topic apimanual --topic diagnostics

SDK() engine_python

fixtures PROJECT fixture-plan fixture-apply fixture-results PROJECT --case NAME

.pcfrepair repair

pycforge-sdk --json discover discover --location "/path/to/environment" discover_engines()pycforge_sdk workbenchSDK.workbench()

referenceSDK.engine_reference() fields PROJECT --function EXPORT SDK.authoring_fields(PROJECT, function=EXPORT) --offline

coverage coverage --profile crucible.text-declaration/0.1 --json data.coverage

/path/to/engine/python

pycforge-sdk --engine-python /path/to/engine/python connect
pycforge-sdk --engine-python /path/to/engine/python templates
pycforge-sdk --engine-python /path/to/engine/python new ./cube-root --author "Your name"

project.json

pycforge-sdk --engine-python /path/to/engine/python scan ./cube-root
pycforge-sdk --engine-python /path/to/engine/python preflight ./cube-root
pycforge-sdk --engine-python /path/to/engine/python verify ./cube-root --compiler gcc
pycforge-sdk --engine-python /path/to/engine/python readiness ./cube-root --compiler gcc
pycforge-sdk --engine-python /path/to/engine/python build ./cube-root --compiler gcc --output ./cube-root.pcfplugin

preflight ./cube-root --case FIXTURE_NAME

register ./cube-root.pcfplugin methodsdescribe ArrayFunction new --template TEMPLATE_ID template TEMPLATE_ID --package-id org.example.measure --namespace measure --rename cbrt=cube_rootnew--rename OLD=NEW --package-version

--json --jsonSDK_ARGUMENT describe ValueFunction describe TextFunction SDK_COVERAGE_PROFILE SDK_ARGUMENT


from pycforge_sdk import SDK

sdk = SDK(engine_python="/path/to/engine/python", cache="./sdk-cache")
result = sdk.templates()
if not result.ok:
    raise RuntimeError(result.to_dict())

for template in result.data["templates"]:
    print(template["id"], template["description"])

sdk.template("scalar-cube-root") sdk.customize_template("scalar-cube-root", package_id="org.example.measure", namespace="measure", exports={"cbrt": "cube_root"}) create_project(directory, author="Your name", ...)

sdk.preflight(directory, case=None)

Outcome ok



LICENSE