Skip to main content

Collection of Python code for using in lab environment (data acquisition, device communication, data analysis)

Project description

PyLabLib is a collection of code intended to simplify some of the coding tasks encountered in a physics laboratory.

Some major parts include:
  • Simpler loading and saving of data in text or binary files.

  • Data tables with heterogeneous columns and more universial indexing (heavy overlap with pandas).

  • Some data processing utilities: filtering, decimating, peak detection, FFT (mostly wrappers around numpy and scipy).

  • Classes for device control (universal wrapper for pyVISA, pySerial and network backends).

  • More user-friendly fitting interface.

  • Multi-level dictionaries which are convenient for storing heterogeneous data and settings in human-readable format.

  • A bunch more utilities dealing with file system (creating, moving and removing folders, zipping/unzipping, path normalization), network (simplifed interface for client and server sockets), strings (serializing and de-serializing values), function introspection, and more.

For a more comprehensive, specialized (classes for certain equipment, GUI building, multithreading, specific computational tasks) and up-to-date version of the library, see pLL project (

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

pylablib-0.2.0.tar.gz (169.7 kB view hashes)

Uploaded source

Built Distribution

pylablib-0.2.0-py2.py3-none-any.whl (196.9 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page