Skip to main content

sitelab

Early refactor scaffold for the Serial Imaging of Tumor and microEnvironment platform.

This package is intentionally small at first. Its first job is to make raw microscopy data inspectable and to capture channel meaning in a human-readable manifest before downstream analysis starts.

First milestone

  • Inspect an .nd2 file without loading the full image into memory.
  • Extract axes, sizes, voxel/time metadata, and raw channel names when available.
  • Create a project manifest that maps raw channels to biological roles.
  • Launch a napari viewer from the same backend manifest.

Install in a scientific Python environment

The Codex runtime used for editing may not include microscopy/GUI libraries. Install this package in the environment where you run napari and analysis:

cd path\to\sitelab
python -m pip install -e ".[nd2,viewer]"

For backend-only schema work:

python -m pip install -e .

Inspect an ND2 file

python -m sitelab inspect-nd2 `
  "..\..\data_sample\T2_40X_sample20260513_crop.nd2" `
  --out "..\..\data_sample\T2_40X_sample20260513_crop.site.json"

The output manifest is deliberately editable JSON. The first generated channel labels are placeholders; users should define biological meanings such as tumor_reporter, macrophages, lymphoid, nuclear_label, or brightfield_context.

Launch napari

python -m sitelab view-nd2 `
  "..\..\data_sample\T2_40X_sample20260513_crop.nd2" `
  --manifest "..\..\data_sample\T2_40X_sample20260513_crop.site.json"

This is the beginning of the hybrid GUI/scripting platform: the GUI should call the same importable Python objects that scripts, notebooks, and batch workflows use.

Metadata

Release files for sitelab 0.0.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 sitelab 0.0.1
File Size Uploaded Provenance Actions
sitelab-0.0.1.tar.gz 9.5 kB Without provenance Details for sitelab-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sitelab 0.0.1
File Interpreter ABI Platform Actions
sitelab-0.0.1-py3-none-any.whl Python 3 none any Details for sitelab-0.0.1-py3-none-any.whl

Total release size: 19.7 kB

Release files / sitelab-0.0.1.tar.gz

Download URL sitelab-0.0.1.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fcf88c55f933cc69d87ba8724b00c1c4442e8d81072b73b543ac735632d3e14c
BLAKE2b-256 checksum
How to use checksums
36bf55b17a0b57a23163f2557d5a71a6ff7d45482e4e8ec63f6a202ebd6fe58d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / sitelab-0.0.1-py3-none-any.whl

Download URL sitelab-0.0.1-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
756ce90c237bc084ff07f2ba19e573d2fc4346fd05c776fe66f5bacdb93f2e28
BLAKE2b-256 checksum
How to use checksums
716f2c2838666b2cf1b95d43365ab83c8bb98b7c8567c037e59a36ab241eb9d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Security for sitelab 0.0.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.0.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