Skip to main content

A lightweight bioformats-like library for Python

Project description

Sesamum

A lightweight bioformats-like library for Python.

Description

Sesamum provides a simple, unified interface for reading various microscopy image formats (TIFF, LSM, ND2) into NumPy arrays, along with their metadata. It aims to be minimal and lightweight, avoiding heavy dependencies.

Installation

pip install sesamum

Usage

import sesamum

# Read a file (format detected automatically)
data, metadata = sesamum.read('path/to/image.tif')

print(f"Shape: {data.shape}")
print(f"Metadata: {metadata}")

Supported Formats

  • TIFF (.tif, .tiff)
  • LSM (.lsm)
  • Nikon ND2 (.nd2)

Dependencies

  • numpy
  • tifffile
  • nd2

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

sesamum-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

sesamum-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file sesamum-0.1.0.tar.gz.

File metadata

  • Download URL: sesamum-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for sesamum-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8c8725688e1bda6a93273726e3b91bc7365d5e67bba51efd6d50c0a25ea07767
MD5 7f1b33bf058200a73c338157361738d4
BLAKE2b-256 5bd618ac858cbfaddca129ac5797087bb05c47ecfd08e95222e17ff9e206300b

See more details on using hashes here.

File details

Details for the file sesamum-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sesamum-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for sesamum-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b2d3efacdcfec756369fa44d1f586971558d22e26829071cd8a732a1a592858a
MD5 a0c17bbbfafefbc75a7f4e976288aebc
BLAKE2b-256 bb6e5233078c49aff1054fa7e0d9955f99ada11f2d3a3cc1bbe3cfa56cec3895

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