Skip to main content

PyPI Latest Release License DOI Downloads Last commit Test coverage

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
  • Descriptor-driven development: minimize the distance between programming manuals and python wrappers and apply calibrations transparently
  • Automated logging of simple device parameters into root CSV or sqlite root tables, pointing to relational data and metadata in json and plain-text
  • Simplified multi-threaded concurrency tools for lab applications
  • Container objects for nesting device wrappers and 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. Prerequisites:
    • python (3.9-3.12)
    • an installer for python packages (pip, conda, etc.)
  2. Command-line package install options
    # option 1: preferred option in anaconda based distributions
    conda install conda-forge::labbench
    
    # option 2: preferred in other distributions
    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

Metadata

Release files for labbench 0.46.1

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

Source distribution (sdist)

Source distribution for labbench 0.46.1
File Size Uploaded Provenance Actions
labbench-0.46.1.tar.gz 107.8 kB Without provenance Details for labbench-0.46.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for labbench 0.46.1
File Interpreter ABI Platform Actions
labbench-0.46.1-py3-none-any.whl Python 3 none any Details for labbench-0.46.1-py3-none-any.whl

Total release size: 113.5 kB

Release files / labbench-0.46.1.tar.gz

Download URL labbench-0.46.1.tar.gz
Size 107.8 kB
Tags Source
SHA-256 checksum
How to use checksums
fad03b71f63a707a55573f806a588daf26c0de840fdaa96ba6079b802487e57c
BLAKE2b-256 checksum
How to use checksums
51fa13b38cc397268749ab00dc21c7afca00ecd87ba1c3528af4e354abe9cdfe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / labbench-0.46.1-py3-none-any.whl

Download URL labbench-0.46.1-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1f098a2eae38bdf2a3120e0956d035825e0fbdc875857e2502ff5fecf3b50901
BLAKE2b-256 checksum
How to use checksums
0806953ce6cf05db4847e1b71919236ad93dca8e128aec183b4241327080f916
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for labbench 0.46.1

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.

Release history Release notifications | RSS feed

This release

0.46.1 This release

2 release files No provenance

0.0.1

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