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.
Files changed (80) hide show
  1. {ocdkit-0.0.1 → ocdkit-0.0.2}/.github/workflows/test_and_deploy.yml +1 -1
  2. {ocdkit-0.0.1 → ocdkit-0.0.2}/.gitignore +3 -0
  3. ocdkit-0.0.2/MANIFEST.in +9 -0
  4. {ocdkit-0.0.1/src/ocdkit.egg-info → ocdkit-0.0.2}/PKG-INFO +3 -3
  5. {ocdkit-0.0.1 → ocdkit-0.0.2}/README.md +1 -1
  6. {ocdkit-0.0.1 → ocdkit-0.0.2}/pyproject.toml +1 -1
  7. ocdkit-0.0.2/src/ocdkit/__init__.py +10 -0
  8. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/io/path.py +2 -2
  9. {ocdkit-0.0.1 → ocdkit-0.0.2/src/ocdkit.egg-info}/PKG-INFO +3 -3
  10. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit.egg-info/SOURCES.txt +1 -0
  11. ocdkit-0.0.1/src/ocdkit/__init__.py +0 -10
  12. {ocdkit-0.0.1 → ocdkit-0.0.2}/LICENSE +0 -0
  13. {ocdkit-0.0.1 → ocdkit-0.0.2}/scripts/bench_colorize.py +0 -0
  14. {ocdkit-0.0.1 → ocdkit-0.0.2}/scripts/coverage_cross_device.sh +0 -0
  15. {ocdkit-0.0.1 → ocdkit-0.0.2}/setup.cfg +0 -0
  16. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/array/__init__.py +0 -0
  17. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/array/convert.py +0 -0
  18. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/array/filters.py +0 -0
  19. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/array/imports.py +0 -0
  20. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/array/index.py +0 -0
  21. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/array/morphology.py +0 -0
  22. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/array/normalize.py +0 -0
  23. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/array/ops.py +0 -0
  24. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/array/spatial.py +0 -0
  25. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/array/transform.py +0 -0
  26. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/array/union_find.py +0 -0
  27. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/array/warp.py +0 -0
  28. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/imports.py +0 -0
  29. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/io/__init__.py +0 -0
  30. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/io/files.py +0 -0
  31. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/io/image.py +0 -0
  32. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/io/imports.py +0 -0
  33. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/io/result.py +0 -0
  34. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/load/__init__.py +0 -0
  35. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/load/module.py +0 -0
  36. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/load/object.py +0 -0
  37. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/logging/__init__.py +0 -0
  38. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/logging/handler.py +0 -0
  39. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/measure/__init__.py +0 -0
  40. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/measure/bbox.py +0 -0
  41. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/measure/diameter.py +0 -0
  42. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/measure/imports.py +0 -0
  43. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/measure/medoid.py +0 -0
  44. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/measure/metrics.py +0 -0
  45. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/plot/__init__.py +0 -0
  46. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/plot/color.py +0 -0
  47. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/plot/contour.py +0 -0
  48. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/plot/defaults.py +0 -0
  49. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/plot/display.py +0 -0
  50. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/plot/export.py +0 -0
  51. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/plot/figure.py +0 -0
  52. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/plot/grid.py +0 -0
  53. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/plot/imports.py +0 -0
  54. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/plot/label.py +0 -0
  55. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/plot/ncolor.py +0 -0
  56. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/utils/__init__.py +0 -0
  57. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/utils/collections.py +0 -0
  58. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/utils/gpu.py +0 -0
  59. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit/utils/kwargs.py +0 -0
  60. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit.egg-info/dependency_links.txt +0 -0
  61. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit.egg-info/requires.txt +0 -0
  62. {ocdkit-0.0.1 → ocdkit-0.0.2}/src/ocdkit.egg-info/top_level.txt +0 -0
  63. {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/fixtures/multichan_3c_4x4.czi +0 -0
  64. {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/fixtures/tiny_8x8.czi +0 -0
  65. {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_array.py +0 -0
  66. {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_gpu.py +0 -0
  67. {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_io.py +0 -0
  68. {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_measure.py +0 -0
  69. {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_morphology.py +0 -0
  70. {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_plot_color.py +0 -0
  71. {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_plot_contour.py +0 -0
  72. {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_plot_display.py +0 -0
  73. {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_plot_export.py +0 -0
  74. {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_plot_figure.py +0 -0
  75. {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_plot_grid.py +0 -0
  76. {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_plot_label.py +0 -0
  77. {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_plot_notebook.py +0 -0
  78. {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_registration.py +0 -0
  79. {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_slice.py +0 -0
  80. {ocdkit-0.0.1 → ocdkit-0.0.2}/tests/test_spatial.py +0 -0
@@ -30,7 +30,7 @@ jobs:
30
30
  run: |
31
31
  python -m pip install --upgrade pip
32
32
  pip install --extra-index-url https://download.pytorch.org/whl/cpu \
33
- -e . pytest pytest-cov
33
+ -e . pytest pytest-cov nbformat nbclient ipykernel ipywidgets
34
34
 
35
35
  - name: Run tests
36
36
  shell: bash
@@ -3,6 +3,9 @@
3
3
  *.py[cod]
4
4
  *$py.class
5
5
 
6
+ # Local tooling
7
+ .claude/
8
+
6
9
  # C extensions
7
10
  *.so
8
11
 
@@ -0,0 +1,9 @@
1
+ include README.md
2
+ include LICENSE
3
+ recursive-include src *.py
4
+ recursive-include tests *.py
5
+ recursive-include tests/fixtures *
6
+ prune tests/__pycache__
7
+ prune **/__pycache__
8
+ global-exclude ._*
9
+ global-exclude .DS_Store
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ocdkit
3
- Version: 0.0.1
4
- Summary: Obsessively precise utilities for array manipulation, GPU dispatch, image I/O, morphology, and plotting.
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
- Obsessively precise utilities for scientific Python array manipulation, GPU dispatch, image I/O, spatial operations, morphology, and plotting.
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
- Obsessively precise utilities for scientific Python array manipulation, GPU dispatch, image I/O, spatial operations, morphology, and plotting.
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 = "Obsessively precise utilities for array manipulation, GPU dispatch, image I/O, morphology, and plotting."
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.1
4
- Summary: Obsessively precise utilities for array manipulation, GPU dispatch, image I/O, morphology, and plotting.
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
- Obsessively precise utilities for scientific Python array manipulation, GPU dispatch, image I/O, spatial operations, morphology, and plotting.
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,5 +1,6 @@
1
1
  .gitignore
2
2
  LICENSE
3
+ MANIFEST.in
3
4
  README.md
4
5
  pyproject.toml
5
6
  .github/workflows/test_and_deploy.yml
@@ -1,10 +0,0 @@
1
- """
2
- ocdkit — Obsessively precise utilities for scientific Python.
3
-
4
- Array manipulation, GPU dispatch, image I/O, morphology, and plotting
5
- tools shared across projects.
6
- """
7
-
8
- from .load import enable_submodules
9
-
10
- enable_submodules(__name__)
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