Temperature SNSPDs influx
This script is used to monitor the temperature of a SNSPDs system (IDQ 281 SNSPD system in this case), running with the SRS CTC100 Temperature controller. In particular, the scripts periodically retrieves the temperature value from the CTC (using USB or Ethernet interface) and write the values to an Influx time series database.
Outside of this script, the data is visualized using Grafana.
Installing the package
The software can be installed from Pypi using the following command:
pip install temperature-snspds-influx
or
python -m pip install temperature-snspds-influx
You can check that the package has been succesfully installed by executing the command:
temperature-snspds-influx --version
or
python -m temperature_snspds_influx --version
The command help can be retrieved with -h or --help.
Configuration
The example configuration file can be copied to the current directory in the config.toml file by simply running the temperature-snspds-influx script (with no file located at the target file). The target file can be changed with the -f or --file command line parameter.
All the parameters of the configuration file must be set.
The example configuration file is displayed below and can be found here:
# Configuration file for temperature-snspds-influx.
[influx]
# Endpoint of the influx database.
endpoint = ""
# Token to use for influxdb.
token = ""
# Name of the database to write to.
db = ""
[ctc]
# Method to connect to the CTC. It should be either "usb" or "ethernet".
method = ""
# Address of the CTC. It should be a COM port or tty for USB
# and ip_address:port for ethernet.
address = ""
# Name of the instrument that recovers the data.
instrument = ""
# Number of digits requested to the CTC (1, 2, 3, 4, 5 or 6).
precision = 6
Running the script
The script can be executed with the following command:
temperature-snspds-influx -f config.toml -l temperature-snspds-influx.log -vvv
where the -f config.toml is to make it explicit in this example, the -l temperature-snspds-influx.log to set a log file and -vvv to specify a log level.
License
This software is released under the MIT license. For more details, check the LICENSE file or visit https://opensource.org/licenses/MIT.
Metadata
Release files for temperature-snspds-influx 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| temperature_snspds_influx-0.1.0.tar.gz | 6.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| temperature_snspds_influx-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.0 kB
Release files / temperature_snspds_influx-0.1.0.tar.gz
| Download URL | temperature_snspds_influx-0.1.0.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05fac2a9507dadebd960fe968a6ebea348c9f7be3573570e9fd419e490d2559f
|
|
BLAKE2b-256 checksum How to use checksums |
9140f5c8d0bb37102f6a2b60cb5c085760e46ef6a3c6d0e8718e271e5a63aef9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.11 Linux/6.18.3-arch1-1
|
Release files / temperature_snspds_influx-0.1.0-py3-none-any.whl
| Download URL | temperature_snspds_influx-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
01ce1366a651d15b5b6853b732f9b46c731a87e32381e873c0fc9ea1268c6973
|
|
BLAKE2b-256 checksum How to use checksums |
1edb8d6e1c88e09515b0bc1abbb5ce3cd27224cd79bd9b99ca991bc967767b16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.11 Linux/6.18.3-arch1-1
|
Security for temperature-snspds-influx 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.