Skip to main content

Built to use with Tausand Tempico time-to-digital converters

Project description

PyTempico

library and examples to use Tausand Tempico TP1000 devices with Python

Written in Python3, pyTempico relies on the following modules:

  • hidapi
  • pyserial

Library version: 2.0.1
Current release date: 11/06/2025 (mm/dd/yyyy)
Original release date: 02/12/2024
Supported models: TP1004, TP1204.

About Tausand Tempico TP1000

This is a family of time-to-digital converters, ideal to measure time differences between electrical pulses in particle detection, microscopy, and quantum optics experiments.

To learn more about them, visit our website www.tausand.com

To obtain a Tausand's Tempico time-to-digital converter, visit our online shop or contact us at sales@tausand.com

Installation

pyTempico can be installed using pip as:

pip install pyTempico

Or from GitHub

pip install git+https://github.com/Tausand-dev/PyTempico.git

Examples and documentation

For details on how to run this library, read the PDF documentation located at docs/build/latex/pytempico.pdf, or navigate the HTML version located at docs/build/html/index.html.

For developers

Clone the GitHub repository and then follow the next steps:

Creating a virtual environment

Run the following code to create a virtual environment called .venv

python -m venv .venv

Activate

  • On Unix systems:

    source .venv/bin/activate
    
  • On Windows:

    .venv\Scripts\activate
    

Deactivate

deactivate

Installing packages

After the virtual environment has been activated, install required packages by using:

python -m pip install -r requirements.txt

Editing version number

When a new version is created, the new numbering should be updated in the following files:

  • pyTempico/__init__.py
  • README.md

and details should be updated in

  • release_history.md

Building docs

Go to the docs folder and run

make <command>

Where <command> is one of the following:

  • latexpdf
  • html

To run the latexpdf command you will need a working installation of Latex.

Generating distribution archives

After the virtual environment has been activated, and the packages has been installed, run the command

python -m build

Once completed, this should generate two files in the \dist directory: a .tar.gz and a .whl file. These files may be published in the TestPyPI or the PyPI repositories.

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

pytempico-2.0.1.tar.gz (40.3 kB view details)

Uploaded Source

Built Distribution

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

pytempico-2.0.1-py3-none-any.whl (40.0 kB view details)

Uploaded Python 3

File details

Details for the file pytempico-2.0.1.tar.gz.

File metadata

  • Download URL: pytempico-2.0.1.tar.gz
  • Upload date:
  • Size: 40.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for pytempico-2.0.1.tar.gz
Algorithm Hash digest
SHA256 03b435ea2e1b8b3cc52aba57df38e1ab6504e9f224acab7736760f5540d09dd6
MD5 e9143f50110a85335d29fda21a227859
BLAKE2b-256 924a8c3c11f3e7ccd37e4073242bbb558c1858ff57ba811d87f217b281a4804c

See more details on using hashes here.

File details

Details for the file pytempico-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: pytempico-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 40.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for pytempico-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5ef220e2c1f38084a433cd90dd1f6d7f274fffe825051cd046e4e871442774f7
MD5 faf32e2376881e0eb0c858d5aa6d25f2
BLAKE2b-256 02cbbf2a6ba4aca81b1f8eb881f210cefc5c99d945259b7cbc69646a28785da6

See more details on using hashes here.

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