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
numpytifffilend2
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1f715a601c7e7a4bab160b6d1de2d17af8dc2f7d140caae61095f07731e7f3c
|
|
| MD5 |
b2a49d4a2dbcbf02b4b24758d04162bf
|
|
| BLAKE2b-256 |
9171d623818d477d5b4c3b8c2866c1a6c995011151eb3583aff67a10b8822e3b
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
522bad4968eaaa72c1f442f7d5ebbcb080f4033357ace6672e7696cf5abeb5b6
|
|
| MD5 |
c10dd533fcca8d743fadd5797c7b07df
|
|
| BLAKE2b-256 |
fa8263dd268d586fc1a1f3649aea4eb8216924f42f0415c5ec88f34f28971751
|