SysOpsWork Automation supporting package
Project description
SysOpsWork
SysOpsWork python package is used to simplify communication with SysOpsWork system.
Installing SysOpsWork
SysOpsWork is available on PyPI. SysOpsWork python package is installed as part of a Dockerfile:
RUN pip3 install sysopswork
The command might differ depending on the container image used.
SysOpsWork officially supports Python 3.9+.
Importing SysOpsWork
At your python script, import sysopswork, with:
import sysopswork
Using SysOpsWork
Below are the functions that can be used with SysOpsWork module:
To get the value provided by user on template form input:
input_value = sysopswork.getInputVal(input_id)
Replace input_id by the input ID used on template.
To get the value of a secret (the user running the script needs the right privileges for that):
secret_value = sysopswork.getSecretVal(secret_name)
Replace secret_name by the respective secret name.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sysopswork-0.1.0.tar.gz.
File metadata
- Download URL: sysopswork-0.1.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24ec9b417f5ecf13f39eda51b181c9f6fd72b06a0823cba3b173948bd163cede
|
|
| MD5 |
55ad2bcc69294e9956284af222239539
|
|
| BLAKE2b-256 |
455989889c149c8630d43ee8e2e6ed6f8fd40130c8af2c02ea475e4295ea3523
|
File details
Details for the file sysopswork-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sysopswork-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce3d3a798ab4ecf8478af03ab9770db17088514a92711f17eaf4fe61960b67ea
|
|
| MD5 |
b8068faea7efb6195c55421bb7866dc3
|
|
| BLAKE2b-256 |
a5dc5027909c573ac66a697a707741eef36ac2d1290987d5e3407f8757a9356c
|