roifile 2025.2.20__tar.gz → 2025.5.10__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.
Potentially problematic release.
This version of roifile might be problematic. Click here for more details.
- {roifile-2025.2.20 → roifile-2025.5.10}/CHANGES.rst +4 -0
- {roifile-2025.2.20 → roifile-2025.5.10}/LICENSE +1 -1
- {roifile-2025.2.20 → roifile-2025.5.10}/MANIFEST.in +1 -0
- {roifile-2025.2.20/roifile.egg-info → roifile-2025.5.10}/PKG-INFO +16 -10
- {roifile-2025.2.20 → roifile-2025.5.10}/README.rst +11 -6
- roifile-2025.5.10/pyproject.toml +3 -0
- roifile-2025.5.10/roifile/__init__.py +17 -0
- {roifile-2025.2.20 → roifile-2025.5.10}/roifile/roifile.py +14 -9
- {roifile-2025.2.20 → roifile-2025.5.10/roifile.egg-info}/PKG-INFO +16 -10
- {roifile-2025.2.20 → roifile-2025.5.10}/roifile.egg-info/SOURCES.txt +1 -0
- {roifile-2025.2.20 → roifile-2025.5.10}/setup.py +3 -3
- roifile-2025.2.20/roifile/__init__.py +0 -4
- {roifile-2025.2.20 → roifile-2025.5.10}/roifile/__main__.py +0 -0
- {roifile-2025.2.20 → roifile-2025.5.10}/roifile/py.typed +0 -0
- {roifile-2025.2.20 → roifile-2025.5.10}/roifile.egg-info/dependency_links.txt +0 -0
- {roifile-2025.2.20 → roifile-2025.5.10}/roifile.egg-info/entry_points.txt +0 -0
- {roifile-2025.2.20 → roifile-2025.5.10}/roifile.egg-info/requires.txt +0 -0
- {roifile-2025.2.20 → roifile-2025.5.10}/roifile.egg-info/top_level.txt +0 -0
- {roifile-2025.2.20 → roifile-2025.5.10}/roifile_demo.py +0 -0
- {roifile-2025.2.20 → roifile-2025.5.10}/setup.cfg +0 -0
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: roifile
|
|
3
|
-
Version: 2025.
|
|
3
|
+
Version: 2025.5.10
|
|
4
4
|
Summary: Read and write ImageJ ROI format
|
|
5
5
|
Home-page: https://www.cgohlke.com
|
|
6
6
|
Author: Christoph Gohlke
|
|
7
7
|
Author-email: cgohlke@cgohlke.com
|
|
8
|
-
License: BSD
|
|
8
|
+
License: BSD-3-Clause
|
|
9
9
|
Project-URL: Bug Tracker, https://github.com/cgohlke/roifile/issues
|
|
10
10
|
Project-URL: Source Code, https://github.com/cgohlke/roifile
|
|
11
11
|
Platform: any
|
|
12
12
|
Classifier: Development Status :: 4 - Beta
|
|
13
|
-
Classifier: License :: OSI Approved :: BSD License
|
|
14
13
|
Classifier: Intended Audience :: Science/Research
|
|
15
14
|
Classifier: Intended Audience :: Developers
|
|
16
15
|
Classifier: Operating System :: OS Independent
|
|
@@ -19,6 +18,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.11
|
|
20
19
|
Classifier: Programming Language :: Python :: 3.12
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
22
22
|
Requires-Python: >=3.10
|
|
23
23
|
Description-Content-Type: text/x-rst
|
|
24
24
|
License-File: LICENSE
|
|
@@ -33,6 +33,7 @@ Dynamic: description
|
|
|
33
33
|
Dynamic: description-content-type
|
|
34
34
|
Dynamic: home-page
|
|
35
35
|
Dynamic: license
|
|
36
|
+
Dynamic: license-file
|
|
36
37
|
Dynamic: platform
|
|
37
38
|
Dynamic: project-url
|
|
38
39
|
Dynamic: provides-extra
|
|
@@ -50,8 +51,8 @@ interest, geometric shapes, paths, text, and whatnot for image overlays.
|
|
|
50
51
|
.. _ImageJ: https://imagej.net
|
|
51
52
|
|
|
52
53
|
:Author: `Christoph Gohlke <https://www.cgohlke.com>`_
|
|
53
|
-
:License: BSD
|
|
54
|
-
:Version: 2025.
|
|
54
|
+
:License: BSD-3-Clause
|
|
55
|
+
:Version: 2025.5.10
|
|
55
56
|
:DOI: `10.5281/zenodo.6941603 <https://doi.org/10.5281/zenodo.6941603>`_
|
|
56
57
|
|
|
57
58
|
Quickstart
|
|
@@ -77,14 +78,18 @@ Requirements
|
|
|
77
78
|
This revision was tested with the following requirements and dependencies
|
|
78
79
|
(other versions may work):
|
|
79
80
|
|
|
80
|
-
- `CPython <https://www.python.org>`_ 3.10.11, 3.11.9, 3.12.
|
|
81
|
-
- `NumPy <https://pypi.org/project/numpy/>`_ 2.2.
|
|
82
|
-
- `Tifffile <https://pypi.org/project/tifffile/>`_ 2025.
|
|
83
|
-
- `Matplotlib <https://pypi.org/project/matplotlib/>`_ 3.10.
|
|
81
|
+
- `CPython <https://www.python.org>`_ 3.10.11, 3.11.9, 3.12.10, 3.13.3 64-bit
|
|
82
|
+
- `NumPy <https://pypi.org/project/numpy/>`_ 2.2.5
|
|
83
|
+
- `Tifffile <https://pypi.org/project/tifffile/>`_ 2025.5.10 (optional)
|
|
84
|
+
- `Matplotlib <https://pypi.org/project/matplotlib/>`_ 3.10.3 (optional)
|
|
84
85
|
|
|
85
86
|
Revisions
|
|
86
87
|
---------
|
|
87
88
|
|
|
89
|
+
2025.5.10
|
|
90
|
+
|
|
91
|
+
- Support Python 3.14.
|
|
92
|
+
|
|
88
93
|
2025.2.20
|
|
89
94
|
|
|
90
95
|
- Drop support for Python 3.9.
|
|
@@ -199,6 +204,7 @@ Read the ROIs from the ZIP file:
|
|
|
199
204
|
|
|
200
205
|
Write the ROIs to an ImageJ formatted TIFF file:
|
|
201
206
|
|
|
207
|
+
>>> import numpy
|
|
202
208
|
>>> import tifffile
|
|
203
209
|
>>> tifffile.imwrite(
|
|
204
210
|
... '_test.tif',
|
|
@@ -11,8 +11,8 @@ interest, geometric shapes, paths, text, and whatnot for image overlays.
|
|
|
11
11
|
.. _ImageJ: https://imagej.net
|
|
12
12
|
|
|
13
13
|
:Author: `Christoph Gohlke <https://www.cgohlke.com>`_
|
|
14
|
-
:License: BSD
|
|
15
|
-
:Version: 2025.
|
|
14
|
+
:License: BSD-3-Clause
|
|
15
|
+
:Version: 2025.5.10
|
|
16
16
|
:DOI: `10.5281/zenodo.6941603 <https://doi.org/10.5281/zenodo.6941603>`_
|
|
17
17
|
|
|
18
18
|
Quickstart
|
|
@@ -38,14 +38,18 @@ Requirements
|
|
|
38
38
|
This revision was tested with the following requirements and dependencies
|
|
39
39
|
(other versions may work):
|
|
40
40
|
|
|
41
|
-
- `CPython <https://www.python.org>`_ 3.10.11, 3.11.9, 3.12.
|
|
42
|
-
- `NumPy <https://pypi.org/project/numpy/>`_ 2.2.
|
|
43
|
-
- `Tifffile <https://pypi.org/project/tifffile/>`_ 2025.
|
|
44
|
-
- `Matplotlib <https://pypi.org/project/matplotlib/>`_ 3.10.
|
|
41
|
+
- `CPython <https://www.python.org>`_ 3.10.11, 3.11.9, 3.12.10, 3.13.3 64-bit
|
|
42
|
+
- `NumPy <https://pypi.org/project/numpy/>`_ 2.2.5
|
|
43
|
+
- `Tifffile <https://pypi.org/project/tifffile/>`_ 2025.5.10 (optional)
|
|
44
|
+
- `Matplotlib <https://pypi.org/project/matplotlib/>`_ 3.10.3 (optional)
|
|
45
45
|
|
|
46
46
|
Revisions
|
|
47
47
|
---------
|
|
48
48
|
|
|
49
|
+
2025.5.10
|
|
50
|
+
|
|
51
|
+
- Support Python 3.14.
|
|
52
|
+
|
|
49
53
|
2025.2.20
|
|
50
54
|
|
|
51
55
|
- Drop support for Python 3.9.
|
|
@@ -174,6 +178,7 @@ Write the ROIs to an ImageJ formatted TIFF file:
|
|
|
174
178
|
|
|
175
179
|
.. code-block:: python
|
|
176
180
|
|
|
181
|
+
>>> import numpy
|
|
177
182
|
>>> import tifffile
|
|
178
183
|
>>> tifffile.imwrite(
|
|
179
184
|
... '_test.tif',
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# roifile/__init__.py
|
|
2
|
+
|
|
3
|
+
from .roifile import *
|
|
4
|
+
from .roifile import __all__, __doc__, __version__
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
def _set_module() -> None:
|
|
8
|
+
"""Set __module__ attribute for all public objects."""
|
|
9
|
+
globs = globals()
|
|
10
|
+
module = globs['__name__']
|
|
11
|
+
for item in __all__:
|
|
12
|
+
obj = globs[item]
|
|
13
|
+
if hasattr(obj, '__module__'):
|
|
14
|
+
obj.__module__ = module
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
_set_module()
|
|
@@ -38,8 +38,8 @@ interest, geometric shapes, paths, text, and whatnot for image overlays.
|
|
|
38
38
|
.. _ImageJ: https://imagej.net
|
|
39
39
|
|
|
40
40
|
:Author: `Christoph Gohlke <https://www.cgohlke.com>`_
|
|
41
|
-
:License: BSD
|
|
42
|
-
:Version: 2025.
|
|
41
|
+
:License: BSD-3-Clause
|
|
42
|
+
:Version: 2025.5.10
|
|
43
43
|
:DOI: `10.5281/zenodo.6941603 <https://doi.org/10.5281/zenodo.6941603>`_
|
|
44
44
|
|
|
45
45
|
Quickstart
|
|
@@ -65,14 +65,18 @@ Requirements
|
|
|
65
65
|
This revision was tested with the following requirements and dependencies
|
|
66
66
|
(other versions may work):
|
|
67
67
|
|
|
68
|
-
- `CPython <https://www.python.org>`_ 3.10.11, 3.11.9, 3.12.
|
|
69
|
-
- `NumPy <https://pypi.org/project/numpy/>`_ 2.2.
|
|
70
|
-
- `Tifffile <https://pypi.org/project/tifffile/>`_ 2025.
|
|
71
|
-
- `Matplotlib <https://pypi.org/project/matplotlib/>`_ 3.10.
|
|
68
|
+
- `CPython <https://www.python.org>`_ 3.10.11, 3.11.9, 3.12.10, 3.13.3 64-bit
|
|
69
|
+
- `NumPy <https://pypi.org/project/numpy/>`_ 2.2.5
|
|
70
|
+
- `Tifffile <https://pypi.org/project/tifffile/>`_ 2025.5.10 (optional)
|
|
71
|
+
- `Matplotlib <https://pypi.org/project/matplotlib/>`_ 3.10.3 (optional)
|
|
72
72
|
|
|
73
73
|
Revisions
|
|
74
74
|
---------
|
|
75
75
|
|
|
76
|
+
2025.5.10
|
|
77
|
+
|
|
78
|
+
- Support Python 3.14.
|
|
79
|
+
|
|
76
80
|
2025.2.20
|
|
77
81
|
|
|
78
82
|
- Drop support for Python 3.9.
|
|
@@ -187,6 +191,7 @@ Read the ROIs from the ZIP file:
|
|
|
187
191
|
|
|
188
192
|
Write the ROIs to an ImageJ formatted TIFF file:
|
|
189
193
|
|
|
194
|
+
>>> import numpy
|
|
190
195
|
>>> import tifffile
|
|
191
196
|
>>> tifffile.imwrite(
|
|
192
197
|
... '_test.tif',
|
|
@@ -210,7 +215,7 @@ For an advanced example, see `roifile_demo.py` in the source distribution.
|
|
|
210
215
|
|
|
211
216
|
from __future__ import annotations
|
|
212
217
|
|
|
213
|
-
__version__ = '2025.
|
|
218
|
+
__version__ = '2025.5.10'
|
|
214
219
|
|
|
215
220
|
__all__ = [
|
|
216
221
|
'__version__',
|
|
@@ -1311,8 +1316,8 @@ def enumstr(v: enum.Enum | None, /) -> str:
|
|
|
1311
1316
|
|
|
1312
1317
|
|
|
1313
1318
|
def logger() -> logging.Logger:
|
|
1314
|
-
"""Return
|
|
1315
|
-
return logging.getLogger(
|
|
1319
|
+
"""Return logger for roifile module."""
|
|
1320
|
+
return logging.getLogger('roifile')
|
|
1316
1321
|
|
|
1317
1322
|
|
|
1318
1323
|
def test(verbose: bool = False) -> None:
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: roifile
|
|
3
|
-
Version: 2025.
|
|
3
|
+
Version: 2025.5.10
|
|
4
4
|
Summary: Read and write ImageJ ROI format
|
|
5
5
|
Home-page: https://www.cgohlke.com
|
|
6
6
|
Author: Christoph Gohlke
|
|
7
7
|
Author-email: cgohlke@cgohlke.com
|
|
8
|
-
License: BSD
|
|
8
|
+
License: BSD-3-Clause
|
|
9
9
|
Project-URL: Bug Tracker, https://github.com/cgohlke/roifile/issues
|
|
10
10
|
Project-URL: Source Code, https://github.com/cgohlke/roifile
|
|
11
11
|
Platform: any
|
|
12
12
|
Classifier: Development Status :: 4 - Beta
|
|
13
|
-
Classifier: License :: OSI Approved :: BSD License
|
|
14
13
|
Classifier: Intended Audience :: Science/Research
|
|
15
14
|
Classifier: Intended Audience :: Developers
|
|
16
15
|
Classifier: Operating System :: OS Independent
|
|
@@ -19,6 +18,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.11
|
|
20
19
|
Classifier: Programming Language :: Python :: 3.12
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
22
22
|
Requires-Python: >=3.10
|
|
23
23
|
Description-Content-Type: text/x-rst
|
|
24
24
|
License-File: LICENSE
|
|
@@ -33,6 +33,7 @@ Dynamic: description
|
|
|
33
33
|
Dynamic: description-content-type
|
|
34
34
|
Dynamic: home-page
|
|
35
35
|
Dynamic: license
|
|
36
|
+
Dynamic: license-file
|
|
36
37
|
Dynamic: platform
|
|
37
38
|
Dynamic: project-url
|
|
38
39
|
Dynamic: provides-extra
|
|
@@ -50,8 +51,8 @@ interest, geometric shapes, paths, text, and whatnot for image overlays.
|
|
|
50
51
|
.. _ImageJ: https://imagej.net
|
|
51
52
|
|
|
52
53
|
:Author: `Christoph Gohlke <https://www.cgohlke.com>`_
|
|
53
|
-
:License: BSD
|
|
54
|
-
:Version: 2025.
|
|
54
|
+
:License: BSD-3-Clause
|
|
55
|
+
:Version: 2025.5.10
|
|
55
56
|
:DOI: `10.5281/zenodo.6941603 <https://doi.org/10.5281/zenodo.6941603>`_
|
|
56
57
|
|
|
57
58
|
Quickstart
|
|
@@ -77,14 +78,18 @@ Requirements
|
|
|
77
78
|
This revision was tested with the following requirements and dependencies
|
|
78
79
|
(other versions may work):
|
|
79
80
|
|
|
80
|
-
- `CPython <https://www.python.org>`_ 3.10.11, 3.11.9, 3.12.
|
|
81
|
-
- `NumPy <https://pypi.org/project/numpy/>`_ 2.2.
|
|
82
|
-
- `Tifffile <https://pypi.org/project/tifffile/>`_ 2025.
|
|
83
|
-
- `Matplotlib <https://pypi.org/project/matplotlib/>`_ 3.10.
|
|
81
|
+
- `CPython <https://www.python.org>`_ 3.10.11, 3.11.9, 3.12.10, 3.13.3 64-bit
|
|
82
|
+
- `NumPy <https://pypi.org/project/numpy/>`_ 2.2.5
|
|
83
|
+
- `Tifffile <https://pypi.org/project/tifffile/>`_ 2025.5.10 (optional)
|
|
84
|
+
- `Matplotlib <https://pypi.org/project/matplotlib/>`_ 3.10.3 (optional)
|
|
84
85
|
|
|
85
86
|
Revisions
|
|
86
87
|
---------
|
|
87
88
|
|
|
89
|
+
2025.5.10
|
|
90
|
+
|
|
91
|
+
- Support Python 3.14.
|
|
92
|
+
|
|
88
93
|
2025.2.20
|
|
89
94
|
|
|
90
95
|
- Drop support for Python 3.9.
|
|
@@ -199,6 +204,7 @@ Read the ROIs from the ZIP file:
|
|
|
199
204
|
|
|
200
205
|
Write the ROIs to an ImageJ formatted TIFF file:
|
|
201
206
|
|
|
207
|
+
>>> import numpy
|
|
202
208
|
>>> import tifffile
|
|
203
209
|
>>> tifffile.imwrite(
|
|
204
210
|
... '_test.tif',
|
|
@@ -64,7 +64,7 @@ if 'sdist' in sys.argv:
|
|
|
64
64
|
license = license.replace('# ', '').replace('#', '')
|
|
65
65
|
|
|
66
66
|
with open('LICENSE', 'w', encoding='utf-8') as fh:
|
|
67
|
-
fh.write('BSD
|
|
67
|
+
fh.write('BSD-3-Clause license\n\n')
|
|
68
68
|
fh.write(license)
|
|
69
69
|
|
|
70
70
|
revisions = search(
|
|
@@ -84,7 +84,7 @@ if 'sdist' in sys.argv:
|
|
|
84
84
|
setup(
|
|
85
85
|
name='roifile',
|
|
86
86
|
version=version,
|
|
87
|
-
license='BSD',
|
|
87
|
+
license='BSD-3-Clause',
|
|
88
88
|
description=description,
|
|
89
89
|
long_description=readme,
|
|
90
90
|
long_description_content_type='text/x-rst',
|
|
@@ -105,7 +105,6 @@ setup(
|
|
|
105
105
|
platforms=['any'],
|
|
106
106
|
classifiers=[
|
|
107
107
|
'Development Status :: 4 - Beta',
|
|
108
|
-
'License :: OSI Approved :: BSD License',
|
|
109
108
|
'Intended Audience :: Science/Research',
|
|
110
109
|
'Intended Audience :: Developers',
|
|
111
110
|
'Operating System :: OS Independent',
|
|
@@ -114,5 +113,6 @@ setup(
|
|
|
114
113
|
'Programming Language :: Python :: 3.11',
|
|
115
114
|
'Programming Language :: Python :: 3.12',
|
|
116
115
|
'Programming Language :: Python :: 3.13',
|
|
116
|
+
'Programming Language :: Python :: 3.14',
|
|
117
117
|
],
|
|
118
118
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|