Package and Install
Audience: operator authors and platform teams
Status: Preview
Project-scoped operator installation is the reproducibility boundary for external operators.
Install through the public project surface
Section titled “Install through the public project surface”from ophiolite_sdk import Project
project = Project.open("demo-project")result = project.install_operator_package("python-operator/operator-package.json")print(result.package_name)print(result.python_environment_path)For platform-introspection and operator-authoring helpers, use the advanced namespaces rather than the main top-level package.
What installation does
Section titled “What installation does”- copies the operator manifest into the project store
- copies the entrypoint and standard Python support files when present
- creates a package-local
.venvfor Python runtime isolation - updates the project operator lock
Why this matters
Section titled “Why this matters”Installation is what keeps external code from becoming an untracked side effect.
Next: Testing and debugging