Skip to content

boolsee/pot-sdk-doc-4-wordpress-test

 
 

Repository files navigation

ARGOS-Labs POT SDK on Windows 10

This guide shows how to develop a plugin using ARGOS POT (Python-to-Operations Tools) SDK.

Prerequisites

You need to install Python Interpreter and IDE

You need to install Python 3.7.3 32bit on Windows 10. Once you installed this interpreter it's enough to use this.

ARGOS POT SDK consists of three parts as follows:

Item Minimum version Role Description
alabs.common 3.721.1350 SDK library Library for SDK
alabs.icon 1.711.2351 icon utility This utility make plugin icon
alabs.ppm 4.115.1700 POT utility POT main utility

You can install one of Python IDE

  • PyCharm Community Edition

How to build a ARGOS Low-Code Python Plugin

This guild shows how to build ARGOS Low-Code Python Plugin.

Everytime before starting you need to prepare base folder from template and need to set configuration for PyCharm IDE. You can download a Template folder in which there are several files including

You need to set settings at the first time of after preparing template.

Coding for plugin

Next Guide shows how to code from the scafolding template.

You need to change python package name from argoslabs.demo.helloworld to argoslabs.myplugin.asciiart for example.

When you make your own plugin you need to install third party dependent modules from pypi.org. This guild shows how to do for this topic.

Plugin's main code is made from the source, argoslabs/myplugin/asciiart/__init__.py.

Every code need to be tested as much as possible. And package name like argoslabs.gourp.plugin_name and STU's Icon display name must be unique. This guild show you how to test plugin with unittest and check to have unique name.

Before building plugin you have to set tags and version for that plugin.

Each plugin must have a usage help so that shows this contents at STU link. This guide shows how to make this help contents.

Build plugin

Now that everything is ready for build. Let's build.

After building a plugin you need to upload this plugin to your own Python private repository. This guide shows how to install private repository and configuration at Supervisor.

You have to prepare an image and make an icon using alabs.icon utility and then you can build this plugin with build.bat batch file.

After making plugin

Once you build your own plugin it's time to make a bot at STU for testing. And you may need to upgrade the plugin if needed.

Now your plugin is registered at private repository so you can make use of this plugin. This guide shows how to make a bot using your plugin.

Because plugin is a normal software it need to fix or upgrade if needed. This guide shows how to upgrade your plugin.

About

ARGOS LAB's POT SDK Document

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published