Skip to main content

The `labbench` module provides API tools to support python scripting for laboratory automation.The goal is to simplify the process of developing an experimental procedure into clear, concise, explainable, and reusable code.

Project description

PyPI Latest Release DOI License Downloads Last commit

The labbench module provides API tools to support python scripting for laboratory automation. The goal is to simplify the process of developing an experimental procedure into clear, concise, explainable, and reusable code. These characteristics are necessary to scale up the complexity of large testbeds and experiments.

Features include:

  • Expedited development of python device wrappers, including specialized backends for pythonnet, pyvisa, pyserial, subprocess, telnetlib
  • Automated test logging into CSV, HDF, or sqlite based on introspection of wrapper objects
  • Simplified multi-threaded concurrency for lab testing use cases
  • Composable and nestable container objects for snippets of test procedures
  • Support for running experiments based on tables of test conditions

The source code was developed at NIST to support complex measurement efforts. Examples of these projects include:

Status

The project is under ongoing development

  • API changes have slowed, but deprecation warnings are not yet being provided
    • Suggest pinning labbench dependency to an exact version
  • Parts of the documentation are in need of updates, and others have not yet been written

Installation

  1. Manual prerequisites:
    • python (supported versions are 3.8–3.11)
    • pip for package management
  2. Recommended module installation:
    • For python distributions based on anaconda:
      pip --upgrade-strategy only-if-needed install labbench
      
    • For other python installations:
      pip install labbench
      

Resources

Contributing

Contributors

Name Contact
Dan Kuester (maintainer) daniel.kuester@nist.gov
Shane Allman Formerly with NIST
Paul Blanchard Formerly with NIST
Yao Ma yao.ma@nist.gov

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

labbench-0.31.0.tar.gz (124.9 kB view details)

Uploaded Source

Built Distribution

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

labbench-0.31.0-py3-none-any.whl (126.7 kB view details)

Uploaded Python 3

File details

Details for the file labbench-0.31.0.tar.gz.

File metadata

  • Download URL: labbench-0.31.0.tar.gz
  • Upload date:
  • Size: 124.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.8.2 CPython/3.10.11

File hashes

Hashes for labbench-0.31.0.tar.gz
Algorithm Hash digest
SHA256 082e451b63a9f66bdf6e2899613f3794ffdaf2fb9afe006a65b5bdcaea7b26cd
MD5 7d58dd3df8ff6fae259328154cae373f
BLAKE2b-256 6ce161a6dfb105a2bc6df60057ed111019c1b6cfe476423971d73529254f9f76

See more details on using hashes here.

File details

Details for the file labbench-0.31.0-py3-none-any.whl.

File metadata

  • Download URL: labbench-0.31.0-py3-none-any.whl
  • Upload date:
  • Size: 126.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.8.2 CPython/3.10.11

File hashes

Hashes for labbench-0.31.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e33c1387b035c303fce9cfa3c1da8a32a2ad574e8983d0c19e463b5c6aaf1a14
MD5 30e6d5782df1ea0e938a581b8cf9879e
BLAKE2b-256 484cb292724adfd3ea359e4e6f019b3bc1bace4df6b700f5f425813dbd05e1d9

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