large-image-source-deepzoom 1.28.3.dev38__tar.gz → 1.33.4__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 (15) hide show
  1. {large-image-source-deepzoom-1.28.3.dev38 → large_image_source_deepzoom-1.33.4}/PKG-INFO +21 -8
  2. {large-image-source-deepzoom-1.28.3.dev38 → large_image_source_deepzoom-1.33.4}/README.rst +33 -53
  3. {large-image-source-deepzoom-1.28.3.dev38 → large_image_source_deepzoom-1.33.4}/large_image_source_deepzoom.egg-info/PKG-INFO +21 -8
  4. large_image_source_deepzoom-1.33.4/large_image_source_deepzoom.egg-info/requires.txt +4 -0
  5. {large-image-source-deepzoom-1.28.3.dev38 → large_image_source_deepzoom-1.33.4}/pyproject.toml +4 -0
  6. {large-image-source-deepzoom-1.28.3.dev38 → large_image_source_deepzoom-1.33.4}/setup.py +5 -24
  7. large-image-source-deepzoom-1.28.3.dev38/large_image_source_deepzoom.egg-info/requires.txt +0 -4
  8. {large-image-source-deepzoom-1.28.3.dev38 → large_image_source_deepzoom-1.33.4}/LICENSE +0 -0
  9. {large-image-source-deepzoom-1.28.3.dev38 → large_image_source_deepzoom-1.33.4}/large_image_source_deepzoom/__init__.py +0 -0
  10. {large-image-source-deepzoom-1.28.3.dev38 → large_image_source_deepzoom-1.33.4}/large_image_source_deepzoom/girder_source.py +0 -0
  11. {large-image-source-deepzoom-1.28.3.dev38 → large_image_source_deepzoom-1.33.4}/large_image_source_deepzoom.egg-info/SOURCES.txt +0 -0
  12. {large-image-source-deepzoom-1.28.3.dev38 → large_image_source_deepzoom-1.33.4}/large_image_source_deepzoom.egg-info/dependency_links.txt +0 -0
  13. {large-image-source-deepzoom-1.28.3.dev38 → large_image_source_deepzoom-1.33.4}/large_image_source_deepzoom.egg-info/entry_points.txt +0 -0
  14. {large-image-source-deepzoom-1.28.3.dev38 → large_image_source_deepzoom-1.33.4}/large_image_source_deepzoom.egg-info/top_level.txt +0 -0
  15. {large-image-source-deepzoom-1.28.3.dev38 → large_image_source_deepzoom-1.33.4}/setup.cfg +0 -0
@@ -1,25 +1,38 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: large-image-source-deepzoom
3
- Version: 1.28.3.dev38
3
+ Version: 1.33.4
4
4
  Summary: A deepzoom tilesource for large_image.
5
5
  Home-page: https://github.com/girder/large_image
6
6
  Author: Kitware, Inc.
7
7
  Author-email: kitware@kitware.com
8
- License: Apache Software License 2.0
8
+ License: Apache-2.0
9
9
  Keywords: large_image,tile source
10
10
  Classifier: Development Status :: 5 - Production/Stable
11
- Classifier: License :: OSI Approved :: Apache Software License
12
11
  Classifier: Programming Language :: Python :: 3
13
- Classifier: Programming Language :: Python :: 3.8
14
12
  Classifier: Programming Language :: Python :: 3.9
15
13
  Classifier: Programming Language :: Python :: 3.10
16
14
  Classifier: Programming Language :: Python :: 3.11
17
15
  Classifier: Programming Language :: Python :: 3.12
18
- Requires-Python: >=3.8
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Requires-Python: >=3.9
18
+ Description-Content-Type: text/x-rst
19
19
  License-File: LICENSE
20
- Requires-Dist: large-image>=1.28.3.dev38
20
+ Requires-Dist: large-image>=1.33.4
21
21
  Provides-Extra: girder
22
- Requires-Dist: girder-large-image>=1.28.3.dev38; extra == "girder"
22
+ Requires-Dist: girder-large-image>=1.33.4; extra == "girder"
23
+ Dynamic: author
24
+ Dynamic: author-email
25
+ Dynamic: classifier
26
+ Dynamic: description
27
+ Dynamic: description-content-type
28
+ Dynamic: home-page
29
+ Dynamic: keywords
30
+ Dynamic: license
31
+ Dynamic: license-file
32
+ Dynamic: provides-extra
33
+ Dynamic: requires-dist
34
+ Dynamic: requires-python
35
+ Dynamic: summary
23
36
 
24
37
  A deepzoom tilesource for large_image.
25
38
 
@@ -1,25 +1,23 @@
1
1
  Large Image
2
2
  ===========
3
3
 
4
- |build-status| |codecov-io| |license-badge| |doi-badge| |pypi-badge|
4
+ .. image:: https://img.shields.io/circleci/build/github/girder/large_image.svg
5
+ :target: https://circleci.com/gh/girder/large_image
6
+ :alt: Build Status
5
7
 
6
- .. |build-status| image:: https://img.shields.io/circleci/build/github/girder/large_image.svg
7
- :target: https://circleci.com/gh/girder/large_image
8
- :alt: Build Status
8
+ .. image:: https://img.shields.io/badge/license-Apache%202-blue.svg
9
+ :target: https://raw.githubusercontent.com/girder/large_image/master/LICENSE
10
+ :alt: License
9
11
 
10
- .. |license-badge| image:: https://img.shields.io/badge/license-Apache%202-blue.svg
11
- :target: https://raw.githubusercontent.com/girder/large_image/master/LICENSE
12
- :alt: License
12
+ .. image:: https://img.shields.io/codecov/c/github/girder/large_image.svg
13
+ :target: https://codecov.io/github/girder/large_image?branch=master
14
+ :alt: codecov.io
13
15
 
14
- .. |codecov-io| image:: https://img.shields.io/codecov/c/github/girder/large_image.svg
15
- :target: https://codecov.io/github/girder/large_image?branch=master
16
- :alt: codecov.io
16
+ .. image:: https://img.shields.io/badge/DOI-10.5281%2Fzenodo.4562625-blue.svg
17
+ :target: https://doi.org/10.5281/zenodo.4562625
17
18
 
18
- .. |doi-badge| image:: https://img.shields.io/badge/DOI-10.5281%2Fzenodo.4723355-blue.svg
19
- :target: https://zenodo.org/badge/latestdoi/45569214
20
-
21
- .. |pypi-badge| image:: https://img.shields.io/pypi/v/large-image.svg?logo=python&logoColor=white
22
- :target: https://pypi.org/project/large-image/
19
+ .. image:: https://img.shields.io/pypi/v/large-image.svg?logo=python&logoColor=white
20
+ :target: https://pypi.org/project/large-image/
23
21
 
24
22
  *Python modules to work with large, multiresolution images.*
25
23
 
@@ -39,7 +37,7 @@ Highlights
39
37
  Installation
40
38
  ------------
41
39
 
42
- In addition to installing the ``large-image`` package, you'll need at least one tile source (a ``large-image-source-xxx`` package). You can install everything from the main project with one of these commands:
40
+ In addition to installing the base ``large-image`` package, you'll need at least one tile source which corresponds to your target file format(s) (a ``large-image-source-xxx`` package). You can install everything from the main project with one of these commands:
43
41
 
44
42
  Pip
45
43
  ~~~
@@ -52,7 +50,7 @@ Install all tile sources on linux::
52
50
 
53
51
  pip install large-image[all] --find-links https://girder.github.io/large_image_wheels
54
52
 
55
- Install all tile sources and all Girder plugins on linux::
53
+ When using large-image with an instance of `Girder`_, install all tile sources and all Girder plugins on linux::
56
54
 
57
55
  pip install large-image[all] girder-large-image-annotation[tasks] --find-links https://girder.github.io/large_image_wheels
58
56
 
@@ -60,8 +58,9 @@ Install all tile sources and all Girder plugins on linux::
60
58
  Conda
61
59
  ~~~~~
62
60
 
63
- Conda makes dependency management a bit easier if not on Linux. Some of the source modules are available on conda-forge. You can install the following::
61
+ Conda makes dependency management a bit easier if not on Linux. The base module, converter module, and two of the source modules are available on conda-forge. You can install the following::
64
62
 
63
+ conda install -c conda-forge large-image
65
64
  conda install -c conda-forge large-image-source-gdal
66
65
  conda install -c conda-forge large-image-source-tiff
67
66
  conda install -c conda-forge large-image-converter
@@ -118,7 +117,7 @@ Large Image consists of several Python modules designed to work together. These
118
117
 
119
118
  - ``large-image-source-deepzoom``: A tile source for reading Deepzoom tiles.
120
119
 
121
- - ``large-image-source-dicom``: A tile source for reading DICOM WSI images.
120
+ - ``large-image-source-dicom``: A tile source for reading DICOM Whole Slide Images (WSI).
122
121
 
123
122
  - ``large-image-source-gdal``: A tile source for reading geotiff files via GDAL. This handles source data with more complex transforms than the mapnik tile source.
124
123
 
@@ -128,62 +127,43 @@ Large Image consists of several Python modules designed to work together. These
128
127
 
129
128
  - ``large-image-source-nd2``: A tile source for reading nd2 (NIS Element) images.
130
129
 
131
- - ``large-image-source-ometiff``: A tile source using the tiff library that can handle some multi-frame OMETiff files.
130
+ - ``large-image-source-ometiff``: A tile source using the tiff library that can handle most multi-frame OMETiff files that are compliant with the specification.
132
131
 
133
132
  - ``large-image-source-openjpeg``: A tile source using the Glymur library to read jp2 (JPEG 2000) files.
134
133
 
135
134
  - ``large-image-source-openslide``: A tile source using the OpenSlide library. This works with svs, ndpi, Mirax, tiff, vms, and other file formats.
136
135
 
137
- - ``large-image-source-pil``: A tile source for small images via the Python Imaging Library (Pillow).
136
+ - ``large-image-source-pil``: A tile source for small images via the Python Imaging Library (Pillow). By default, the maximum size is 4096, but the maximum size can be configured.
138
137
 
139
138
  - ``large-image-source-tiff``: A tile source for reading pyramidal tiff files in common compression formats.
140
139
 
141
140
  - ``large-image-source-tifffile``: A tile source using the tifffile library that can handle a wide variety of tiff-like files.
142
141
 
143
- - ``large-image-source-vips``: A tile source for reading any files handled by libvips. This also can be used for writing tiled images from numpy arrays.
142
+ - ``large-image-source-vips``: A tile source for reading any files handled by libvips. This also can be used for writing tiled images from numpy arrays (up to 4 dimensions).
144
143
 
145
- - ``large-image-source-zarr``: A tile source using the zarr library that can handle OME-Zarr (OME-NGFF) files as well as some other zarr files.
144
+ - ``large-image-source-zarr``: A tile source using the zarr library that can handle OME-Zarr (OME-NGFF) files as well as some other zarr files. This can also be used for writing N-dimensional tiled images from numpy arrays. Written images can be saved as any supported format.
146
145
 
147
146
  - ``large-image-source-test``: A tile source that generates test tiles, including a simple fractal pattern. Useful for testing extreme zoom levels.
148
147
 
149
- - ``large-image-source-dummy``: A tile source that does nothing.
150
-
151
- Most tile sources can be used with girder-large-image. You can specific an extras_require of ``girder`` to include ``girder-large-image`` with the source.
152
-
153
- - As a Girder plugin:
154
-
155
- - ``girder-large-image``: Large Image as a Girder_ 3.x plugin.
156
- You can specify extras_require of ``tasks`` to install a Girder Worker task that can convert otherwise unreadable images to pyramidal tiff files.
157
-
158
- - ``girder-large-image-annotation``: Annotations for large images as a Girder_ 3.x plugin.
159
-
160
- - ``large-image-tasks``: A utility for running the converter via Girder Worker.
161
- You can specify an extras_require of ``girder`` to include modules needed to work with the Girder remote worker or ``worker`` to include modules needed on the remote side of the Girder remote worker. If neither is specified, some conversion tasks can be run using Girder local jobs.
162
-
163
-
164
- Developer Installation
165
- ----------------------
166
-
167
- To install all packages from source, clone the repository::
148
+ - ``large-image-source-dummy``: A tile source that does nothing. This is an absolutely minimal implementation of a tile source used for testing. If you want to create a custom tile source, start with this implementation.
168
149
 
169
- git clone https://github.com/girder/large_image.git
170
- cd large_image
171
150
 
172
- Install all packages and dependencies::
151
+ As a `Girder`_ plugin, ``large-image`` adds end points to access all of the image formats it can read both to get metadata and to act as a tile server.
152
+ In the Girder UI, ``large-image`` shows images on item pages, and can show thumbnails in item lists when browsing folders.
153
+ There is also cache management to balance memory use and speed of response in Girder when ``large-image`` is used as a tile server.
173
154
 
174
- pip install -e . -r requirements-dev.txt
155
+ Most tile sources can be used with Girder Large Image. You can specify an extras_require of ``girder`` to install the following packages:
175
156
 
176
- If you aren't developing with Girder 3, you can skip installing those components. Use ``requirements-dev-core.txt`` instead of ``requirements-dev.txt``::
157
+ - ``girder-large-image``: Large Image as a Girder 3.x plugin.
177
158
 
178
- pip install -e . -r requirements-dev-core.txt
159
+ You can install ``large-image[tasks]`` to install a Girder Worker task that can convert otherwise unreadable images to pyramidal tiff files.
179
160
 
161
+ - ``girder-large-image-annotation``: Adds models to the Girder database for supporting annotating large images. These annotations can be rendered on images. Annotations can include polygons, points, image overlays, and other types. Each annotation can have a label and metadata.
180
162
 
181
- Tile source prerequisites
182
- =========================
163
+ - ``large-image-tasks``: A utility for running the converter via Girder Worker.
183
164
 
184
- Many tile sources have complex prerequisites. These can be installed directly using your system's package manager or from some prebuilt Python wheels for Linux. The prebuilt wheels are not official packages, but they can be used by instructing pip to use them by preference::
165
+ You can specify an extras_require of ``girder`` to include modules needed to work with the Girder remote worker or ``worker`` to include modules needed on the remote side of the Girder remote worker. If neither is specified, some conversion tasks can be run using Girder local jobs.
185
166
 
186
- pip install -e . -r requirements-dev.txt --find-links https://girder.github.io/large_image_wheels
187
167
 
188
168
 
189
- .. _Girder: https://github.com/girder/girder
169
+ .. _Girder: https://girder.readthedocs.io/en/latest/
@@ -1,25 +1,38 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: large-image-source-deepzoom
3
- Version: 1.28.3.dev38
3
+ Version: 1.33.4
4
4
  Summary: A deepzoom tilesource for large_image.
5
5
  Home-page: https://github.com/girder/large_image
6
6
  Author: Kitware, Inc.
7
7
  Author-email: kitware@kitware.com
8
- License: Apache Software License 2.0
8
+ License: Apache-2.0
9
9
  Keywords: large_image,tile source
10
10
  Classifier: Development Status :: 5 - Production/Stable
11
- Classifier: License :: OSI Approved :: Apache Software License
12
11
  Classifier: Programming Language :: Python :: 3
13
- Classifier: Programming Language :: Python :: 3.8
14
12
  Classifier: Programming Language :: Python :: 3.9
15
13
  Classifier: Programming Language :: Python :: 3.10
16
14
  Classifier: Programming Language :: Python :: 3.11
17
15
  Classifier: Programming Language :: Python :: 3.12
18
- Requires-Python: >=3.8
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Requires-Python: >=3.9
18
+ Description-Content-Type: text/x-rst
19
19
  License-File: LICENSE
20
- Requires-Dist: large-image>=1.28.3.dev38
20
+ Requires-Dist: large-image>=1.33.4
21
21
  Provides-Extra: girder
22
- Requires-Dist: girder-large-image>=1.28.3.dev38; extra == "girder"
22
+ Requires-Dist: girder-large-image>=1.33.4; extra == "girder"
23
+ Dynamic: author
24
+ Dynamic: author-email
25
+ Dynamic: classifier
26
+ Dynamic: description
27
+ Dynamic: description-content-type
28
+ Dynamic: home-page
29
+ Dynamic: keywords
30
+ Dynamic: license
31
+ Dynamic: license-file
32
+ Dynamic: provides-extra
33
+ Dynamic: requires-dist
34
+ Dynamic: requires-python
35
+ Dynamic: summary
23
36
 
24
37
  A deepzoom tilesource for large_image.
25
38
 
@@ -0,0 +1,4 @@
1
+ large-image>=1.33.4
2
+
3
+ [girder]
4
+ girder-large-image>=1.33.4
@@ -1,3 +1,7 @@
1
1
  [build-system]
2
2
  requires = ["setuptools", "setuptools-scm"]
3
3
  build-backend = "setuptools.build_meta"
4
+
5
+ [tool.setuptools_scm]
6
+ fallback_version = "0.0.0"
7
+ root = "../.."
@@ -6,50 +6,32 @@ description = 'A deepzoom tilesource for large_image.'
6
6
  long_description = description + '\n\nSee the large-image package for more details.'
7
7
 
8
8
 
9
- def prerelease_local_scheme(version):
10
- """
11
- Return local scheme version unless building on master in CircleCI.
12
-
13
- This function returns the local scheme version number
14
- (e.g. 0.0.0.dev<N>+g<HASH>) unless building on CircleCI for a
15
- pre-release in which case it ignores the hash and produces a
16
- PEP440 compliant pre-release version number (e.g. 0.0.0.dev<N>).
17
- """
18
- from setuptools_scm.version import get_local_node_and_date
19
-
20
- if os.getenv('CIRCLE_BRANCH') in ('master', ):
21
- return ''
22
- else:
23
- return get_local_node_and_date(version)
24
-
25
-
26
9
  try:
27
10
  from setuptools_scm import get_version
28
11
 
29
- version = get_version(root='../..', local_scheme=prerelease_local_scheme)
12
+ version = get_version(root='../..')
30
13
  limit_version = f'>={version}' if '+' not in version and not os.getenv('TOX_ENV_NAME') else ''
31
14
  except (ImportError, LookupError):
32
15
  limit_version = ''
33
16
 
34
17
  setup(
35
18
  name='large-image-source-deepzoom',
36
- use_scm_version={'root': '../..', 'local_scheme': prerelease_local_scheme,
37
- 'fallback_version': '0.0.0'},
38
19
  description=description,
39
20
  long_description=long_description,
40
- license='Apache Software License 2.0',
21
+ long_description_content_type='text/x-rst',
22
+ license='Apache-2.0',
41
23
  author='Kitware, Inc.',
42
24
  author_email='kitware@kitware.com',
43
25
  classifiers=[
44
26
  'Development Status :: 5 - Production/Stable',
45
- 'License :: OSI Approved :: Apache Software License',
46
27
  'Programming Language :: Python :: 3',
47
- 'Programming Language :: Python :: 3.8',
48
28
  'Programming Language :: Python :: 3.9',
49
29
  'Programming Language :: Python :: 3.10',
50
30
  'Programming Language :: Python :: 3.11',
51
31
  'Programming Language :: Python :: 3.12',
32
+ 'Programming Language :: Python :: 3.13',
52
33
  ],
34
+ python_requires='>=3.9',
53
35
  install_requires=[
54
36
  f'large-image{limit_version}',
55
37
  ],
@@ -59,7 +41,6 @@ setup(
59
41
  keywords='large_image, tile source',
60
42
  packages=find_packages(exclude=['test', 'test.*']),
61
43
  url='https://github.com/girder/large_image',
62
- python_requires='>=3.8',
63
44
  entry_points={
64
45
  'large_image.source': [
65
46
  'deepzoom = large_image_source_deepzoom:DeepzoomFileTileSource',
@@ -1,4 +0,0 @@
1
- large-image>=1.28.3.dev38
2
-
3
- [girder]
4
- girder-large-image>=1.28.3.dev38