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.

Source Distribution

labpack-0.22.tar.gz (188.3 kB view details)

Uploaded Source

Built Distribution

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

labpack-0.22-py3-none-any.whl (221.8 kB view details)

Uploaded Python 3

File details

Details for the file labpack-0.22.tar.gz.

File metadata

  • Download URL: labpack-0.22.tar.gz
  • Upload date:
  • Size: 188.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

File hashes

Hashes for labpack-0.22.tar.gz
Algorithm Hash digest
SHA256 9adff2b1ce22720b758609140b9f2edc188cf6c7c153b531dc2d030f8edf1816
MD5 65f6712ab827e44688cc7f20c992167b
BLAKE2b-256 8d9a14a270da52f39151e61a8ebf015e248023d1adefd72ba5a5385c1a11edea

See more details on using hashes here.

File details

Details for the file labpack-0.22-py3-none-any.whl.

File metadata

  • Download URL: labpack-0.22-py3-none-any.whl
  • Upload date:
  • Size: 221.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

File hashes

Hashes for labpack-0.22-py3-none-any.whl
Algorithm Hash digest
SHA256 19a3e8f6ddc59c4495b9b10c23c8c70e23784e1ffb307d2f6d827ca04cc53344
MD5 7f1482ab51059804a115a657b6cf1d38
BLAKE2b-256 9701a2c20ed19ddb569ed1d3bb0706c3c5485500520acd279f794642156cf442

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