Integration for PyCharm

The Trains PyCharm plugin enables syncing a local execution configuration to a remote executor machine:

  • Sync local repository information to a remote debug machine.

  • Multiple users can use the same resource for execution without compromising private credentials.

  • Run the Trains Agent on default VMs/Containers.

Installation

To install the Trains PyCharm plugin, do the following:

  1. Download the latest plugin version from the Releases page.

  2. Install the plugin in PyCharm from local disk:

image

Optional: Trains configuration parameters

If you set Trains configuration parameters (Trains Server and Trains credentials) in the plugin, they will override those settings in the Trains configuration file.

To set Trains configuration parameters:

  1. In PyCharm, open Settings.

  2. Click Tools.

  3. Click TRAINS.

  4. Configure your Trains servers information:

    1. API server (for example: http://localhost:8008)
    2. Web server (for example: http://localhost:8080)
    3. File server (for example: http://localhost:8081)
  5. Add your TRAINS user credentials key/secret.

image