A parser for DMC SuperSigma2 error codes
Project description
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"
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
supersigma2-errorcodes-1.2.tar.gz
(20.3 kB
view hashes)
Built Distribution
Close
Hashes for supersigma2-errorcodes-1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 510852e86d4e5f0596cfd6b1c1b515cb8dbdf8204a565be38a559eb93bbd94ce |
|
MD5 | 2145c2b620420b1c09942682a0d8da82 |
|
BLAKE2b-256 | 7b4987ea441ea51029d024dba5e973dbefdcafc9a2e9972d620142189762612c |
Close
Hashes for supersigma2_errorcodes-1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dc967261cb9821c4f78349eece9b48a5c0402ce53bbeb3a782ed46b4305dd48 |
|
MD5 | d02668f2727c3aa177d5d555d77802c7 |
|
BLAKE2b-256 | 71667c3fb18f0eb4644dfa69470fb3da2718413f4798d8698d9e65cdf98f20e9 |