Theengs Decoder
Installation
-
Create a virtual environment
python3 -m venv theengs-venv -
Activate the virtual environment
source theengs-venv/bin/activate -
Install and upgrade pip
python3 -m pip install --upgrade pip -
Install dependencies
pip3 install setuptools setuptools_scm cmake==3.25.0 wheel scikit-build ninja -
Clone Theengs Decoder
git clone --recursive https://github.com/Theengs/decoder.git -
cd to python folder inside the repository
cd decoder/python -
Copy sources inside the build repository
cp -r ../src . -
Build wheel
python3 setup.py bdist_wheel -
Install
cd ..pip3 install python/dist/*.whl -
Verify installation
python3 -c "from TheengsDecoder import decodeBLE; print('Successfully imported decodeBLE from PR_build.yml')"
You should see:
Successfully imported decodeBLE from PR_build.yml
using
import TheengsDecoder
methods
decodeBLE(string)Returns a new string with the decoded data in json format or None.getProperties('model_id string')Returns the properties (string) of the given model ID or NonegetAttribute('model_id string', 'attribute string')Return the value (string) of named attrubte of the model ID or None.
Metadata
Release files for theengsdecoder 2.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| theengsdecoder-2.5.0.tar.gz | 314.8 kB | Details |
Release files / theengsdecoder-2.5.0.tar.gz
| Download URL | theengsdecoder-2.5.0.tar.gz |
|---|---|
| Size | 314.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
87f0cc1b289c8220263bb0ddcbe2eac146fc8f110360277c2ed0cba1e77f688f
|
|
BLAKE2b-256 checksum How to use checksums |
d6c4f43a794511fdfbbb736d957cb85b7deba4f53da8e40c0e26db27b255095e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|