supersigma2-errorcodes
A python parser for DMC SuperSigma2 error codes.
Installation
Needs Python >= 3.6.
Install using pip:
pip install supersigma2-errorcodes
If you only need the standalone sigma-script to parse error codes in the command line,
it is recommended to use pipx for the installation:
pipx install supersigma2-errorcodes
Command line usage
A sigma command line script is installed by pip which can be used like this:
$ sigma 13.2 18.3 19.2
[13.2] Accelerator more than 50% at power up: Wig-wag high at power up
[18.3] High sided mosfets short circuit: M3 mosfets
[19] Motor stall protection
If no error codes are given, the usage is interactive.
Library usage
from sigma import code_to_string
code_to_string("12.2")
>>> "[12.2] Power up sequence fault: Traction: Forward switch active at power up"
code_to_string("18.3", include_code=False)
>>> "High sided mosfets short circuit: M3 mosfets"
Metadata
Release files for supersigma2-errorcodes 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| supersigma2-errorcodes-1.2.tar.gz | 20.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| supersigma2_errorcodes-1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.4 kB
Release files / supersigma2-errorcodes-1.2.tar.gz
| Download URL | supersigma2-errorcodes-1.2.tar.gz |
|---|---|
| Size | 20.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
510852e86d4e5f0596cfd6b1c1b515cb8dbdf8204a565be38a559eb93bbd94ce
|
|
BLAKE2b-256 checksum How to use checksums |
7b4987ea441ea51029d024dba5e973dbefdcafc9a2e9972d620142189762612c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.8.11 Darwin/18.7.0
|
Release files / supersigma2_errorcodes-1.2-py3-none-any.whl
| Download URL | supersigma2_errorcodes-1.2-py3-none-any.whl |
|---|---|
| Size | 21.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8dc967261cb9821c4f78349eece9b48a5c0402ce53bbeb3a782ed46b4305dd48
|
|
BLAKE2b-256 checksum How to use checksums |
71667c3fb18f0eb4644dfa69470fb3da2718413f4798d8698d9e65cdf98f20e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.8.11 Darwin/18.7.0
|