-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
155 changed files
with
1,302 additions
and
1,859 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
# 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 | ||
|
||
### [Install Python Interpreter](Install_Python_Interpreter_Windows10.md) | ||
|
||
You need to install Python 3.7.3 32bit on Windows 10. Once you installed this interpreter it's enough to use this. | ||
|
||
### [Install ARGOS POT SDK](Install_ARGOS_POT_SDK_Windows10.md) | ||
|
||
ARGOS POT SDK consists of three parts as follows: | ||
|
||
| Item | Minimum version | Role | Description | | ||
|---|---|---|---| | ||
| [alabs.common](https://pypi-official.argos-labs.com/#/package/alabs-common) | 3.721.1350 | SDK library | Library for SDK | | ||
| [alabs.icon](https://pypi-official.argos-labs.com/#/package/alabs-icon) | 1.711.2351 | icon utility | This utility make plugin icon | | ||
| [alabs.ppm](https://pypi-official.argos-labs.com/#/package/alabs-ppm) | 4.115.1700 | POT utility | POT main utility | | ||
|
||
|
||
### [Installation of PyCharm IDE](Install_PyCharm_Windows10.md) | ||
|
||
You can install one of Python [IDE](https://en.wikipedia.org/wiki/Integrated_development_environment) | ||
* `PyCharm` Community Edition | ||
* `Visual Studio Code` and Python extension | ||
> We shows `PyCharm` capture examples in this document. | ||
## How to build a ARGOS Low-Code Python Plugin | ||
|
||
This guild shows how to build ARGOS Low-Code Python Plugin. | ||
|
||
#### [Download template](Download_Template.md) | ||
|
||
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 | ||
|
||
#### [PyCharm settings](PyCharm_Settings_Windows10.md) | ||
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. | ||
|
||
### [Set package name](Set_Package_name_Windows10.md) | ||
|
||
You need to change python package name from `argoslabs.demo.helloworld` to `argoslabs.myplugin.asciiart` for example. | ||
|
||
### [Install dependent module](Install_Dependent_modules_Windows10.md) | ||
|
||
When you make your own plugin you need to install third party dependent modules from [pypi.org](https://pypi.org). This guild shows how to do for this topic. | ||
|
||
### [Main Coding at `__init__.py`](Main_Coding_Windows10.md) | ||
|
||
Plugin's main code is made from the source, `argoslabs/myplugin/asciiart/__init__.py`. | ||
|
||
### [Testing and Unique name](Testing_Windows10.md) | ||
|
||
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. | ||
|
||
### [Tags and Version](Setup_yaml.md) | ||
Before building plugin you have to set tags and version for that plugin. | ||
|
||
### [Usage help with README.md]() | ||
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. | ||
|
||
### [Preparing private repository]() | ||
|
||
After build 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. | ||
|
||
### [Build icon and plugin]() | ||
Although normal python CLI program do not need | ||
|
||
## 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. | ||
|
||
### [Test a bot at STU]() | ||
|
||
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. | ||
|
||
### [How to upgrade plugin]() | ||
Because plugin is a normal software it need to fix or upgrade if needed. This guide shows how to upgrade your plugin. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+497 KB
Captures/01-Install_Python_3.7/03-download-executable-x86-installable.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+329 KB
Captures/03-Make_Plugin_PyCharm/02-pycharm-settings/03-pycharm-settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+390 KB
Captures/03-Make_Plugin_PyCharm/02-pycharm-settings/04-proj-interpreter-py37.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+323 KB
Captures/03-Make_Plugin_PyCharm/02-pycharm-settings/05-add-content-root.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+356 KB
Captures/03-Make_Plugin_PyCharm/02-pycharm-settings/06-code-styles-80-columns.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+289 KB
Captures/03-Make_Plugin_PyCharm/02-pycharm-settings/07-typo-inspection-off.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+723 KB
Captures/03-Make_Plugin_PyCharm/04-dependent-modules/01-requirements.png
Oops, something went wrong.
Binary file added
BIN
+646 KB
Captures/03-Make_Plugin_PyCharm/04-dependent-modules/02-open-terminal.png
Oops, something went wrong.
Binary file added
BIN
+1.14 MB
Captures/03-Make_Plugin_PyCharm/04-dependent-modules/03-pip-install.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+221 KB
Captures/03-Make_Plugin_PyCharm/05-coding/04-STU-FailureCodeAction.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Download template | ||
|
||
![01-download-plugin-template](Captures/03-Make_Plugin_PyCharm/01-download-plugin-template.png) | ||
You can download [template zipped file](https://s3-us-west-2.amazonaws.com/rpa-file.argos-labs.com/plugin-template.zip) from our [POT SDK Guide](https://www.argos-labs.com/new-argos-pot-sdk/). | ||
|
||
> Saved template filename is `plugin-template.zip` | ||
![02-extract-c-work](Capture/../Captures/03-Make_Plugin_PyCharm/02-extract-c-work.png) | ||
|
||
Please extract the downloaded zip file into `C:\work`. So you can see the `C:\work\plugin-template` folder. |
Oops, something went wrong.