Skip to Content
Browse documentation

sanboxpython — Command Reference

Manage a domain-specific Python sandbox and its application packages.

Manage a domain-specific Python sandbox and its application packages.

Requirements

Run as root on the Eenos server. An existing domain with valid account ownership and an installed compatible Eenos runtime. Replace RUNTIME_ID with an identifier from the corresponding setup tool. Preserve the installed sanbox spelling.

Usage

The following example uses the operation described below; replace example identities and paths before use:

/usr/local/eenos/scripts/sanboxpython -i example.com RUNTIME_ID

Arguments and options

SyntaxMeaning
-i, --install, install DOMAIN PYTHONCreate a domain sandbox with the selected installed runtime.
-r, --remove, remove, del DOMAINDelete the domain sandbox.
-ri, --reinstall, reinstall DOMAINReinstall its configured sandbox.
-pi DOMAIN PACKAGESInstall or upgrade Python packages; package expression is one argument.
-pr DOMAIN PACKAGESRemove Python packages; package expression is one argument.

This uses a positional/legacy parser. Choose one operation and keep its value order. Do not assume argparse-style --option=value, option combinations or --help support.

Operational effects

Creates, reinstalls or removes a domain environment and can install/remove application dependencies. Removal deletes the sandbox directory; preserve application data and dependency definitions before removing or reinstalling.

Pass a package list as one shell argument when the interface expects one value. Use trusted package names and simple domain/runtime identifiers; these legacy helpers assemble shell commands. Review dependency compatibility before upgrades.

Verify the result

Verify the domain environment, dependencies and application behavior after the operation.

Check operation output and the relevant service/application state. Several legacy wrappers exit successfully after logging a handler failure, so a zero shell exit status alone is not proof of completion.

Back to Runtimes & Sandboxes · All command-line tools