cf-setup
cf-setup is the first-party setup orchestrator for the Cogniflow Windows workspace.
It centralizes:
- module and profile definitions
- deterministic install planning
- PyPI vs local-build vs editable source decisions
- Windows prerequisite diagnostics
- delegated native or frontend build steps
- post-install hooks
- structured installation reporting
Typical usage:
py -3.14 -m cf_setup plan --profile core --format json
py -3.14 -m cf_setup diagnose --provider windows --format json
py -3.14 -m cf_setup install --dev --profile full --editable cf-pipeline-engine
py -3.14 -m cf_setup incremental --module cf-basic-io --smoke
The dedicated bootstrap entrypoint is cf-setup-bootstrap ...; it bootstraps Python and delegates orchestration into cf_setup.
cf_setup now supports two practical modes:
- repository mode: used by the local
cf_setupbootstrap and workspace maintainers - distribution mode: used when
cf installruns without a repository checkout and must rely on packaged manifest resources plus published package artifacts
For repository users, the recommended public-facing workflow is now pip install cogniflow followed by cf install --dev. Internally, --dev is a CLI alias for repository mode.
In distribution mode, cf install now also prepares the user workspace under ~/.cogniflow/workspace by default, initializes the semantics store files, and runs installed-step ingestion so the environment is usable immediately after setup.
cf install --run-demo in distribution mode now runs a small published demo from packaged cf-setup demo resources. The demo uses the same semantics-runtime discovery and ingestion framework that loads packaged ontology N-Quads and installed step packages into the workspace store, rather than a separate legacy demo path.
Incremental Development
The cf_setup bootstrap remains the hard full-reset bootstrap and demo gate when you need a repo-local entrypoint.
For faster local iteration, cf_setup incremental updates only the requested first-party module scope plus its compile and tooling prerequisites:
py -3.14 -m cf_setup incremental --module cf-basic-io --smoke
py -3.14 -m cf_setup incremental --module cf-package-contracts --run-demo
Key behavior:
- no factory reset
- no global uninstall of all managed packages
- same native toolchain environment as the full installer
pip checkstill runs- installed-step ingestion still runs when step packages are in scope
--run-demoremains optional and reuses the maintained semantics-runtime demo path
Publishing
cf-setup is prepared for the dedicated Windows workflow:
- Workflow:
.github/workflows/cf_setup_windows_publish.yml - Package directory:
sandcastle/cf_setup - PyPI tag:
cf-setup-v<version> - TestPyPI tag:
cf-setup-v<version>-test - Release order: publish
cf-core-cli 0.1.5first, thencf-setup, thencf-setup-wizard, thencogniflow
Local preflight:
powershell -ExecutionPolicy Bypass -File scripts/mimic_windows_python_publish_workflow.ps1 `
-WorkflowFile .github/workflows/cf_setup_windows_publish.yml `
-PackageDir sandcastle/cf_setup `
-PythonExe py `
-PythonVersion 3.14
Queue a dry-run dispatch:
powershell -ExecutionPolicy Bypass -File scripts/queue_windows_python_publish_workflow.ps1 `
-WorkflowFile .github/workflows/cf_setup_windows_publish.yml `
-PackageDir sandcastle/cf_setup `
-PublishTarget testpypi `
-Ref main `
-RequireLocalPass `
-DryRun `
-ReleaseTag cf-setup-v0.1.3-test
Metadata
Release files for cf-setup 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cf_setup-0.1.8.tar.gz | 93.0 kB | Without provenance | Details for cf_setup-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cf_setup-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for cf_setup-0.1.8-py3-none-any.whl |
Total release size: 162.9 kB
Release files / cf_setup-0.1.8.tar.gz
| Download URL | cf_setup-0.1.8.tar.gz |
|---|---|
| Size | 93.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b2bbb7f7815bc565930cd9922011486b436897ea40e08f0786806930da119654
|
|
BLAKE2b-256 checksum How to use checksums |
bd7da20d89f0f09d3a0bd1171ecfee187647b60badab6fa429847f44074ad6b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / cf_setup-0.1.8-py3-none-any.whl
| Download URL | cf_setup-0.1.8-py3-none-any.whl |
|---|---|
| Size | 69.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a95fdff4bd9dc8995020066c664d661cf94f53b8c5f5beaad6901aabb095d59
|
|
BLAKE2b-256 checksum How to use checksums |
7071705bb729204d7d452d04e523dfbafc609b8490835f110e9ed6d151800fdb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Security for cf-setup 0.1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.