AMPS
  • What is AMPS?
  • Getting Started
    • Installation
      • Docker
      • Kubernetes
        • Local
        • Openshift
        • AWS
    • Setup
  • Fundamentals
    • Admin
      • Monitoring
        • Message Events
        • Sessions
        • Service Monitoring
        • System Logs
        • Audit Log
        • Consumers
      • Onboarding
        • Groups
        • Users
      • Message Configuration
        • Topics
        • Actions
        • Services
        • Scripts
        • Templates
        • Routing Rules
        • API Endpoints
        • Metadata Fields
        • Keys
        • Jobs
      • Data Configuration
        • Providers
        • Environments
        • Packages
      • Tools
      • System Configuration
    • End User
      • Mailboxes
      • Universe File Agent
      • Auth Tokens
    • Python
  • Use Cases
    • For Engineers
      • GitHub Integration
    • For Support
      • Intercom Integration
  • Guides
    • Creating your first project
    • Creating your first task
    • Advanced permissions
Powered by GitBook
On this page
  • Scripts
  • Util
  • Packages
  1. Fundamentals
  2. Admin
  3. Message Configuration

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.

PreviousServicesNextTemplates

Last updated 2 years ago