Spektralwerk SCPI communication library
Project description
spektralwerk_scpi_client
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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8440f61fea9694125363a9c48d054d58b2c9f7f6042526b7c2036407b62bbf76
|
|
| MD5 |
32cec849d04d5571a5dbbe5160c44182
|
|
| BLAKE2b-256 |
f87c16c55a05115a02bc1c48eda85d688b8a65c6334df8c8c7fedbacf9bb9dc4
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spektralwerk_scpi_client-0.2.1.tar.gz -
Subject digest:
8440f61fea9694125363a9c48d054d58b2c9f7f6042526b7c2036407b62bbf76 - Sigstore transparency entry: 244540322
- Sigstore integration time:
-
Permalink:
silicann/spektralwerk-scpi-client@51e184478bade1acb2d6dc945457a41d4b7fd88c -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/silicann
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@51e184478bade1acb2d6dc945457a41d4b7fd88c -
Trigger Event:
release
-
Statement type:
File details
Details for the file spektralwerk_scpi_client-0.2.1-py3-none-any.whl.
File metadata
- Download URL: spektralwerk_scpi_client-0.2.1-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d22fbc89e9fa6338d5ab582fd118dc68a39f0cb3eef8ca69e4b0abaf29e79028
|
|
| MD5 |
1a2766b4438d09c0a9d08cd59ad2d439
|
|
| BLAKE2b-256 |
e2b19ab38dfb605b153032e3cd1ee1f7182711d41a5bc7e368339d605d6feec6
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spektralwerk_scpi_client-0.2.1-py3-none-any.whl -
Subject digest:
d22fbc89e9fa6338d5ab582fd118dc68a39f0cb3eef8ca69e4b0abaf29e79028 - Sigstore transparency entry: 244540325
- Sigstore integration time:
-
Permalink:
silicann/spektralwerk-scpi-client@51e184478bade1acb2d6dc945457a41d4b7fd88c -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/silicann
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@51e184478bade1acb2d6dc945457a41d4b7fd88c -
Trigger Event:
release
-
Statement type: