Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qass_tools_networking-3.8.tar.gz (43.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qass_tools_networking-3.8-py3-none-any.whl (42.7 kB view details)

Uploaded Python 3

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

Hashes for qass_tools_networking-3.8.tar.gz
Algorithm Hash digest
SHA256 5e31c53e4bb2b7a37fd5f28a5be4b5172979dee27be0f68b9c5acf44be610889
MD5 ff0f1c0e88ba5a9d03a8c4e18de0bf9d
BLAKE2b-256 44911a0bbdb3bf39b236004ebe053bc4fd96f63c27f0017a9ca00cee7a910158

See more details on using hashes here.

File details

Details for the file qass_tools_networking-3.8-py3-none-any.whl.

File metadata

File hashes

Hashes for qass_tools_networking-3.8-py3-none-any.whl
Algorithm Hash digest
SHA256 cf38de6e9d19a088f71f42a90b812afd45a8fd89a46fd957dcf30636195410b4
MD5 2cdd94db42bff0f64d6c4f8fa06303b0
BLAKE2b-256 7ed38cb23bdca6346a4d15e640f63376634466e250533f2a1eff0e3bcaa8e860

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page