inco_32 Python Binding
This is a Python 2 and 3 binding for libinco_32 (inco_32.dll/libinco_32.so), the library used for INCO communication to Indel industrial automation systems.
To use it, you need to have Indel Tools installed, which provides the library.
Usage
The Python API is for the most part a direct translation of the C API, with the exception that errors are reported using exceptions rather than return values, and output is provided as return values rather than through pointer arguments. Therefore, refer to the C API documentation for details.
Example
import inco_32
target = 'MyTarget'
try:
cpuname = inco_32.GetVariable(target, 'Target.Cpu', 256)
except inco_32.INCOError as e:
if e.m_uError == inco_32.ER_INCO_VAR_NOT_FOUND:
print('where?')
For more usage examples, see the tests in tests/test_inco_32.py.
Installation
The binding is already installed in the Python installations included with Indel Tools (Indel Tools Setup on Windows, package python-inco32 on Linux). These installations are intended for internal use by Indel Tools.
For larger customer applications that require more packages to be installed, it is recommended that you use your own Python installation. For those, the package is available from PyPI:
pip install inco_32
To build from source, pip install build and use
rm -rf build src/inco_32.egg-info && python3 -m build .
Metadata
Release files for inco-32 4.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 | Provenance | Actions |
|---|---|---|---|---|
| inco_32-4.5.0.tar.gz | 23.0 kB | Without provenance | Details for inco_32-4.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| inco_32-4.5.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for inco_32-4.5.0-py2.py3-none-any.whl |
Total release size: 44.5 kB
Release files / inco_32-4.5.0.tar.gz
| Download URL | inco_32-4.5.0.tar.gz |
|---|---|
| Size | 23.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f6a9912e400111af25539dfddf556eb787ccfc20b3ef203c0b7f9b37dbf12dd
|
|
BLAKE2b-256 checksum How to use checksums |
1ae4c5fdd923d324eb9e289a417f75d453d5f73673bcf14db19fd3570d2c751c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.10
|
Release files / inco_32-4.5.0-py2.py3-none-any.whl
| Download URL | inco_32-4.5.0-py2.py3-none-any.whl |
|---|---|
| Size | 21.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
9758e2159750e5f30765df69f835c2afe4989590e3f43c5b88ba43f61d555123
|
|
BLAKE2b-256 checksum How to use checksums |
09a968a3a1779d1979212c6bacec0c0f7601343355b634e51235b8a56243003a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.10
|
Security for inco-32 4.5.0
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.