Skip to main content

sanboxpython

SanBox Python Apps

Install and manage per site per-site-based pythonPython apps and modules. This tool will provide a virtual  muti multi-python and module manager for a website .website.

The SanBox python application can be managed by the UAPP control panel in a Multi python server. 

You may need to setupset up Muti Python to  enable this feature.

Eenos is the first control panel that provides the SanBox python application  with an easy user 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

TopTo find all pythonPython versions, you may use the  Setuppython Tools

Remove SanBox Python from a Domain

To uninstall  the python sanbox environment formfrom 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  pythonPython 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 comma-separated list of pythonPython module names.

Eenos userusers can manage the pythonPython 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 comma-separated listslist of pythonPython modules.