Skip to main content

py_thorlabs_tsp

Low and high level python wrappers for Thorlabs TSP01B temperature and humidity sensor.

This is an unofficial package and is not supported by the vendor of equipment.

This package provides:

  1. low-level functions, which are thin wrappers around the C-functions from the DLL distributed by Thorlabs;
  2. high-level class for connecting to the sensor and getting temperature and humidity readout.

This package was tested on Windows only. Only TSP01 Rev.B sensor was tested.

Installation

Prerequisites

Download and install the software from thorlabs.com, choose Software tab. This program provides the drivers (DLLs discoverable by the py_thorlabs_tsp), and also the TSP01 Application, which has a GUI and allows connecting and reading out the sensor.

The package itself can be installed either from pypi or from the repository. See both options below.

From pypi

  1. Install the package from pypi:

    $ pip install py_thorlabs_tsp

From repository

  1. Clone the package from the repository

    $ git clone https://gitlab.com/dimapu/py_thorlabs_tsp.git py_thorlabs_tsp_repo

  2. Install py_thorlabs_tsp either in normal mode:

    $ pip install py_thorlabs_tsp_repo

    OR in development mode:

    $ pip install -e py_thorlabs_tsp_repo

Authors

The following authors have contributed to this package:

  • Dzmitry Pustakhod (original Windows version).

License

Copyright (c) 2019 Dzmitry Pustakhod, TU/e-PITC.

The code is released under MIT license. See LICENSE.

The descriptions of the functions and their parameters are taken from the Thorlabs Manual and are a copyright of Thorlabs. See LICENSE_THORLABS.

Metadata

Release files for py-thorlabs-tsp 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-thorlabs-tsp 0.0.8
File Size Uploaded
py_thorlabs_tsp-0.0.8.tar.gz 12.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py-thorlabs-tsp 0.0.8
File Interpreter ABI Platform
py_thorlabs_tsp-0.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 27.3 kB

Release files / py_thorlabs_tsp-0.0.8.tar.gz

Download URL py_thorlabs_tsp-0.0.8.tar.gz
Size 12.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6140ae625709e497b8002167678366f738b5516adf3be2089beda10a497ab65f
BLAKE2b-256 checksum
How to use checksums
073f537315ea51df48ce947ec187e49f291fc8ccbaad49697143d8c858ddb795
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

Release files / py_thorlabs_tsp-0.0.8-py3-none-any.whl

Download URL py_thorlabs_tsp-0.0.8-py3-none-any.whl
Size 14.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5fb039908c8a87a730430b7bf947436f20eeae399e22e25ed4729e310917650
BLAKE2b-256 checksum
How to use checksums
a3d153cefaafd7f180d76d4040ce54dabe680349075f8b6cba53d718e2599203
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.0.8 This release

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.1

2 release 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