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:

  • pyserial

Library version: 1.0.0
Original release date: 02/12/2024 (mm/dd/yyyy)
Current release date: 02/12/2024
Supported models: TP1004.

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

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-1.0.0.tar.gz (25.3 kB view details)

Uploaded Source

Built Distribution

pyTempico-1.0.0-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

Details for the file pyTempico-1.0.0.tar.gz.

File metadata

  • Download URL: pyTempico-1.0.0.tar.gz
  • Upload date:
  • Size: 25.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for pyTempico-1.0.0.tar.gz
Algorithm Hash digest
SHA256 10d962eb7c7d801ad6b050cae549d89976b177fd0cd3fc494014faf75de5ac3c
MD5 89928211b0f9e63ed4556b9b0a1b898e
BLAKE2b-256 c90a5b4a70ce5ca3d6fc80a9ab6ef531eaa12e0b4340aae12be7f479d6cce048

See more details on using hashes here.

File details

Details for the file pyTempico-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pyTempico-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 24.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for pyTempico-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 031603fa59e07140fe10886f12dbd1cd9d32bcc252e60155d44a4bd70f8d28ce
MD5 fb51594926fb46356976c085afb3d661
BLAKE2b-256 c99de2875f631f1264a82b4760147ba6f090ba2d003a96791c8701ef39d55538

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page