Info |
NI System Configuration Python API |
Author |
National Instruments |
About
The nisyscfg package contains an API (Application Programming Interface) for interacting with NI System Configuration. The package is implemented in Python. This package was created by NI. The package is implemented as a complex, highly object-oriented wrapper around the NI System Configuration C API using the ctypes Python library.
nisyscfg supports only the Windows and Linux operating systems.
nisyscfg supports CPython 3.9+.
Installation
Note: Running nisyscfg requires the NI System Configuration Runtime. Visit the ni.com/downloads to download the latest version of NI System Configuration.
Install nisyscfg from PyPI:
$ pip install nisyscfg
Or, install nisyscfg by cloning the main branch and running the following command in the directory of setup.py:
$ pip install --pre .
Usage
The following is a basic example of using an nisyscfg.Session object.
>>> import nisyscfg
>>> with nisyscfg.Session() as session:
>>> # Print user aliases for all National Instruments devices in the local system
>>> filter = session.create_filter()
>>> filter.is_present = True
>>> filter.is_ni_product = True
>>> filter.is_device = True
>>> for resource in session.find_hardware(filter):
>>> print(resource.expert_user_alias[0])
Metadata
Release files for nisyscfg 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nisyscfg-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / nisyscfg-0.2.1-py3-none-any.whl
| Download URL | nisyscfg-0.2.1-py3-none-any.whl |
|---|---|
| Size | 49.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
47e95ae72e4265407a145ede09099e3b1dbbb62be232c2f59d92ff1288a49184
|
|
BLAKE2b-256 checksum How to use checksums |
60598021ac94d9ed8fdfe6f422586cf71a0dad6b2636e602e2e2513866ecfa28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for nisyscfg 0.2.1
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.