Scripts
The scripts screen is a convenient way to manage Python scripts you are using in AMPS. The script screen has three sections, Scripts, Util, and Packages, which are described below.
Scripts
The scripts screen lists all scripts and their sizes for the current environment. Double-clicking a script opens it in the editor where it can be edited as necessary and saved using CMD or CTRL + S. The editor has Intellisense and Autocompletion for python packages. New scripts can be created using the plus button next to the grid. When creating a script, a script template can be specified, or a minimal script can be created. Additionally, the script list can be refreshed using the refresh button.
Util
The Util screen has all the same functionality as the Scripts screen with the difference being that the Util screen contains Utility scripts that should contain classes that should inherit from one of the base AMPS classes and contain reusable logic such that normal scripts can inherit from these classes as opposed to the base classes.
Packages
The packages screen lists all Python packages currently installed on the server and available to use in Python scripts. Scripts can be filtered using the filter text input at the top of the grid which automatically filters the grid as you type. New packages can be installed using the plus button to the right of the grid and the list can be refreshed using the refresh button. In each row, packages can be removed or upgraded using the corresponding Grid actions.
Last updated