spacr 0.0.1__py3-none-any.whl

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.
spacr/version.py ADDED
@@ -0,0 +1,19 @@
1
+ """
2
+ Copyright © 2024 Something
3
+ """
4
+
5
+ from importlib.metadata import PackageNotFoundError, version
6
+ import sys
7
+ from platform import python_version
8
+ import torch
9
+
10
+ try:
11
+ version = version("spacr")
12
+ except PackageNotFoundError:
13
+ version = "unknown"
14
+
15
+ version_str = f"""
16
+ spacr version: \t{version}
17
+ platform: \t{sys.platform}
18
+ python version: \t{python_version()}
19
+ torch version: \t{torch.__version__}"""
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) <year> Adam Veldhousen
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,64 @@
1
+ Metadata-Version: 2.1
2
+ Name: spacr
3
+ Version: 0.0.1
4
+ Summary: A brief description of your package
5
+ Home-page: https://github.com/EinarOlafsson/spacr
6
+ Author: Einar Birnir Olafsson
7
+ Author-email: olafsson@med.umich.com
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Operating System :: OS Independent
11
+ License-File: LICENSE
12
+ Requires-Dist: torch
13
+ Requires-Dist: torchvision
14
+ Requires-Dist: numpy
15
+ Requires-Dist: pandas
16
+ Requires-Dist: statsmodels
17
+ Requires-Dist: scikit-image
18
+ Requires-Dist: scikit-learn
19
+ Requires-Dist: seaborn
20
+ Requires-Dist: matplotlib
21
+ Requires-Dist: pillow
22
+ Requires-Dist: imageio
23
+ Requires-Dist: scipy
24
+ Requires-Dist: ipywidgets
25
+ Requires-Dist: mahotas
26
+ Requires-Dist: btrack
27
+ Requires-Dist: trackpy
28
+ Requires-Dist: cellpose
29
+ Requires-Dist: IPython
30
+ Requires-Dist: opencv-python-headless
31
+ Requires-Dist: umap
32
+ Requires-Dist: ttkthemes
33
+ Provides-Extra: dev
34
+ Requires-Dist: pytest >=3.9 ; extra == 'dev'
35
+ Provides-Extra: full
36
+ Requires-Dist: opencv-python ; extra == 'full'
37
+ Provides-Extra: headless
38
+ Requires-Dist: opencv-python-headless ; extra == 'headless'
39
+
40
+ # SPACR
41
+
42
+ Morphological processing toolset
43
+
44
+ ## Installation
45
+
46
+ Tkinter is need to run
47
+
48
+ ### Ubuntu
49
+
50
+ `apt-get install pyton3-tk`
51
+
52
+
53
+ ## Running
54
+
55
+ ### Measuring
56
+
57
+ `measure_gui`
58
+
59
+ pass `path/to/tif/images`
60
+
61
+ ```
62
+ code
63
+ block
64
+ ```
@@ -0,0 +1,26 @@
1
+ spacr/__init__.py,sha256=l31dOqsItFjCkgSLu8SuehjjnQ1KQhBkYSyxtXVYJyA,769
2
+ spacr/__main__.py,sha256=_qRkhbFrH_cXr7AZs6KHL8Hh4VApqNdpNCtiKn2ePTo,285
3
+ spacr/annotate_app.py,sha256=IPgZfS4TrSqbJr81P1FWUNOgCPPcS6EdQjUsXRwY-4E,19932
4
+ spacr/cli.py,sha256=wIFnKxz5rXRR6o1XMeTZ7nE9UO_-veRbDbr951Vqp5o,10629
5
+ spacr/core.py,sha256=r-i3EwmFXnLDidxmkWTs5-RwGZ-wy4IcnKJF5ntYf-M,109296
6
+ spacr/gui_mask_app.py,sha256=vNSfYQm0bhYIJ4LpdLMKscBVaSZtPbJ2txhNsiuXL3Y,9737
7
+ spacr/gui_measure_app.py,sha256=sR8bi9aQwYvZC1u-4J8E4SPUG9nP_3RMJ5dWf41DYp8,8502
8
+ spacr/gui_utils.py,sha256=4Jsy4uNSZKaFRAxRw4ohaHYFvx6QXn_3nXyD-JBGs_w,21218
9
+ spacr/io.py,sha256=LfOqy5ypqjoaRtTyUyxbepBKQnp185C5Cy8A2qb9Cv0,95569
10
+ spacr/logger.py,sha256=7Zqr3TuuOQLWT32gYr2q1qvv7x0a2JhLANmZcnBXAW8,670
11
+ spacr/mask_app.py,sha256=B6-zYXVFg-cc58gLcz-Ry6LClO2jxLitL6B2ACb0HTw,39278
12
+ spacr/measure.py,sha256=WFaPOysbCVM5f48NbBjBJj5JR-hZOWi4iFpai350Cqs,51366
13
+ spacr/old_code.py,sha256=dbgDULLqhDQhB7ASWJZk3W9pm2MSA-8t-IR-mn70-mw,3280
14
+ spacr/plot.py,sha256=KNLwQP-toD8uyivLZsJ-70ie9QXO3omlkNyyhQ09RmY,54500
15
+ spacr/sim.py,sha256=jqIp-tmqH5UT-1oNQ-6_QqnTipUEsd638NRhfrgcILk,51390
16
+ spacr/timelapse.py,sha256=_j6cSVaxOhM7mTfJuNNRKogJaIGz_fM92MIegE6Ykh0,25355
17
+ spacr/train.py,sha256=fUvh6BMwwmodSGZGUzL420leXOQW2k4WOKB_wwlwSM4,25361
18
+ spacr/umap.py,sha256=4QSrQ16Og-Ijq-SwguMQT2f20UWz1LE5HQeSLmzSl8c,29370
19
+ spacr/utils.py,sha256=g_I2IdxCtaNDownnnYnQ0114XaL2zSjBKeeQOHpY3v8,116770
20
+ spacr/version.py,sha256=axH5tnGwtgSnJHb5IDhiu4Zjk5GhLyAEDRe-rnaoFOA,409
21
+ spacr-0.0.1.dist-info/LICENSE,sha256=SR-2MeGc6SCM1UORJYyarSWY_A-JaOMFDj7ReSs9tRM,1083
22
+ spacr-0.0.1.dist-info/METADATA,sha256=2eEdG7LBuM11Qo5-AQ1Oq7uCdk00EBAQQAmR0NZQIDs,1326
23
+ spacr-0.0.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
24
+ spacr-0.0.1.dist-info/entry_points.txt,sha256=WgVTXZSjmP1ZnQ1h4mdMldCJr_a8pWW8iB1SJ1J2PJ0,203
25
+ spacr-0.0.1.dist-info/top_level.txt,sha256=GJPU8FgwRXGzKeut6JopsSRY2R8T3i9lDgya42tLInY,6
26
+ spacr-0.0.1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.42.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,5 @@
1
+ [console_scripts]
2
+ gui_annotation = spacr.annotate_app:gui_annotation
3
+ gui_make_masks = spacr.mask_app:gui_make_masks
4
+ gui_mask = spacr.gui_mask_app:gui_mask
5
+ gui_measure = spacr.gui_measure_app:gui_measure
@@ -0,0 +1 @@
1
+ spacr