Skip to content

Commit e7200b5

Browse files
Add initial cli (#6)
* add validation CLI * add orthoviewer * add themes * use qtpy * add test fixture * update test matrix
1 parent c4b1e33 commit e7200b5

19 files changed

Lines changed: 4463 additions & 7 deletions

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
strategy:
3131
fail-fast: false
3232
matrix:
33-
python-version: ["3.11", "3.12", "3.13", "3.14"]
33+
python-version: ["3.11", "3.12", "3.13",]
3434
platform: [ubuntu-latest, macos-latest, windows-latest]
3535

3636
steps:

pyproject.toml

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,21 @@ classifiers = [
3030
"Programming Language :: Python :: 3.11",
3131
"Programming Language :: Python :: 3.12",
3232
"Programming Language :: Python :: 3.13",
33-
"Programming Language :: Python :: 3.14",
3433
"Typing :: Typed",
3534
]
3635
# add your package dependencies here
37-
dependencies = []
36+
dependencies = [
37+
"yaozarrs[io] >= 0.3",
38+
"typer >= 0.12",
39+
"rich >= 13",
40+
"numpy >= 1.24",
41+
"cellier[pyside]>=0.0.13",
42+
"jupyterlab>=4.5.6",
43+
"aiohttp >= 3.9",
44+
"zarr >= 3.0",
45+
"s3fs",
46+
"tensorstore",
47+
]
3848

3949
# https://peps.python.org/pep-0621/#dependencies-optional-dependencies
4050
# add dependencies for "extra" features here. Not dev dependencies.
@@ -47,17 +57,16 @@ repository = "https://github.com/kevinyamauchi/oz-viewer"
4757

4858
# Entry points
4959
# https://peps.python.org/pep-0621/#entry-points
50-
# same as console_scripts entry point
51-
# [project.scripts]
52-
# oz-viewer-cli = "oz_viewer:main_cli"
60+
[project.scripts]
61+
oz-viewer = "oz_viewer._cli:app"
5362

5463
# [project.entry-points."some.group"]
5564
# tomatoes = "oz_viewer:main_tomatoes"
5665

5766
# https://peps.python.org/pep-0735/
5867
# setup with `uv sync` or `pip install -e . --group dev`
5968
[dependency-groups]
60-
test = ["pytest", "pytest-cov"]
69+
test = ["pytest", "pytest-cov", "zarr >= 3.1", "ome-zarr"]
6170
dev = [
6271
{ include-group = "test" },
6372
"ipython",
@@ -139,3 +148,10 @@ ignore = [
139148
# https://github.com/crate-ci/typos/blob/master/docs/reference.md
140149
[tool.typos.default]
141150
extend-ignore-identifiers-re = []
151+
152+
[tool.typos.default.extend-words]
153+
# OME (Open Microscopy Environment) is a domain term, not a typo for "SOME"
154+
OME = "OME"
155+
ome = "ome"
156+
# lod = Level of Detail (graphics term), not a typo for "load"
157+
lod = "lod"

0 commit comments

Comments
 (0)