Skip to main content

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()

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-4.0.tar.gz (49.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-4.0-py3-none-any.whl (44.3 kB view details)

Uploaded Python 3

File details

Details for the file qass_tools_networking-4.0.tar.gz.

File metadata

  • Download URL: qass_tools_networking-4.0.tar.gz
  • Upload date:
  • Size: 49.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-4.0.tar.gz
Algorithm Hash digest
SHA256 05cfbfc8c2ea287c31cbcd1141f89645fd59b001c8239034ae9c0c231c70b515
MD5 cec7c2e3b5bef5ad1d97b9a27bc445ff
BLAKE2b-256 3563fe07c73ec659adb2e2a753693658f7ad4fb7dc0f39d0805061666895db60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for qass_tools_networking-4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d72396a1d5989f89d0764e51917461423f99563c546dbd076404fb13d47388b5
MD5 052af45aa7ac9f9d091f5a405c477e13
BLAKE2b-256 f326eb82dafcfc040278ec992344073fb0a63b7badf7959eeaa773a0ce460ccd

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

4.0 This release

2 files

3.8

2 files

3.7

2 files

3.6

2 files

3.5

2 files

3.4.1

2 files

3.4.0

2 files

3.3.2

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page