Skip to main content

Spektralwerk SCPI communication library

Project description

spektralwerk_scpi_client

style and lint package published

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
    • get pixel count and wavelengths array of the spectrometer
    • get single raw spectrum

Requirements

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

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.1.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.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spektralwerk_scpi_client-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 8440f61fea9694125363a9c48d054d58b2c9f7f6042526b7c2036407b62bbf76
MD5 32cec849d04d5571a5dbbe5160c44182
BLAKE2b-256 f87c16c55a05115a02bc1c48eda85d688b8a65c6334df8c8c7fedbacf9bb9dc4

See more details on using hashes here.

Provenance

The following attestation bundles were made for spektralwerk_scpi_client-0.2.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for spektralwerk_scpi_client-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d22fbc89e9fa6338d5ab582fd118dc68a39f0cb3eef8ca69e4b0abaf29e79028
MD5 1a2766b4438d09c0a9d08cd59ad2d439
BLAKE2b-256 e2b19ab38dfb605b153032e3cd1ee1f7182711d41a5bc7e368339d605d6feec6

See more details on using hashes here.

Provenance

The following attestation bundles were made for spektralwerk_scpi_client-0.2.1-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