Skip to main content

Spektralwerk SCPI communication library

Project description

spektralwerk_scpi_client

style and lint Upload to PyPI

spektralwerk_scpi_client is a Python library for communicating with Spektralwerk devices via their SCPI interface.

The library supports all available configuration settings as well as the retrieval of spectral data.

Supported Devices

  • Spektralwerk Core
    • set/get exposure time
    • set/get average number
    • set/get offset voltage
    • get pixel count and wavelengths array of the spectrometer
    • get single raw spectrum and averaged raw spectrum

Requirements

  • Python3
  • hatch for development (e.g. pipx install hatch)

Usage

spektralwerk-scpi-client is available via PyPI. To install spektralwerk-scpi-client use pip:

pip install spektralwerk-scpi-client

Example Usage

An example can be found in the examples directory.

export SPW_HOST="<hostname or IP>"
export SPW_PORT="<port number>"
hatch run examples:spw_core_demo

License

spektralwerk_scpi_client is distributed under the terms of the MIT license.

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

spektralwerk_scpi_client-0.2.2.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

spektralwerk_scpi_client-0.2.2-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file spektralwerk_scpi_client-0.2.2.tar.gz.

File metadata

  • Download URL: spektralwerk_scpi_client-0.2.2.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for spektralwerk_scpi_client-0.2.2.tar.gz
Algorithm Hash digest
SHA256 44bfc6180320b46f344b9c7174f28b1a191925b6a7845d775cc7067bcc5428d4
MD5 89cdd99a7644411054ce54dce55fc1a1
BLAKE2b-256 f379ddfb32de764b5810301d1c3eae6c611f0a1669756112853478ccac7c5b69

See more details on using hashes here.

Provenance

The following attestation bundles were made for spektralwerk_scpi_client-0.2.2.tar.gz:

Publisher: pypi-publish.yml on silicann/spektralwerk-scpi-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spektralwerk_scpi_client-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for spektralwerk_scpi_client-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3a5427ef744c0a4d1c1e9f8fafdda4dd08a0663a31bd45920f9d366438b17d52
MD5 21522120526a597ef78ff2179d4264be
BLAKE2b-256 52087fa00deef6081f5cded04a3b2f81b784a4c103d1b9eeb6cc515de25beec9

See more details on using hashes here.

Provenance

The following attestation bundles were made for spektralwerk_scpi_client-0.2.2-py3-none-any.whl:

Publisher: pypi-publish.yml on silicann/spektralwerk-scpi-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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