Skip to main content

No project description provided

Project description

https://img.shields.io/pypi/v/labpack.svg https://img.shields.io/pypi/l/labpack.svg

labPack

A Collection of Methods for Data Collection & Processing

Downloads:http://pypi.python.org/pypi/labPack
Source:https://github.com/collectiveacuity/labPack
Documentation:https://collectiveacuity.github.io/labPack/

Introduction

Lab Pack is designed to make the process of retrieving, managing and processing data more uniform across a variety of different sources and structures. The classes and methods in this module aggregate and curate python resources and online APIs to provide a set of best practices for handling data across laboratory projects.

Installation

From PyPi:

$ pip install labpack

From GitHub:

$ git clone https://github.com/collectiveacuity/labpack
$ cd labPack
$ python setup.py install

Getting Started

This module contains a variety of classes, clients and packages for use in laboratory projects. For example to store records in an indexed file store on the local device, you can use the following methods:

Create an unique ID for records:

from labpack.records.id import labID

id = labID()
url_safe_id_string = id.id48
id_datetime = id.epoch
id_mac_address = id.mac

Save record data in local user data:

from labpack.storage.appdata import appdataClient

msg_key = '%s/%s.yaml' % (id_mac_address, id_datetime)
msg_details = { 'dt': id_datetime, 'mac': id_mac_address, 'msg': 'Text me back soon' }
msg_client = appdataClient('Outgoing', 'My Team', 'My App')
mgs_client.create(msg_key, msg_details)

Further Reading

For more details about how to use labPack, refer to the Reference Documentation on GitHub

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
labpack-0.20-py3-none-any.whl (198.6 kB) Copy SHA256 hash SHA256 Wheel py3
labpack-0.20.tar.gz (168.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page