sanboxpython
SanBox Python Apps
Install and manager per site based python apps and modules. This tool provide a virtual muti python and module manager for a website .
The SanBox python application can be managed by UAPP control panel in a Multi python server.
You may need to setup Muti Python to enable this feature
Eenos is the first control panel that provide SanBox python application with a easy user friendly deployment interface for hosting users.
This command line tool 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
Top find all python version , you may use the Setuppython Tools
Remove SanBox Python from a Domain
To uninstall the python sanbox environment form a domain use the following command:
/usr/local/eenos/scripts/sanboxpython -r <domain>
Where <domain> is the website name
Install Python Module , PiPs on SanBox
You can use this tool to install python packages from 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 user can manage the python modules from 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 he website name and <pips> is the comma separated lists of python modules.