arrayview 0.2.2__tar.gz → 0.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.
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: arrayview
3
- Version: 0.2.2
3
+ Version: 0.2.4
4
4
  Summary: Fast multi-dimensional array viewer
5
5
  Project-URL: Home, https://github.com/oscarvanderheide/arrayview
6
- Project-URL: Source, https://github.com/yourname/arrayview
6
+ Project-URL: Source, https://github.com/oscarvanderheide/arrayview
7
7
  Author-email: Oscar <oscarvanderheide@example.com>
8
8
  License: MIT
9
9
  License-File: LICENSE
@@ -29,16 +29,22 @@ Description-Content-Type: text/markdown
29
29
  # arrayview
30
30
 
31
31
  A fast, minimal viewer for multi-dimensional arrays, inspired by the great
32
- [arrShow](https://github.com/tsumpf/arrShow).
32
+ [arrShow](https://github.com/tsumpf/arrShow) and [sigpy's ImagePlot](https://github.com/mikgroup/sigpy/blob/5da0e8605f166be41e520ef0ef913482487611d8/sigpy/plot.py#L48).
33
33
 
34
34
  - CLI and Python useage
35
35
  - Inline in Jupyter / vscode interactive window
36
36
  - Runs locally, over SSH, and through VS Code tunnels
37
37
 
38
38
  ## CLI
39
+
39
40
  `uvx arrayview your_array.npy`
40
41
 
42
+ Opens in a native window. To open in browser, pass `--browser` flag.
43
+
41
44
  ## Python
45
+
46
+ `uv add arrayview`
47
+
42
48
  ```python
43
49
  from arrayview import view
44
50
  import numpy as np
@@ -46,5 +52,3 @@ import numpy as np
46
52
  np.random.rand(256,256,32,2)
47
53
  view(x)
48
54
  ```
49
-
50
-
@@ -1,16 +1,22 @@
1
1
  # arrayview
2
2
 
3
3
  A fast, minimal viewer for multi-dimensional arrays, inspired by the great
4
- [arrShow](https://github.com/tsumpf/arrShow).
4
+ [arrShow](https://github.com/tsumpf/arrShow) and [sigpy's ImagePlot](https://github.com/mikgroup/sigpy/blob/5da0e8605f166be41e520ef0ef913482487611d8/sigpy/plot.py#L48).
5
5
 
6
6
  - CLI and Python useage
7
7
  - Inline in Jupyter / vscode interactive window
8
8
  - Runs locally, over SSH, and through VS Code tunnels
9
9
 
10
10
  ## CLI
11
+
11
12
  `uvx arrayview your_array.npy`
12
13
 
14
+ Opens in a native window. To open in browser, pass `--browser` flag.
15
+
13
16
  ## Python
17
+
18
+ `uv add arrayview`
19
+
14
20
  ```python
15
21
  from arrayview import view
16
22
  import numpy as np
@@ -18,5 +24,3 @@ import numpy as np
18
24
  np.random.rand(256,256,32,2)
19
25
  view(x)
20
26
  ```
21
-
22
-
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "arrayview"
7
- version = "0.2.2"
7
+ version = "0.2.4"
8
8
  description = "Fast multi-dimensional array viewer"
9
9
  readme = { file = "README.md", content-type = "text/markdown" }
10
10
  requires-python = ">=3.12"
@@ -18,7 +18,7 @@ classifiers = [
18
18
  "Operating System :: OS Independent",
19
19
  ]
20
20
  keywords = ["npy", "viewer", "mri", "array", "visualization"]
21
- urls = { "Home" = "https://github.com/oscarvanderheide/arrayview", "Source" = "https://github.com/yourname/arrayview" }
21
+ urls = { "Home" = "https://github.com/oscarvanderheide/arrayview", "Source" = "https://github.com/oscarvanderheide/arrayview" }
22
22
  dependencies = [
23
23
  "fastapi>=0.129.0",
24
24
  "matplotlib>=3.9.0",
@@ -36,7 +36,7 @@ dependencies = [
36
36
  arrayview = "arrayview._app:arrayview"
37
37
 
38
38
  [tool.hatch.build.targets.wheel]
39
- packages = ["arrayview"]
39
+ packages = ["src/arrayview"]
40
40
 
41
41
  [tool.uv.sources]
42
42
  qmricolors = { git = "https://github.com/oscarvanderheide/qmricolors.git" }
@@ -1,3 +1,3 @@
1
- __version__ = "0.2.2"
1
+ __version__ = "0.2.4"
2
2
 
3
3
  from arrayview._app import arrayview, view # noqa: F401