ocdkit 0.0.1__tar.gz → 0.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ocdkit-0.0.1 → ocdkit-0.0.2}/.github/workflows/test_and_deploy.yml +1 -1
- {ocdkit-0.0.1 → ocdkit-0.0.2}/.gitignore +3 -0
- ocdkit-0.0.2/MANIFEST.in +9 -0
- {ocdkit-0.0.1/src/ocdkit.egg-info → ocdkit-0.0.2}/PKG-INFO +3 -3
- {ocdkit-0.0.1 → ocdkit-0.0.2}/README.md +1 -1
- {ocdkit-0.0.1 → ocdkit-0.0.2}/pyproject.toml +1 -1
- ocdkit-0.0.2/src/ocdkit/__init__.py +10 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/io/path.py +2 -2
- {ocdkit-0.0.1 → ocdkit-0.0.2/src/ocdkit.egg-info}/PKG-INFO +3 -3
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit.egg-info/SOURCES.txt +1 -0
- ocdkit-0.0.1/src/ocdkit/__init__.py +0 -10
- {ocdkit-0.0.1 → ocdkit-0.0.2}/LICENSE +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/scripts/bench_colorize.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/scripts/coverage_cross_device.sh +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/setup.cfg +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/array/__init__.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/array/convert.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/array/filters.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/array/imports.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/array/index.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/array/morphology.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/array/normalize.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/array/ops.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/array/spatial.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/array/transform.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/array/union_find.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/array/warp.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/imports.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/io/__init__.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/io/files.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/io/image.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/io/imports.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/io/result.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/load/__init__.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/load/module.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/load/object.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/logging/__init__.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/logging/handler.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/measure/__init__.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/measure/bbox.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/measure/diameter.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/measure/imports.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/measure/medoid.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/measure/metrics.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/plot/__init__.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/plot/color.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/plot/contour.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/plot/defaults.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/plot/display.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/plot/export.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/plot/figure.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/plot/grid.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/plot/imports.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/plot/label.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/plot/ncolor.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/utils/__init__.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/utils/collections.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/utils/gpu.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/utils/kwargs.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit.egg-info/dependency_links.txt +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit.egg-info/requires.txt +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit.egg-info/top_level.txt +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/fixtures/multichan_3c_4x4.czi +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/fixtures/tiny_8x8.czi +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_array.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_gpu.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_io.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_measure.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_morphology.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_plot_color.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_plot_contour.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_plot_display.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_plot_export.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_plot_figure.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_plot_grid.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_plot_label.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_plot_notebook.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_registration.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_slice.py +0 -0
- {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_spatial.py +0 -0
ocdkit-0.0.2/MANIFEST.in
ADDED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ocdkit
|
|
3
|
-
Version: 0.0.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 0.0.2
|
|
4
|
+
Summary: Obsessive Coder's Dependency Toolkit — Python utilities for array manipulation, GPU dispatch, image I/O, morphology, and plotting.
|
|
5
5
|
License: BSD-3-Clause
|
|
6
6
|
Requires-Python: >=3.9
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
@@ -27,7 +27,7 @@ Dynamic: license-file
|
|
|
27
27
|
|
|
28
28
|
# ocdkit
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
**Obsessive Coder's Dependency Toolkit** — Python utilities for array manipulation, GPU dispatch, image I/O, spatial operations, morphology, and plotting.
|
|
31
31
|
|
|
32
32
|
## Install
|
|
33
33
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ocdkit
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**Obsessive Coder's Dependency Toolkit** — Python utilities for array manipulation, GPU dispatch, image I/O, spatial operations, morphology, and plotting.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "ocdkit"
|
|
7
7
|
dynamic = ["version"]
|
|
8
|
-
description = "
|
|
8
|
+
description = "Obsessive Coder's Dependency Toolkit — Python utilities for array manipulation, GPU dispatch, image I/O, morphology, and plotting."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = {text = "BSD-3-Clause"}
|
|
11
11
|
requires-python = ">=3.9"
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""
|
|
2
|
+
ocdkit — Obsessive Coder's Dependency Toolkit.
|
|
3
|
+
|
|
4
|
+
Python utilities for array manipulation, GPU dispatch, image I/O,
|
|
5
|
+
morphology, and plotting. Designed for use across multiple projects.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from .load import enable_submodules
|
|
9
|
+
|
|
10
|
+
enable_submodules(__name__)
|
|
@@ -48,10 +48,10 @@ def adjust_file_path(file_path):
|
|
|
48
48
|
"""
|
|
49
49
|
system = platform.system()
|
|
50
50
|
if system == 'Darwin':
|
|
51
|
-
return re.sub(r'^/home/\w+', '/Volumes', file_path)
|
|
51
|
+
return re.sub(r'^/home/\w+', lambda _m: '/Volumes', file_path)
|
|
52
52
|
elif system == 'Linux':
|
|
53
53
|
home_dir = os.path.expanduser('~')
|
|
54
|
-
return re.sub(r'^/Volumes', home_dir, file_path)
|
|
54
|
+
return re.sub(r'^/Volumes', lambda _m: home_dir, file_path)
|
|
55
55
|
elif system == 'Windows':
|
|
56
56
|
home_dir = os.path.expanduser('~')
|
|
57
57
|
replace_with_home = lambda _match: home_dir
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ocdkit
|
|
3
|
-
Version: 0.0.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 0.0.2
|
|
4
|
+
Summary: Obsessive Coder's Dependency Toolkit — Python utilities for array manipulation, GPU dispatch, image I/O, morphology, and plotting.
|
|
5
5
|
License: BSD-3-Clause
|
|
6
6
|
Requires-Python: >=3.9
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
@@ -27,7 +27,7 @@ Dynamic: license-file
|
|
|
27
27
|
|
|
28
28
|
# ocdkit
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
**Obsessive Coder's Dependency Toolkit** — Python utilities for array manipulation, GPU dispatch, image I/O, spatial operations, morphology, and plotting.
|
|
31
31
|
|
|
32
32
|
## Install
|
|
33
33
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|