
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Work in progress
Open slidebook .sldy files in Python
slidebook-python
requires Python >= 3.9
pip install slidebook-python
from sld import SlideBook
sld = SlideBook("/path/to/file.sldy")
# How many acquisitions
print(sld.number_acquisitions)
# 4
# How many channels in first acquisition
print(sld.images[0].num_channels)
# Get data from channel 0 of the second acquisition
data = sld.images[1].data["ch_0"]
N.B. napari plugin is in development
import napari
import numpy as np
from sld import SlideBook
sld = SlideBook("/path/to/file.sldy")
viewer = napari.Viewer()
viewer.add_image((np.squeeze(sld.images[0].data["ch_0"])), name="Channel 0")
viewer.add_image((np.squeeze(sld.images[0].data["ch_1"])), name="Channel 1")
napari.run()
By default, Slidebook
will not load image data into memory. To force this, use mmap_mode=None
:
sld = SlideBook("/path/to/file.sldy", mmap_mode=None)
FAQs
Open slidebook .sldy files in Python
We found that slidebook-python demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.