sanboxpython
SanBox Python Apps
Install and manage per-site-based Python apps and modules. This tool will provide a virtual multi-python and module manager for a website.
The SanBox python application can be managed by the UAPP control panel in a Multi python server.
You may need to set up Muti Python to enable this feature.
Eenos is the first control panel that provides the SanBox python application with an easy user-friendly deployment interface for hosting users.
This command line tool is a server administrator tool.
Command:
/usr/local/eenos/scripts/sanboxpython
Command Options:
Usage: /usr/local/eenos/scripts/sanboxpython <option> [value]
Command Groups:
Options:
-i <domain> <python version> : To install a specific python sanbox for a domain
-r <domain> : To remove the python sandbox of a domain
-ri <domain> : Re install python sandbox on domain
-pi <domain> <pips> : Install or Upgrade pips on domain
-pr <domain> <pips> : Remove pips from domain
Install SanBox Python On Domain
To setup a SanBox python environment on a website, use the following command,
/usr/local/eenos/scripts/sanboxpython -i <domain> <python version>
Example: To setup python 3.10 sanbox environment on a domain foo.com use the following command
/usr/local/eenos/scripts/sanboxpython -i fooo.com eenos-python39
To find all Python versions, you may use the Setuppython Tools
Remove SanBox Python from a Domain
To uninstall the python sanbox environment from a domain, use the following command:
/usr/local/eenos/scripts/sanboxpython -r <domain>
where <domain> is the website name.
Install Python Modules, and PiPs on SanBox
You can use this tool to install Python packages from the pip repository using the following command.
/usr/local/eenos/scripts/sanboxpython -pi <domain> <pips>
where <domain> is the website and <pips> is a comma-separated list of Python module names.
Eenos users can manage the Python modules from the UAPP Control panel interface.
Uninstall Python Modules, PIPs on SanBox
To remove Python modules from a SanBox domain, use the following command,
/usr/local/eenos/scripts/sanboxpython -pr <domain> <pips>
where <domain> is the website name and <pips> is the comma-separated list of Python modules.