Ontology-derived IRI website generator primitives for Cogniflow
Project description
cf_iri_site
cf_iri_site is the dedicated build-time package for the Cogniflow ontology-derived
IRI website generator.
Current slice:
- build a normalized entity model from the installed ontology-read provider
- derive deterministic internal routes from canonical hash IRIs
- derive relation groups and incoming references from RDF predicates
- derive deterministic primary breadcrumb metadata
- render static HTML entity pages and ontology-derived index pages
- export machine-readable JSON artifacts alongside rendered output when requested
Implementation notes for this slice:
- importing
cf_iri_sitestays lightweight;build_entity_modelis exported lazily so isolated helpers do not pull ontology provider implementations transitively on package import - renderer display choices such as relation section labels and chip tones are centralized as UI policy; ontology content still comes from the normalized entity model
- primary breadcrumb selection is governed by an explicit ordered policy: package membership for CF entities, then property domains, class superclasses, concept broader/scheme, then defined fallbacks
Out of scope in this slice:
- release-repo transfer into
cogniflow/cf/ cf_webfrontend integration
Open points retained intentionally:
- final rendering stack
- release workflow details for cross-repo publish
- final index-page set beyond the machine-readable export surface
CLI example:
cf-iri-site export --output entities.json --routes-output routes.json
cf-iri-site render --output-dir site --json-output site-json
cf-iri-site sync-release --site-dir site --target-repo ../cogniflow-public --target-subdir cf --dry-run
Planned publish workflow contract:
- the public target repository identifier is supplied by workflow input or repository variable
- the SSH deploy key is provided through a GitHub Actions secret
- the generated site is mirrored into the target repo subdirectory
cf/
Publishing
cf-iri-site now has two separate release workflows:
- PyPI package workflow:
.github/workflows/cf_iri_site_windows_publish.yml - Site-sync workflow:
.github/workflows/cf_iri_site_publish_to_cogniflow.yml
PyPI package release metadata:
- Package directory:
sandcastle/cf_iri_site - PyPI tag:
cf-iri-site-v<version> - TestPyPI tag:
cf-iri-site-v<version>-test
Local PyPI preflight:
powershell -ExecutionPolicy Bypass -File scripts/mimic_windows_python_publish_workflow.ps1 `
-WorkflowFile .github/workflows/cf_iri_site_windows_publish.yml `
-PackageDir sandcastle/cf_iri_site `
-PythonExe py `
-PythonVersion 3.14
Queue a dry-run PyPI dispatch:
powershell -ExecutionPolicy Bypass -File scripts/queue_windows_python_publish_workflow.ps1 `
-WorkflowFile .github/workflows/cf_iri_site_windows_publish.yml `
-PackageDir sandcastle/cf_iri_site `
-PublishTarget none `
-Ref main `
-RequireLocalPass `
-DryRun `
-ReleaseTag cf-iri-site-v0.1.1
Project details
Release history Release notifications | RSS feed
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 cf_iri_site-0.1.1.tar.gz.
File metadata
- Download URL: cf_iri_site-0.1.1.tar.gz
- Upload date:
- Size: 39.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b06a681592cc64be2961598e53acdf50c472ac80fddc362a9d968f0083b51363
|
|
| MD5 |
0f202765c71d52a8cbbb629024a808bc
|
|
| BLAKE2b-256 |
5d0f3de3f0865f15914bb11a62a1b51ef39846b022523c5ff4d1341f2806edda
|
File details
Details for the file cf_iri_site-0.1.1-py3-none-any.whl.
File metadata
- Download URL: cf_iri_site-0.1.1-py3-none-any.whl
- Upload date:
- Size: 30.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9adb8c3079048cb0e760f690b8224705b23e136297ba65314face541f4e31d6
|
|
| MD5 |
29d427f4ea979ced10dd93db3e83c298
|
|
| BLAKE2b-256 |
363c7355de4f65ffc101768dc97093b8613857000616f595d8eff3a8aeab60e4
|