ARGOS POT SDK

Download and install Python SDK

The 5 Templates And 3 Utilities

What you need: Python 3.9 and PyCharm

Your Python program (sample API code, OSS, or your original Python code)

Template 1:

requirements.txt → define referenced resources

Template 2:

at __init__.py → design your parameter input

Template 3:

at __init__.py → design the main program body

Template 4:

test_me.py → run unit test at the Python level

Template 5:

setup.yaml → set attributes for search on STU

Utility 1:

alabs.icon → design the plugin icon from any graphics

Utility 2:

build.bat → prepare upload-able package (.whl)

Utility 3:

Preconfigured Test Repository

Useful Rules To Keep In Mind

To avoid errors that we see frequently

  1. Always start with “argoslabs” like argoslabs.anyname1.anyname2.
  2. Package name must have three levels like argoslabs.anyname1.anyname2.
  3. You can only use lowercase of a ~ z and underscore (_) for the package name.
  4. Package name must be unique (Don’t worry – there is a checking mechanism when packaging).
  5. Display name must be unique (Don’t worry – there is a checking mechanism when packaging).
  1. You must declare platforms like [‘windows’, ‘darwin’, ‘linux’].
  2. Set proper keywords.
  3. Set proper platform.
  4. Set version like 1.2.3.4 (Do not start the section with 0, i.e., 1.505.0935 is not allowed.
  5. Do not forget to enter the proper package name at package_data.
  1. Design input and output to be user friendly.
  2. Print out to STDOUT with a good result. The Return Value can be used as String, CSV or File at STU.
  3. Design with good exception handling and Return Code. The Return Code can be handled at STU.
Scroll to Top