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.1.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.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sesamum-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 d1f715a601c7e7a4bab160b6d1de2d17af8dc2f7d140caae61095f07731e7f3c
MD5 b2a49d4a2dbcbf02b4b24758d04162bf
BLAKE2b-256 9171d623818d477d5b4c3b8c2866c1a6c995011151eb3583aff67a10b8822e3b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sesamum-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 522bad4968eaaa72c1f442f7d5ebbcb080f4033357ace6672e7696cf5abeb5b6
MD5 c10dd533fcca8d743fadd5797c7b07df
BLAKE2b-256 fa8263dd268d586fc1a1f3649aea4eb8216924f42f0415c5ec88f34f28971751

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