Skip to main content

SyslabAppSdk

License

SyslabAppSdk is an SDK that is responsible for communication interaction with the Python App and Syslab. It mainly provides the following interface for the development of APP:

  • Get variable list
  • Get variable value
  • Send script to Syslab for execution
  • Close named pipe

Installation

pip install -U syslabappsdk

Usage

Get variable list

def mw_get_variables(show_modules: bool) -> (list | Literal[False])
Description Detail
Feature get a list of Syslab workspace variables
Parameter show_modules: whether to display a list of modules, usually False
Return False - failed to get
variable list - successed

Get variable value

def mw_get_value(var_name: str) -> (str | Literal[False])
Description Detail
Feature get Syslab workspace variable value
Parameter var_name: variable name, which can be a child variable such as a.b
Return False - failed to get
variable value string - successed

Send script to Syslab for execution

def mw_run_script(code: str,
                  show_code_in_repl: bool,
                  show_result_in_repl: bool) -> (str | Literal[False])
Description Detail
Feature execute the Julia script code in the Syslab workspace
Parameter code: Julia script to run
show_code_in_repl: whether to display the code in Syslab REPL
show_result_in_repl: whether to display the result in Syslab REPL
Return False - failed to get
result of running code - successed

Close named pipe

def close_pipe() -> None
Description Detail
Feature Send a request to close the named pipe and call before closing the program
Parameter none
Return none

Metadata

Release files for syslabappsdk 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for syslabappsdk 0.1.2
File Interpreter ABI Platform Actions
syslabappsdk-0.1.2-py3-none-any.whl Python 3 none any Details for syslabappsdk-0.1.2-py3-none-any.whl

Release files / syslabappsdk-0.1.2-py3-none-any.whl

Download URL syslabappsdk-0.1.2-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f5282c0555aa3f5076e198ece3eab72e5fcf608db8a44240b7aebd92e6acf7c0
BLAKE2b-256 checksum
How to use checksums
bf9b7dd3bbc706ea0895aea8d9a59e013cdb554d5574e7cd01073860d3e60a54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Security for syslabappsdk 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page