descriptron 2.3.0__tar.gz → 2.5.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: descriptron
3
- Version: 2.3.0
3
+ Version: 2.5.2
4
4
  Summary: Descriptron: image annotation, phenomics and evidence-tiered species descriptions
5
5
  Project-URL: Homepage, https://github.com/alexrvandam/Descriptron
6
6
  Author: Alex R. Van Dam
@@ -13,13 +13,13 @@ Classifier: Operating System :: OS Independent
13
13
  Classifier: Programming Language :: Python :: 3
14
14
  Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
15
15
  Requires-Python: >=3.9
16
- Requires-Dist: descriptron-core==2.3.0
17
- Requires-Dist: descriptron-gui==2.3.0
18
- Requires-Dist: descriptron-vision==2.3.0
16
+ Requires-Dist: descriptron-core==2.5.2
17
+ Requires-Dist: descriptron-gui==2.5.2
18
+ Requires-Dist: descriptron-vision==2.5.2
19
19
  Provides-Extra: llm
20
- Requires-Dist: descriptron-core[llm]==2.3.0; extra == 'llm'
20
+ Requires-Dist: descriptron-core[llm]==2.5.2; extra == 'llm'
21
21
  Provides-Extra: rag
22
- Requires-Dist: descriptron-core[rag]==2.3.0; extra == 'rag'
22
+ Requires-Dist: descriptron-core[rag]==2.5.2; extra == 'rag'
23
23
  Description-Content-Type: text/markdown
24
24
 
25
25
  # descriptron
@@ -27,11 +27,19 @@ Description-Content-Type: text/markdown
27
27
  Image annotation, phenomics and evidence-tiered species descriptions.
28
28
 
29
29
  ```bash
30
- pip install descriptron # everything
31
- descriptron-gui # the annotation GUI
30
+ pip install torch==2.10.0 torchvision==0.25.0 --index-url https://download.pytorch.org/whl/cu128 # NVIDIA; Mac/CPU: drop --index-url
31
+ SAM2_BUILD_CUDA=0 pip install git+https://github.com/facebookresearch/sam2.git # SAM2 library (Windows: set SAM2_BUILD_CUDA=0 first)
32
+ pip install descriptron # analysis programs, detectors and the GUI
33
+ descriptron-gui # first start downloads the SAM2 model file (898 MB) once
32
34
  descriptron --list # the 62 analysis programs
33
35
  ```
34
36
 
37
+ **SAM2 is not on PyPI**, so it cannot be installed with this package: install it from Meta's GitHub as above, into
38
+ the same Python (3.10 or newer; 3.12 recommended). The GUI downloads the SAM2 model file `sam2_hiera_large.pt` once
39
+ into `~/.cache/descriptron/sam2/`; if you already have it, copy it there or set `DESCRIPTRON_SAM2_CHECKPOINT`.
40
+ Step by step for Windows, macOS and Linux:
41
+ https://github.com/alexrvandam/Descriptron/blob/main/docs/INSTALL_PIP.md
42
+
35
43
  This is a convenience package with no code of its own. It installs:
36
44
 
37
45
  | | |
@@ -3,11 +3,19 @@
3
3
  Image annotation, phenomics and evidence-tiered species descriptions.
4
4
 
5
5
  ```bash
6
- pip install descriptron # everything
7
- descriptron-gui # the annotation GUI
6
+ pip install torch==2.10.0 torchvision==0.25.0 --index-url https://download.pytorch.org/whl/cu128 # NVIDIA; Mac/CPU: drop --index-url
7
+ SAM2_BUILD_CUDA=0 pip install git+https://github.com/facebookresearch/sam2.git # SAM2 library (Windows: set SAM2_BUILD_CUDA=0 first)
8
+ pip install descriptron # analysis programs, detectors and the GUI
9
+ descriptron-gui # first start downloads the SAM2 model file (898 MB) once
8
10
  descriptron --list # the 62 analysis programs
9
11
  ```
10
12
 
13
+ **SAM2 is not on PyPI**, so it cannot be installed with this package: install it from Meta's GitHub as above, into
14
+ the same Python (3.10 or newer; 3.12 recommended). The GUI downloads the SAM2 model file `sam2_hiera_large.pt` once
15
+ into `~/.cache/descriptron/sam2/`; if you already have it, copy it there or set `DESCRIPTRON_SAM2_CHECKPOINT`.
16
+ Step by step for Windows, macOS and Linux:
17
+ https://github.com/alexrvandam/Descriptron/blob/main/docs/INSTALL_PIP.md
18
+
11
19
  This is a convenience package with no code of its own. It installs:
12
20
 
13
21
  | | |
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "descriptron"
7
- version = "2.3.0"
7
+ version = "2.5.2"
8
8
  description = "Descriptron: image annotation, phenomics and evidence-tiered species descriptions"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -22,14 +22,14 @@ classifiers = [
22
22
  # what people will type, and it should give them the whole system rather than a
23
23
  # "no matching distribution" error.
24
24
  dependencies = [
25
- "descriptron-core==2.3.0",
26
- "descriptron-vision==2.3.0",
27
- "descriptron-gui==2.3.0",
25
+ "descriptron-core==2.5.2",
26
+ "descriptron-vision==2.5.2",
27
+ "descriptron-gui==2.5.2",
28
28
  ]
29
29
 
30
30
  [project.optional-dependencies]
31
- llm = ["descriptron-core[llm]==2.3.0"]
32
- rag = ["descriptron-core[rag]==2.3.0"]
31
+ llm = ["descriptron-core[llm]==2.5.2"]
32
+ rag = ["descriptron-core[rag]==2.5.2"]
33
33
 
34
34
  [project.urls]
35
35
  Homepage = "https://github.com/alexrvandam/Descriptron"
@@ -5,4 +5,4 @@ There is no code here on purpose. Import from the distributions themselves:
5
5
  from descriptron_core.cli import data_path, available
6
6
  from descriptron_vision.cli import require
7
7
  """
8
- __version__ = "2.3.0"
8
+ __version__ = "2.5.2"
File without changes
File without changes
File without changes