Skip to main content

tbwk-opener

A python package to open and read tbwk files generated from the NanoDrop 2000 software.

Testing: Python application

Features

This library has so far only been tested with Nucleic Acid worksheets.

  • Can import tbwk files to read measurements contained within the file
  • Successfully reads y- and x-values of a recorded spectrum
  • Also reports on tabled data contained in the worksheet (such as A260 for nucleic acids, or direct nucleic concentration as chosen by the method)

A protein worksheet (no example provided) showed similar behaviour and should work without any issues.

Installation

Make sure you've installed numpy and scipy before attempting to install tbwk-opener from pip, then use:

pip install tbwk-opener

Usage

Get all measurements from a worksheet and report on concentration using the absorption at 260 nm:

from tbwk import Worksheet

worksheet = Worksheet.import_worksheet("examples/nanodrop-dna-measurements-01.twbk")

factor = (2.05 + 2.30)/2 # μM per absorption unit
for measurement in worksheet:
    print(f"{measurement.title:20}{measurement.get_absorption_at(260)*factor:.2f} μM")
wash                0.18 μM
blank               0.02 μM
BSD01               61.47 μM
BSD01               61.11 μM
BSD01 cntl A1       37.87 μM
wash                0.57 μM
BSD01 cntl A2       33.94 μM
wash                0.27 μM
BSD01 cntl A3       44.39 μM
BSD01 cntl A3       0.35 μM
BSD01 cntl A4       40.00 μM
wash                0.05 μM
wash                0.02 μM

Metadata

Release files for tbwk-opener 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tbwk-opener 0.1.1
File Size Uploaded Provenance
tbwk-opener-0.1.1.tar.gz 10.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for tbwk-opener 0.1.1
File Interpreter ABI Platform
tbwk_opener-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 20.1 kB

Release files / tbwk-opener-0.1.1.tar.gz

Download URL tbwk-opener-0.1.1.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8643c420a68492281ea6e5751e4dc4301a68f11aba9f41696f6b5960c11608c8
BLAKE2b-256 checksum
How to use checksums
154c76c377d2987c3cf694d3adf633be2894756cf8d98ec9a1872075774475f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.16

Release files / tbwk_opener-0.1.1-py3-none-any.whl

Download URL tbwk_opener-0.1.1-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6813483a318b7983f103c41089413b772d3652203be2b8edf8645b308ded61d
BLAKE2b-256 checksum
How to use checksums
e5b1bf98086ba2fa593d53cf2cbfe700dee09aa76e6a40015c5ce3fa7d09dcac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.16

Security for tbwk-opener 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page