GEN DAQ API - Python Driver
Setup, control and acquire data from the Genesis Highspeed systems via python.
The GEN DAQ API can be used to control the HBM GEN Series tethered mainframes.
Requirements
Python 3.10+
Installation
Use the package manager pip to install GEN DAQ API - Python Driver package.
pip install ghs-gendaqapi-py
Usage
Refer examples for detailed use cases. Refer documentation for detailed API documentation
from ghsapi import ghsapi
# create Gen Daq API's object
gen = ghsapi.GHS()
# connect to mainframe
gen.ghs_connect(IP_ADDRESS, PORT_NO)
# disconnect from mainframe
gen.ghs_disconnect()
Development environment setup
Below are the steps to follow to setup devlopement enviroment for system integration and testing.
Requirements
Python 3.10+Anaconda/Miniconda
Clone repo
git clone https://github.com/hbk-world/ghs-gendaqapi-python.git
Virtual Environment
conda create --name <env> --file spec-file.txt
Install dependencies
pip install -r requirements.txt
Run example files
Edit files in examples to enter mainframe IP and Port number
python examples\FILENAME
Testing
Edit files in functionaltest to enter mainframe IP and Port number
Unit test
python unittest\FILENAME
Functional test
python functionaltest\FILENAME
Metadata
Release files for ghs-gendaqapi-py 1.1.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 |
|---|---|---|---|---|
| ghs-gendaqapi-py-1.1.0.tar.gz | 23.9 kB | Without provenance | Details for ghs-gendaqapi-py-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ghs_gendaqapi_py-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for ghs_gendaqapi_py-1.1.0-py3-none-any.whl |
Total release size: 59.6 kB
Release files / ghs-gendaqapi-py-1.1.0.tar.gz
| Download URL | ghs-gendaqapi-py-1.1.0.tar.gz |
|---|---|
| Size | 23.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5bd2d93e57ba50913c40fff1f30a6f50562a458b6cc726f596e075756744f2df
|
|
BLAKE2b-256 checksum How to use checksums |
9e272a85dfc1684e57e8b1b07c7030009929b51d33d2839d2fb1157468c84764
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
|
Release files / ghs_gendaqapi_py-1.1.0-py3-none-any.whl
| Download URL | ghs_gendaqapi_py-1.1.0-py3-none-any.whl |
|---|---|
| Size | 35.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
27d936ce5f0219c3d8d68b1d9da7c6098e535ab2be6e75b89bc9b9c57d4a3e30
|
|
BLAKE2b-256 checksum How to use checksums |
ae15d92e33af0cb1818b43b0455a6ba7a304968a8559b3c1b755d482589038b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
|
Security for ghs-gendaqapi-py 1.1.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.