Networking package for qass_tools
Reason this release was yanked:
unstable
Project description
Networking package for Qass Tools
Networking package to remotely control the Analyzer4D software. Checkout the latest documentation: QASS TOOLS NETWORKING DOCUMENTATION
Install as developer
Install the newest version of the pip package by:
pip install qass-tools-networking --user -e .[developers]
How to import networking package
from qass.tools import networking
or to directly address analyzer_socket:
from qass.tools.networking.analyzer_socket import AnalyzerRemote, ExactSamplerates16Bit
or address analyzer_ssh as:
from qass.tools.networking.analyzer_ssh import SSHConnector
How to use networking package
""" Simple example how to intialize a socket connection to the optimizer and have access to analyzer functions."""
from qass.tools.networking.analyzer_socket import AnalyzerRemote, Channels, Amplitudes
with AnalyzerRemote(ip="your_optimizer_ip") as opti:
opti.set_multiplexer(channel=Channels.CHANNEL_1)
info = opti.get_project_info()
print(info)
opti.set_multiplexer(gain=800)
proc = opti.get_process_number()
opti.set_process_comment(proc, "Hello World")
opti.start_measuring()
opti.start_sineGenerator(frequency=500, amplitude=Amplitudes.AMP_191_mV)
time.sleep(2)
opti.stop_sineGenerator()
opti.stop_measuring()
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qass_tools_networking-3.8.tar.gz.
File metadata
- Download URL: qass_tools_networking-3.8.tar.gz
- Upload date:
- Size: 43.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e31c53e4bb2b7a37fd5f28a5be4b5172979dee27be0f68b9c5acf44be610889
|
|
| MD5 |
ff0f1c0e88ba5a9d03a8c4e18de0bf9d
|
|
| BLAKE2b-256 |
44911a0bbdb3bf39b236004ebe053bc4fd96f63c27f0017a9ca00cee7a910158
|
File details
Details for the file qass_tools_networking-3.8-py3-none-any.whl.
File metadata
- Download URL: qass_tools_networking-3.8-py3-none-any.whl
- Upload date:
- Size: 42.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf38de6e9d19a088f71f42a90b812afd45a8fd89a46fd957dcf30636195410b4
|
|
| MD5 |
2cdd94db42bff0f64d6c4f8fa06303b0
|
|
| BLAKE2b-256 |
7ed38cb23bdca6346a4d15e640f63376634466e250533f2a1eff0e3bcaa8e860
|