Document running Python directly in the Docker image, and which functions are public
@emlynjdavies is already working on this.
Since Nov 19, 2026.
Assessment
This issue has not been assessed yet.
Description
Downstream tools call PyOPIA functions directly in the Docker image
(docker run --entrypoint python <image> -c "...") instead of needing a CLI option for
each post-processing task. On the v2.18.0 image, pyopia.io, pyopia.statistics and
pyopia.dataexport.ecotaxa run without TensorFlow or PyTorch, without network access, and
with the project folder mounted read-only. Nothing says this is supported.
Proposal (no code or CLI change):
- State in the README and the Dockerfile that running Python in the image is supported.
- Name a short list of public functions. Their signatures stay compatible across minor
releases, with new options added as optional keywords, and any change that alters
results is noted in the release notes. Starting list:- pyopia.io: load_stats, steps_from_xstats, merge_and_save_mfdataset
- pyopia.statistics: summary_from_stats, d50_from_stats, nd_from_stats, vd_from_stats,
make_montage, make_montage_scaled, PerClassConcentration - pyopia.dataexport.ecotaxa: EcotaxaExporter
Is the list right, and is this level of promise acceptable?
- Dominant language
- Jupyter Notebook
- Stars
- 19
- Forks
- 7
- Avg merge
- 10d 11h
- Merged PRs (30d)
- 1
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SINTEF/pyopia
-
Guard clean_bw against the scikit-image remove_small_objects change before lifting the <0.25 pinMay be free again @riyagoyal01 claimed this 12 days ago, and no pull request is open. Openpatch / enhancement testing
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Use explicit, per-instrument-configurable timestamp format when parsing filenames (SilCam/Holo/UVP)Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 60/100
-
patch / enhancement priority-medium
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
patch / enhancement
Difficulty 3/5 1-2 days Newbie friendliness 72/100