dsa-helpers 1.0.2.dev1__tar.gz → 1.0.3__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 (52) hide show
  1. {dsa_helpers-1.0.2.dev1/dsa_helpers.egg-info → dsa_helpers-1.0.3}/PKG-INFO +3 -14
  2. dsa_helpers-1.0.3/README.md +13 -0
  3. dsa_helpers-1.0.3/dsa_helpers/__init__.py +6 -0
  4. dsa_helpers-1.0.3/dsa_helpers/dash/__init__.py +3 -0
  5. dsa_helpers-1.0.3/dsa_helpers/ml/__init__.py +2 -0
  6. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers/ml/datasets/__init__.py +2 -1
  7. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers/ml/object_detection/__init__.py +1 -1
  8. dsa_helpers-1.0.3/dsa_helpers/ml/transforms/__init__.py +1 -0
  9. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3/dsa_helpers.egg-info}/PKG-INFO +3 -14
  10. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/pyproject.toml +1 -1
  11. dsa_helpers-1.0.2.dev1/README.md +0 -24
  12. dsa_helpers-1.0.2.dev1/dsa_helpers/__init__.py +0 -23
  13. dsa_helpers-1.0.2.dev1/dsa_helpers/dash/__init__.py +0 -3
  14. dsa_helpers-1.0.2.dev1/dsa_helpers/ml/__init__.py +0 -20
  15. dsa_helpers-1.0.2.dev1/dsa_helpers/ml/transforms/__init__.py +0 -1
  16. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/.gitignore +0 -0
  17. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/.readthedocs.yaml +0 -0
  18. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/LICENSE +0 -0
  19. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/app.py +0 -0
  20. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/docs/requirements.txt +0 -0
  21. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/docs/source/conf.py +0 -0
  22. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/docs/source/index.rst +0 -0
  23. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers/dash/dash_paperdragon_utils.py +0 -0
  24. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers/dash/header.py +0 -0
  25. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers/dash/header_callbacks.py +0 -0
  26. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers/girder_utils.py +0 -0
  27. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers/imread.py +0 -0
  28. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers/imwrite.py +0 -0
  29. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers/ml/callbacks.py +0 -0
  30. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers/ml/datasets/SegFormerSegmentationDataset.py +0 -0
  31. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers/ml/datasets/utils.py +0 -0
  32. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers/ml/evaluate.py +0 -0
  33. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers/ml/metrics.py +0 -0
  34. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers/ml/object_detection/get_pearce_roi_images.py +0 -0
  35. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers/ml/object_detection/tile_image.py +0 -0
  36. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers/ml/object_detection/utils.py +0 -0
  37. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers/ml/segformer_semantic_segmentation/__init__.py +0 -0
  38. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers/ml/segformer_semantic_segmentation/inference.py +0 -0
  39. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers/ml/transforms/segformer_transforms.py +0 -0
  40. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers/mongo_utils.py +0 -0
  41. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers/tile_utils.py +0 -0
  42. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers/tiling.py +0 -0
  43. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers/utils.py +0 -0
  44. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers.egg-info/SOURCES.txt +0 -0
  45. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers.egg-info/dependency_links.txt +0 -0
  46. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers.egg-info/requires.txt +0 -0
  47. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/dsa_helpers.egg-info/top_level.txt +0 -0
  48. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/setup.cfg +0 -0
  49. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/tests/app/Dockerfile +0 -0
  50. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/tests/app/app.py +0 -0
  51. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/tests/docker-compose.yaml +0 -0
  52. {dsa_helpers-1.0.2.dev1 → dsa_helpers-1.0.3}/tests/test.ipynb +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: dsa_helpers
3
- Version: 1.0.2.dev1
3
+ Version: 1.0.3
4
4
  Summary: Utility functions for working with the DSA girder client.
5
5
  Author-email: "Juan C. Vizcarra" <jvizcar@emory.edu>
6
6
  Maintainer-email: "Juan C. Vizcarra" <jvizcar@emory.edu>
@@ -39,15 +39,4 @@ This Python PyPI package is found [here](https://pypi.org/project/dsa-helpers/).
39
39
  ## Extra dependencies
40
40
  If you are getting a large image error, then install large image using the instructions provided in their [GitHub page](https://github.com/girder/large_image#:~:text=pip%20install%20large%2Dimage%5Ball%5D%20%2D%2Dfind%2Dlinks%20https%3A//girder.github.io/large_image_wheels).
41
41
 
42
- ## Instructions for Development
43
- 1. Install requirements for building and distributing package:
44
- ```
45
- $ python3 -m pip install --upgrade build # for building package
46
- $ python3 -m pip install --upgrade twine # for uploading to PyPI
47
- ```
48
- 2. When ready to build:
49
- - Modify "pyproject.toml" file, change the "version" key to a different value than a version already pushed.
50
- - Run ```$ python3 -m build```. This will create a dist directory and put your new wheel and tar distribution files there.
51
- 3. To install locally for development: ```$ pip3 install dist/dsa_helpers-*.whl```, choosing the wheel version you want to test.
52
- 4. Upload to PyPI using twine: ```python3 -m twine upload --repository pypi dist/*```
53
- * You can specify specific files to upload, the line above pushes everything in dist directory.
42
+ A readthedocs for this library can be found [here](https://david-andrew-gutman-dsa-helpers.readthedocs-hosted.com/en/latest/index.html).
@@ -0,0 +1,13 @@
1
+ # Digital Slide Archive (DSA) Helpers
2
+ Digital Slide Archive Python utility library.
3
+
4
+ This library is available for installation through [Python Package Index (PyPI)](https://pypi.org/).
5
+
6
+ This library was tested using Python version 3.11.8 and uses the dependencies described in requirements.txt.
7
+
8
+ This Python PyPI package is found [here](https://pypi.org/project/dsa-helpers/).
9
+
10
+ ## Extra dependencies
11
+ If you are getting a large image error, then install large image using the instructions provided in their [GitHub page](https://github.com/girder/large_image#:~:text=pip%20install%20large%2Dimage%5Ball%5D%20%2D%2Dfind%2Dlinks%20https%3A//girder.github.io/large_image_wheels).
12
+
13
+ A readthedocs for this library can be found [here](https://david-andrew-gutman-dsa-helpers.readthedocs-hosted.com/en/latest/index.html).
@@ -0,0 +1,6 @@
1
+ # Shadow imports.
2
+ from .imread import imread
3
+ from .imwrite import imwrite
4
+
5
+ # To avoid slow downs, do not allow from dsa_helpers import * to import anything.
6
+ __all__ = []
@@ -0,0 +1,3 @@
1
+ from . import header
2
+
3
+ __all__ = []
@@ -0,0 +1,2 @@
1
+ # Modules that are imported from * notation.
2
+ __all__ = []
@@ -1,3 +1,4 @@
1
+ # Shadow import.
1
2
  from .SegFormerSegmentationDataset import SegFormerSegmentationDataset
2
3
 
3
- __all__ = ["utils"]
4
+ __all__ = []
@@ -2,4 +2,4 @@
2
2
  from .get_pearce_roi_images import get_pearce_roi_images
3
3
  from .tile_image import tile_image
4
4
 
5
- __all__ = ["utils"]
5
+ __all__ = []
@@ -0,0 +1 @@
1
+ __all__ = []
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: dsa_helpers
3
- Version: 1.0.2.dev1
3
+ Version: 1.0.3
4
4
  Summary: Utility functions for working with the DSA girder client.
5
5
  Author-email: "Juan C. Vizcarra" <jvizcar@emory.edu>
6
6
  Maintainer-email: "Juan C. Vizcarra" <jvizcar@emory.edu>
@@ -39,15 +39,4 @@ This Python PyPI package is found [here](https://pypi.org/project/dsa-helpers/).
39
39
  ## Extra dependencies
40
40
  If you are getting a large image error, then install large image using the instructions provided in their [GitHub page](https://github.com/girder/large_image#:~:text=pip%20install%20large%2Dimage%5Ball%5D%20%2D%2Dfind%2Dlinks%20https%3A//girder.github.io/large_image_wheels).
41
41
 
42
- ## Instructions for Development
43
- 1. Install requirements for building and distributing package:
44
- ```
45
- $ python3 -m pip install --upgrade build # for building package
46
- $ python3 -m pip install --upgrade twine # for uploading to PyPI
47
- ```
48
- 2. When ready to build:
49
- - Modify "pyproject.toml" file, change the "version" key to a different value than a version already pushed.
50
- - Run ```$ python3 -m build```. This will create a dist directory and put your new wheel and tar distribution files there.
51
- 3. To install locally for development: ```$ pip3 install dist/dsa_helpers-*.whl```, choosing the wheel version you want to test.
52
- 4. Upload to PyPI using twine: ```python3 -m twine upload --repository pypi dist/*```
53
- * You can specify specific files to upload, the line above pushes everything in dist directory.
42
+ A readthedocs for this library can be found [here](https://david-andrew-gutman-dsa-helpers.readthedocs-hosted.com/en/latest/index.html).
@@ -35,7 +35,7 @@ classifiers = [
35
35
  "License :: OSI Approved :: MIT License",
36
36
  ]
37
37
  keywords = ["dsa", "girder", "girder_client"]
38
- version = "v1.0.2dev1"
38
+ version = "v1.0.3"
39
39
 
40
40
  [project.urls]
41
41
  Repository = "https://github.com/Gutman-Lab/dsa-python-utils"
@@ -1,24 +0,0 @@
1
- # Digital Slide Archive (DSA) Helpers
2
- Digital Slide Archive Python utility library.
3
-
4
- This library is available for installation through [Python Package Index (PyPI)](https://pypi.org/).
5
-
6
- This library was tested using Python version 3.11.8 and uses the dependencies described in requirements.txt.
7
-
8
- This Python PyPI package is found [here](https://pypi.org/project/dsa-helpers/).
9
-
10
- ## Extra dependencies
11
- If you are getting a large image error, then install large image using the instructions provided in their [GitHub page](https://github.com/girder/large_image#:~:text=pip%20install%20large%2Dimage%5Ball%5D%20%2D%2Dfind%2Dlinks%20https%3A//girder.github.io/large_image_wheels).
12
-
13
- ## Instructions for Development
14
- 1. Install requirements for building and distributing package:
15
- ```
16
- $ python3 -m pip install --upgrade build # for building package
17
- $ python3 -m pip install --upgrade twine # for uploading to PyPI
18
- ```
19
- 2. When ready to build:
20
- - Modify "pyproject.toml" file, change the "version" key to a different value than a version already pushed.
21
- - Run ```$ python3 -m build```. This will create a dist directory and put your new wheel and tar distribution files there.
22
- 3. To install locally for development: ```$ pip3 install dist/dsa_helpers-*.whl```, choosing the wheel version you want to test.
23
- 4. Upload to PyPI using twine: ```python3 -m twine upload --repository pypi dist/*```
24
- * You can specify specific files to upload, the line above pushes everything in dist directory.
@@ -1,23 +0,0 @@
1
- # Shadow imports.
2
- from .imread import imread
3
- from .imwrite import imwrite
4
-
5
- # Make modules available.
6
- from . import girder_utils
7
- from . import dash
8
- from . import ml
9
- from . import mongo_utils
10
- from . import tiling
11
- from . import utils
12
- from . import tile_utils
13
-
14
- # Modules that should be available.
15
- __all__ = [
16
- "girder_utils",
17
- "dash",
18
- "ml",
19
- "mongo_utils",
20
- "tiling",
21
- "utils",
22
- "tile_utils",
23
- ]
@@ -1,3 +0,0 @@
1
- from . import header
2
-
3
- __all__ = ["dash_paperdragon_utils", "header_callbacks", "header"]
@@ -1,20 +0,0 @@
1
- # Allow modules to be imported.
2
- from . import (
3
- object_detection,
4
- datasets,
5
- transforms,
6
- segformer_semantic_segmentation,
7
- callbacks,
8
- evaluate,
9
- )
10
-
11
- # Modules that are imported from * notation.
12
- __all__ = [
13
- "object_detection",
14
- "datasets",
15
- "metrics",
16
- "transforms",
17
- "segformer_semantic_segmentation",
18
- "callbacks",
19
- "evaluate",
20
- ]
@@ -1 +0,0 @@
1
- __all__ = ["segformer_transforms"]
File without changes
File without changes
File without changes
File without changes