labPack
A Collection of Methods for Data Collection & Processing
- Downloads:
- Source:
- Documentation:
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
Metadata
Release files for labpack 0.23
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| labpack-0.23.tar.gz | 192.2 kB | Without provenance | Details for labpack-0.23.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| labpack-0.23-py3-none-any.whl | Python 3 | none | any | Details for labpack-0.23-py3-none-any.whl |
Total release size: 419.7 kB
Release files / labpack-0.23.tar.gz
| Download URL | labpack-0.23.tar.gz |
|---|---|
| Size | 192.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a199d00b0cc30b77c336b27deb48a22ad9f5868e5c6bdf1f579c8a31c430cea
|
|
BLAKE2b-256 checksum How to use checksums |
d05a18a8e8838946aae2c4c5444f826a1083a16f2ed1646c7aa9cdfd051b31bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / labpack-0.23-py3-none-any.whl
| Download URL | labpack-0.23-py3-none-any.whl |
|---|---|
| Size | 227.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
37443fa5517bd2fd5f21582ff312b31cf278afa208be0b4190f1ba3c441f5728
|
|
BLAKE2b-256 checksum How to use checksums |
c324a23ab055da09fc294181b5f55777d8f32c196d6261201c726d53f495dfdb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for labpack 0.23
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.