mdvtools 1.1__tar.gz → 1.2.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.
|
@@ -60,3 +60,21 @@ chat_debug.log
|
|
|
60
60
|
# as seen inside devcontainer
|
|
61
61
|
mdv/
|
|
62
62
|
logs/
|
|
63
|
+
|
|
64
|
+
# Playwright
|
|
65
|
+
/test-results/
|
|
66
|
+
/playwright-report/
|
|
67
|
+
/blob-report/
|
|
68
|
+
/playwright/.cache/
|
|
69
|
+
/playwright/.auth/
|
|
70
|
+
|
|
71
|
+
# Generated test data
|
|
72
|
+
tests_playwright/test-data/temp/
|
|
73
|
+
|
|
74
|
+
# Generated schema outputs (JSON & Python)
|
|
75
|
+
/schemas/chart-config-schema.json
|
|
76
|
+
/scripts/schemas/chart-config-schema.json
|
|
77
|
+
/scripts/schemas/datasource-schema.json
|
|
78
|
+
/scripts/schemas/datasources-array-schema.json
|
|
79
|
+
/python/mdvtools/llm/structured_schemas.py
|
|
80
|
+
/scripts/python/mdvtools/llm/structured_schemas.py
|
|
@@ -1,25 +1,28 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mdvtools
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.4
|
|
4
4
|
Summary: Multi Dimensional Viewer (MDV) is web based application for analyzing data
|
|
5
5
|
Project-URL: Homepage, https://github.com/Taylor-CCB-Group/MDV
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/Taylor-CCB-Group/MDV/issues
|
|
7
7
|
Author-email: Martin Sergeant <m.j.sergeant1@googlemail.com>, PeterTodd <peter.todd@well.ox.ac.uk>
|
|
8
|
-
License-Expression: GPL-3.0-only
|
|
9
8
|
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
10
9
|
Classifier: Operating System :: OS Independent
|
|
11
10
|
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Requires-Python: >=3.
|
|
13
|
-
Requires-Dist: anndata
|
|
14
|
-
Requires-Dist: fasteners
|
|
11
|
+
Requires-Python: >=3.11
|
|
12
|
+
Requires-Dist: anndata>=0.12.0
|
|
13
|
+
Requires-Dist: fasteners>=0.19
|
|
15
14
|
Requires-Dist: flask>=2.2.0
|
|
16
15
|
Requires-Dist: h5py>=3.5.0
|
|
17
16
|
Requires-Dist: mudata>=0.2.3
|
|
18
17
|
Requires-Dist: numpy>=1.22
|
|
19
|
-
Requires-Dist:
|
|
18
|
+
Requires-Dist: ome-zarr==0.13.0
|
|
19
|
+
Requires-Dist: pandas<3.0
|
|
20
|
+
Requires-Dist: polars>=1.35
|
|
20
21
|
Requires-Dist: pyyaml>=5.3
|
|
21
22
|
Requires-Dist: scanpy>=1.7.2
|
|
22
23
|
Requires-Dist: scipy>=1.7.3
|
|
24
|
+
Requires-Dist: spatialdata-io==0.6.0
|
|
25
|
+
Requires-Dist: spatialdata==0.7.2
|
|
23
26
|
Requires-Dist: typing-extensions>=4.1.0
|
|
24
27
|
Requires-Dist: werkzeug>=2.3.0
|
|
25
28
|
Description-Content-Type: text/markdown
|
|
@@ -33,7 +36,12 @@ This is a lightweight version of MDV, designed to simplify project creation and
|
|
|
33
36
|
- A method to **create static websites**, making it ideal for projects that require minimal server-side dependencies.
|
|
34
37
|
|
|
35
38
|
|
|
36
|
-
To install:-
|
|
39
|
+
To install from TestPyPi:-
|
|
40
|
+
```
|
|
41
|
+
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ mdvtools
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
To install from PyPi
|
|
37
45
|
```
|
|
38
46
|
pip install mdvtools
|
|
39
47
|
```
|
|
@@ -7,7 +7,12 @@ This is a lightweight version of MDV, designed to simplify project creation and
|
|
|
7
7
|
- A method to **create static websites**, making it ideal for projects that require minimal server-side dependencies.
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
To install:-
|
|
10
|
+
To install from TestPyPi:-
|
|
11
|
+
```
|
|
12
|
+
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ mdvtools
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
To install from PyPi
|
|
11
16
|
```
|
|
12
17
|
pip install mdvtools
|
|
13
18
|
```
|
|
@@ -4,35 +4,36 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "mdvtools"
|
|
7
|
-
version = "1.
|
|
7
|
+
version = "1.2.4"
|
|
8
8
|
authors = [
|
|
9
9
|
{ name= "Martin Sergeant", email="m.j.sergeant1@googlemail.com"},
|
|
10
10
|
{ name= "PeterTodd", email="peter.todd@well.ox.ac.uk"},
|
|
11
11
|
]
|
|
12
12
|
description = "Multi Dimensional Viewer (MDV) is web based application for analyzing data"
|
|
13
13
|
readme = "pypireadme.md"
|
|
14
|
-
requires-python = ">=3.
|
|
14
|
+
requires-python = ">=3.11"
|
|
15
15
|
classifiers = [
|
|
16
16
|
"Programming Language :: Python :: 3",
|
|
17
17
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
18
18
|
"Operating System :: OS Independent",
|
|
19
19
|
]
|
|
20
|
-
license = "GPL-3.0-only"
|
|
21
|
-
license-files = ["LICENSE"]
|
|
22
|
-
|
|
23
20
|
dependencies = [
|
|
24
|
-
"fasteners
|
|
21
|
+
"fasteners>=0.19",
|
|
22
|
+
"spatialdata==0.7.2",
|
|
23
|
+
"spatialdata-io==0.6.0",
|
|
24
|
+
"pandas<3.0",
|
|
25
25
|
"Flask>=2.2.0",
|
|
26
|
+
"ome-zarr==0.13.0",
|
|
26
27
|
"h5py>=3.5.0",
|
|
27
28
|
"mudata>=0.2.3",
|
|
28
29
|
"pyyaml>=5.3",
|
|
29
30
|
"numpy>=1.22",
|
|
30
|
-
"pandas>=1.5.0",
|
|
31
31
|
"scanpy>=1.7.2",
|
|
32
|
-
"anndata>=0.
|
|
32
|
+
"anndata>=0.12.0",
|
|
33
33
|
"scipy>=1.7.3",
|
|
34
34
|
"typing_extensions>=4.1.0",
|
|
35
|
-
"Werkzeug>=2.3.0"
|
|
35
|
+
"Werkzeug>=2.3.0",
|
|
36
|
+
"polars>=1.35"
|
|
36
37
|
]
|
|
37
38
|
|
|
38
39
|
[project.urls]
|
|
@@ -58,7 +59,16 @@ mdvtools = "mdvtools.cli:cli"
|
|
|
58
59
|
"../python/mdvtools/chart_prototypes.py" = "mdvtools/chart_prototypes.py"
|
|
59
60
|
"../python/mdvtools/logging_config.py"="mdvtools/logging_config.py"
|
|
60
61
|
"../python/mdvtools/cli.py"="mdvtools/cli.py"
|
|
62
|
+
"../python/mdvtools/spatial"="mdvtools/spatial"
|
|
63
|
+
"../python/mdvtools/network_helpers.py"="mdvtools/network_helpers.py"
|
|
64
|
+
"../python/mdvtools/build_info.py"="mdvtools/build_info.py"
|
|
65
|
+
"../python/mdvtools/markdown_utils.py"="mdvtools/markdown_utils.py"
|
|
61
66
|
|
|
67
|
+
[tool.hatch.build.targets.wheel]
|
|
68
|
+
exclude = [
|
|
69
|
+
"mdvtools/static/**/*.map",
|
|
70
|
+
"mdvtools/static/**/*.js.map",
|
|
71
|
+
]
|
|
62
72
|
|
|
63
73
|
|
|
64
74
|
|
|
@@ -2,29 +2,45 @@
|
|
|
2
2
|
This folder contains a .toml file to build a scaled down version of MDVTools which has the compiled version of the JavaScript frontend and a lightweight server for local viewing/editing. Only the necessary python modules and dependencies are included and it is pip installable
|
|
3
3
|
|
|
4
4
|
To build , first of all you need to build the javascript. In the main directory:-
|
|
5
|
-
```
|
|
6
|
-
npm
|
|
5
|
+
```bash
|
|
6
|
+
npm install
|
|
7
|
+
npm run build-flask-vite
|
|
7
8
|
```
|
|
8
9
|
Make sure you have hatch installed:-
|
|
9
|
-
```
|
|
10
|
+
```bash
|
|
10
11
|
pip install hatch
|
|
11
12
|
```
|
|
12
13
|
|
|
13
14
|
Then cd to this directory (mdvtools_lite_build) and build:-
|
|
14
|
-
```
|
|
15
|
+
```bash
|
|
15
16
|
hatch build
|
|
16
17
|
```
|
|
17
18
|
|
|
18
|
-
To test, run the following script, which will create a virtual environment, activate it, install mdvtools
|
|
19
|
+
To test, run the following script, which will create a virtual environment, activate it, and install mdvtools in it.
|
|
19
20
|
```bash
|
|
20
21
|
python -m venv /path/to/venv
|
|
21
22
|
source /path/to/venv/bin/activate
|
|
22
23
|
pip install /path/to/mdv/mdvtools_lite_build
|
|
23
|
-
python -m mdvtools.serverlite /path/to/mdvproject
|
|
24
|
-
deactivate
|
|
25
|
-
rm -r /path/to/venv
|
|
26
24
|
```
|
|
27
25
|
|
|
26
|
+
In the environment you can than run various tests e.g. create and view a spatial project
|
|
27
|
+
```bash
|
|
28
|
+
mdvtools convert-spatial --serve path/to/outputproject /path/to/spatialdata
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
To upload to pypi/testpypi make sure you have twine installed:-
|
|
32
|
+
```bash
|
|
33
|
+
pip install twine
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
and then upload (assuming you are in the mdvtools_lite_build directory)
|
|
37
|
+
```bash
|
|
38
|
+
twine upload --repository testpypi dist/* #upload to test pypi
|
|
39
|
+
twine upload dist/* #upload to main repository
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
You will need a to be member of the mdvtools project and have the right permissions as you will need to authenticate
|
|
43
|
+
|
|
28
44
|
//TODO
|
|
29
45
|
include only necessary modules in the JavaScript build
|
|
30
46
|
|