Skip to main content

A Collection of Methods for Data Collection & Processing

Project description

https://img.shields.io/pypi/v/labpack.svg https://img.shields.io/pypi/dm/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

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 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.

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' }
msg_client = appdataClient('Outgoing', 'My Team', 'My App')
mgs_client.create(msg_key, msg_details)

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.8.tar.gz (56.4 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.8-py3-none-any.whl (68.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: labpack-0.8.tar.gz
  • Upload date:
  • Size: 56.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for labpack-0.8.tar.gz
Algorithm Hash digest
SHA256 91097826d091a3ef0468fda9eb49424abd25801b8673542aa8f451ef66c5ddf0
MD5 43673e7a02c3d0b6bf0fdf969b931ed3
BLAKE2b-256 b710b5d081746765619681328b05141afac2fe4d7f574e7ba441d73e1b2ed0cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for labpack-0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 e090dfb9942fd2ea5aac3343a5a7e4aeb6c1e5c7db16ea7e2d706816dd7b5858
MD5 746aae0b595b12afda73c9f0b4920949
BLAKE2b-256 bdce17823f6a370b68d5bed8b641443bcfa0c7ef9d6a431f8a4ae79746c548f9

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