graph_widget 0.1.2__tar.gz → 0.1.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.
- graph_widget-0.1.4/.python-version +1 -0
- {graph_widget-0.1.2 → graph_widget-0.1.4}/PKG-INFO +28 -9
- {graph_widget-0.1.2 → graph_widget-0.1.4}/README.md +27 -8
- {graph_widget-0.1.2 → graph_widget-0.1.4}/README_DEV.md +1 -0
- graph_widget-0.1.4/bug_test.py +97 -0
- graph_widget-0.1.2/example.py → graph_widget-0.1.4/example_2.py +43 -48
- {graph_widget-0.1.2 → graph_widget-0.1.4}/pyproject.toml +1 -1
- graph_widget-0.1.4/src/graph_widget/__init__.py +22 -0
- {graph_widget-0.1.2 → graph_widget-0.1.4}/src/graph_widget/static/widget.js +42 -39
- {graph_widget-0.1.2 → graph_widget-0.1.4}/uv.lock +2 -102
- graph_widget-0.1.4/vis-forge-marimo.py +0 -0
- graph_widget-0.1.2/.python-version +0 -1
- graph_widget-0.1.2/src/graph_widget/__init__.py +0 -31
- {graph_widget-0.1.2 → graph_widget-0.1.4}/.gitignore +0 -0
- {graph_widget-0.1.2 → graph_widget-0.1.4}/data.json +0 -0
- {graph_widget-0.1.2 → graph_widget-0.1.4}/dev.py +0 -0
- {graph_widget-0.1.2 → graph_widget-0.1.4}/multi_mst.json +0 -0
- {graph_widget-0.1.2 → graph_widget-0.1.4}/src/graph_widget/dev.py +0 -0
- {graph_widget-0.1.2 → graph_widget-0.1.4}/src/graph_widget/static/widget.css +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.13
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: graph_widget
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Requires-Dist: anywidget
|
|
5
5
|
Requires-Dist: marimo
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
@@ -35,28 +35,47 @@ response = requests.get(url)
|
|
|
35
35
|
data = response.json()
|
|
36
36
|
|
|
37
37
|
repulsion_slider = mo.ui.slider(
|
|
38
|
-
start=-
|
|
38
|
+
start=-100, stop=500, step=10, value=1, debounce=False, label="Repulsion"
|
|
39
39
|
)
|
|
40
40
|
node_scale_slider = mo.ui.slider(
|
|
41
|
-
start=1, stop=
|
|
41
|
+
start=1, stop=20, step=1, value=3, debounce=True, label="Node scale"
|
|
42
42
|
)
|
|
43
|
+
colour_feature_dropdown = mo.ui.dropdown(
|
|
44
|
+
options=list(data["nodes"][3].keys()), value="kind", label="Colour by"
|
|
45
|
+
)
|
|
46
|
+
colour_scale_type_radio = mo.ui.radio(options=["diverging", "sequential"], value="diverging", label="Colour scale type")
|
|
43
47
|
|
|
44
48
|
data_graph = mo.ui.anywidget(
|
|
45
49
|
graph_widget.ForceGraphWidget(
|
|
46
50
|
data=data,
|
|
47
|
-
repulsion=
|
|
48
|
-
node_scale=
|
|
51
|
+
repulsion=2,
|
|
52
|
+
node_scale=2,
|
|
53
|
+
colour_feature="",
|
|
54
|
+
colour_scale_type=""
|
|
49
55
|
)
|
|
50
56
|
)
|
|
51
57
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
58
|
+
data_graph.repulsion = repulsion_slider.value
|
|
59
|
+
data_graph.node_scale = node_scale_slider.value
|
|
60
|
+
data_graph.colour_feature = colour_feature_dropdown.value
|
|
61
|
+
data_graph.colour_scale_type= colour_scale_type_radio.value
|
|
62
|
+
|
|
63
|
+
mo.hstack([data_graph,
|
|
64
|
+
mo.vstack([
|
|
65
|
+
repulsion_slider,
|
|
66
|
+
node_scale_slider,
|
|
67
|
+
colour_feature_dropdown,
|
|
68
|
+
colour_scale_type_radio])], justify="start")
|
|
56
69
|
|
|
57
70
|
selected = data_graph.selected_ids
|
|
58
71
|
```
|
|
59
72
|
|
|
73
|
+
### Arguments
|
|
74
|
+
- `repulsion`
|
|
75
|
+
- `node_scale`
|
|
76
|
+
- `colour_feature`
|
|
77
|
+
- `colour_scale_type`: can be empty string, or `"diverging"`
|
|
78
|
+
|
|
60
79
|
## Development
|
|
61
80
|
|
|
62
81
|
We recommend using [uv](https://github.com/astral-sh/uv) for development.
|
|
@@ -28,28 +28,47 @@ response = requests.get(url)
|
|
|
28
28
|
data = response.json()
|
|
29
29
|
|
|
30
30
|
repulsion_slider = mo.ui.slider(
|
|
31
|
-
start=-
|
|
31
|
+
start=-100, stop=500, step=10, value=1, debounce=False, label="Repulsion"
|
|
32
32
|
)
|
|
33
33
|
node_scale_slider = mo.ui.slider(
|
|
34
|
-
start=1, stop=
|
|
34
|
+
start=1, stop=20, step=1, value=3, debounce=True, label="Node scale"
|
|
35
35
|
)
|
|
36
|
+
colour_feature_dropdown = mo.ui.dropdown(
|
|
37
|
+
options=list(data["nodes"][3].keys()), value="kind", label="Colour by"
|
|
38
|
+
)
|
|
39
|
+
colour_scale_type_radio = mo.ui.radio(options=["diverging", "sequential"], value="diverging", label="Colour scale type")
|
|
36
40
|
|
|
37
41
|
data_graph = mo.ui.anywidget(
|
|
38
42
|
graph_widget.ForceGraphWidget(
|
|
39
43
|
data=data,
|
|
40
|
-
repulsion=
|
|
41
|
-
node_scale=
|
|
44
|
+
repulsion=2,
|
|
45
|
+
node_scale=2,
|
|
46
|
+
colour_feature="",
|
|
47
|
+
colour_scale_type=""
|
|
42
48
|
)
|
|
43
49
|
)
|
|
44
50
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
51
|
+
data_graph.repulsion = repulsion_slider.value
|
|
52
|
+
data_graph.node_scale = node_scale_slider.value
|
|
53
|
+
data_graph.colour_feature = colour_feature_dropdown.value
|
|
54
|
+
data_graph.colour_scale_type= colour_scale_type_radio.value
|
|
55
|
+
|
|
56
|
+
mo.hstack([data_graph,
|
|
57
|
+
mo.vstack([
|
|
58
|
+
repulsion_slider,
|
|
59
|
+
node_scale_slider,
|
|
60
|
+
colour_feature_dropdown,
|
|
61
|
+
colour_scale_type_radio])], justify="start")
|
|
49
62
|
|
|
50
63
|
selected = data_graph.selected_ids
|
|
51
64
|
```
|
|
52
65
|
|
|
66
|
+
### Arguments
|
|
67
|
+
- `repulsion`
|
|
68
|
+
- `node_scale`
|
|
69
|
+
- `colour_feature`
|
|
70
|
+
- `colour_scale_type`: can be empty string, or `"diverging"`
|
|
71
|
+
|
|
53
72
|
## Development
|
|
54
73
|
|
|
55
74
|
We recommend using [uv](https://github.com/astral-sh/uv) for development.
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import marimo
|
|
2
|
+
|
|
3
|
+
__generated_with = "0.11.6"
|
|
4
|
+
app = marimo.App(width="full")
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@app.cell
|
|
8
|
+
def _():
|
|
9
|
+
import graph_widget
|
|
10
|
+
import marimo as mo
|
|
11
|
+
return graph_widget, mo
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@app.cell
|
|
15
|
+
def _():
|
|
16
|
+
data2 = {'nodes':
|
|
17
|
+
[{"id": 1, "kind": "sample"},
|
|
18
|
+
{"id": 2, "kind": "sample"},
|
|
19
|
+
{"id": 3, "kind": "OTU", "degree": 3},
|
|
20
|
+
{"id": 4, "kind": "OTU", "degree": 2},
|
|
21
|
+
{"id": 5, "kind": "OTU", "degree": 3}],
|
|
22
|
+
"links": [
|
|
23
|
+
{"source": 1, "target": 3},
|
|
24
|
+
{"source": 1, "target": 4},
|
|
25
|
+
{"source": 1, "target": 5},
|
|
26
|
+
{"source": 2, "target": 3},
|
|
27
|
+
{"source": 1, "target": 4},
|
|
28
|
+
{"source": 1, "target": 5},
|
|
29
|
+
{"source": 2, "target": 3},
|
|
30
|
+
{"source": 2, "target": 5},
|
|
31
|
+
]}
|
|
32
|
+
return (data2,)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
@app.cell
|
|
36
|
+
def _(data2, mo):
|
|
37
|
+
repulsion_slider2 = mo.ui.slider(
|
|
38
|
+
start=-100, stop=500, step=10, value=1, debounce=False, label="Repulsion"
|
|
39
|
+
)
|
|
40
|
+
node_scale_slider2 = mo.ui.slider(
|
|
41
|
+
start=1, stop=20, step=1, value=3, debounce=True, label="Node scale"
|
|
42
|
+
)
|
|
43
|
+
colour_feature_dropdown2 = mo.ui.dropdown(
|
|
44
|
+
options=list(data2["nodes"][3].keys()), value="kind", label="Colour by"
|
|
45
|
+
)
|
|
46
|
+
return colour_feature_dropdown2, node_scale_slider2, repulsion_slider2
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
@app.cell
|
|
50
|
+
def _(
|
|
51
|
+
colour_feature_dropdown2,
|
|
52
|
+
data2,
|
|
53
|
+
graph_widget,
|
|
54
|
+
mo,
|
|
55
|
+
node_scale_slider2,
|
|
56
|
+
repulsion_slider2,
|
|
57
|
+
):
|
|
58
|
+
data_graph2 = mo.ui.anywidget(
|
|
59
|
+
graph_widget.ForceGraphWidget(
|
|
60
|
+
data=data2,
|
|
61
|
+
repulsion=repulsion_slider2.value,
|
|
62
|
+
node_scale=node_scale_slider2.value,
|
|
63
|
+
colour_feature=colour_feature_dropdown2.value
|
|
64
|
+
)
|
|
65
|
+
)
|
|
66
|
+
return (data_graph2,)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
@app.cell
|
|
70
|
+
def _(
|
|
71
|
+
colour_feature_dropdown2,
|
|
72
|
+
data_graph2,
|
|
73
|
+
mo,
|
|
74
|
+
node_scale_slider2,
|
|
75
|
+
repulsion_slider2,
|
|
76
|
+
):
|
|
77
|
+
plot2 = mo.hstack([data_graph2,
|
|
78
|
+
mo.vstack([
|
|
79
|
+
repulsion_slider2,
|
|
80
|
+
node_scale_slider2,
|
|
81
|
+
colour_feature_dropdown2])], justify="start")
|
|
82
|
+
return (plot2,)
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
@app.cell
|
|
86
|
+
def _(plot2):
|
|
87
|
+
plot2
|
|
88
|
+
return
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
@app.cell
|
|
92
|
+
def _():
|
|
93
|
+
return
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
if __name__ == "__main__":
|
|
97
|
+
app.run()
|
|
@@ -4,42 +4,21 @@ __generated_with = "0.11.6"
|
|
|
4
4
|
app = marimo.App(width="full")
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
@app.cell
|
|
8
|
-
def _():
|
|
9
|
-
import pandas as pd
|
|
10
|
-
import marimo as mo
|
|
11
|
-
return mo, pd
|
|
12
|
-
|
|
13
|
-
|
|
14
7
|
@app.cell
|
|
15
8
|
def _():
|
|
16
9
|
import graph_widget
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
@app.cell
|
|
21
|
-
def _():
|
|
22
|
-
# import json
|
|
23
|
-
# import requests
|
|
24
|
-
|
|
25
|
-
# url = "https://raw.githubusercontent.com/observablehq/sample-datasets/refs/heads/main/miserables.json"
|
|
26
|
-
# response = requests.get(url)
|
|
27
|
-
# data = response.json()
|
|
28
|
-
# for item in data["nodes"]:
|
|
29
|
-
# item["group"] = str(item["group"])
|
|
30
|
-
return
|
|
10
|
+
import marimo as mo
|
|
11
|
+
return graph_widget, mo
|
|
31
12
|
|
|
32
13
|
|
|
33
14
|
@app.cell
|
|
34
15
|
def _():
|
|
35
|
-
# with open('data.json', 'r') as file:
|
|
36
|
-
# data = json.load(file)
|
|
37
16
|
data = {'nodes':
|
|
38
|
-
[{"id": 1, "kind": "sample"},
|
|
39
|
-
{"id": 2, "kind": "sample"},
|
|
40
|
-
{"id": 3, "kind": "OTU", "degree": 3},
|
|
41
|
-
{"id": 4, "kind": "OTU", "degree": 2},
|
|
42
|
-
{"id": 5, "kind": "OTU", "degree": 3}],
|
|
17
|
+
[{"id": 1, "kind": "sample", "value": -15},
|
|
18
|
+
{"id": 2, "kind": "sample", "value": 0},
|
|
19
|
+
{"id": 3, "kind": "OTU", "degree": 3, "value": 23},
|
|
20
|
+
{"id": 4, "kind": "OTU", "degree": 2, "value": 1},
|
|
21
|
+
{"id": 5, "kind": "OTU", "degree": 3, "value": 17}],
|
|
43
22
|
"links": [
|
|
44
23
|
{"source": 1, "target": 3},
|
|
45
24
|
{"source": 1, "target": 4},
|
|
@@ -53,12 +32,6 @@ def _():
|
|
|
53
32
|
return (data,)
|
|
54
33
|
|
|
55
34
|
|
|
56
|
-
@app.cell
|
|
57
|
-
def _(data):
|
|
58
|
-
list(data["nodes"][0].keys())
|
|
59
|
-
return
|
|
60
|
-
|
|
61
|
-
|
|
62
35
|
@app.cell
|
|
63
36
|
def _(data, mo):
|
|
64
37
|
repulsion_slider = mo.ui.slider(
|
|
@@ -70,24 +43,24 @@ def _(data, mo):
|
|
|
70
43
|
colour_feature_dropdown = mo.ui.dropdown(
|
|
71
44
|
options=list(data["nodes"][3].keys()), value="kind", label="Colour by"
|
|
72
45
|
)
|
|
73
|
-
|
|
46
|
+
colour_scale_type_radio = mo.ui.radio(options=["diverging", "sequential"], value="diverging", label="Colour scale type")
|
|
47
|
+
return (
|
|
48
|
+
colour_feature_dropdown,
|
|
49
|
+
colour_scale_type_radio,
|
|
50
|
+
node_scale_slider,
|
|
51
|
+
repulsion_slider,
|
|
52
|
+
)
|
|
74
53
|
|
|
75
54
|
|
|
76
55
|
@app.cell
|
|
77
|
-
def _(
|
|
78
|
-
colour_feature_dropdown,
|
|
79
|
-
data,
|
|
80
|
-
graph_widget,
|
|
81
|
-
mo,
|
|
82
|
-
node_scale_slider,
|
|
83
|
-
repulsion_slider,
|
|
84
|
-
):
|
|
56
|
+
def _(data, graph_widget, mo):
|
|
85
57
|
data_graph = mo.ui.anywidget(
|
|
86
58
|
graph_widget.ForceGraphWidget(
|
|
87
59
|
data=data,
|
|
88
|
-
repulsion=
|
|
89
|
-
node_scale=
|
|
90
|
-
colour_feature=
|
|
60
|
+
repulsion=2,
|
|
61
|
+
node_scale=2,
|
|
62
|
+
colour_feature="",
|
|
63
|
+
colour_scale_type=""
|
|
91
64
|
)
|
|
92
65
|
)
|
|
93
66
|
return (data_graph,)
|
|
@@ -96,6 +69,22 @@ def _(
|
|
|
96
69
|
@app.cell
|
|
97
70
|
def _(
|
|
98
71
|
colour_feature_dropdown,
|
|
72
|
+
colour_scale_type_radio,
|
|
73
|
+
data_graph,
|
|
74
|
+
node_scale_slider,
|
|
75
|
+
repulsion_slider,
|
|
76
|
+
):
|
|
77
|
+
data_graph.repulsion = repulsion_slider.value
|
|
78
|
+
data_graph.node_scale = node_scale_slider.value
|
|
79
|
+
data_graph.colour_feature = colour_feature_dropdown.value
|
|
80
|
+
data_graph.colour_scale_type= colour_scale_type_radio.value
|
|
81
|
+
return
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
@app.cell
|
|
85
|
+
def _(
|
|
86
|
+
colour_feature_dropdown,
|
|
87
|
+
colour_scale_type_radio,
|
|
99
88
|
data_graph,
|
|
100
89
|
mo,
|
|
101
90
|
node_scale_slider,
|
|
@@ -105,8 +94,8 @@ def _(
|
|
|
105
94
|
mo.vstack([
|
|
106
95
|
repulsion_slider,
|
|
107
96
|
node_scale_slider,
|
|
108
|
-
colour_feature_dropdown
|
|
109
|
-
|
|
97
|
+
colour_feature_dropdown,
|
|
98
|
+
colour_scale_type_radio])], justify="start")
|
|
110
99
|
return (plot,)
|
|
111
100
|
|
|
112
101
|
|
|
@@ -135,6 +124,12 @@ def _(data, selected):
|
|
|
135
124
|
return (filtered_nodes,)
|
|
136
125
|
|
|
137
126
|
|
|
127
|
+
@app.cell
|
|
128
|
+
def _(data):
|
|
129
|
+
type(data)
|
|
130
|
+
return
|
|
131
|
+
|
|
132
|
+
|
|
138
133
|
@app.cell
|
|
139
134
|
def _():
|
|
140
135
|
return
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import importlib.metadata
|
|
2
|
+
from importlib.resources import files
|
|
3
|
+
|
|
4
|
+
import anywidget
|
|
5
|
+
import traitlets
|
|
6
|
+
|
|
7
|
+
try:
|
|
8
|
+
__version__ = importlib.metadata.version("graph_widget")
|
|
9
|
+
except importlib.metadata.PackageNotFoundError:
|
|
10
|
+
__version__ = "unknown"
|
|
11
|
+
|
|
12
|
+
class ForceGraphWidget(anywidget.AnyWidget):
|
|
13
|
+
# _esm = pathlib.Path(__file__).parent / "static" / "widget.js"
|
|
14
|
+
# _css = pathlib.Path(__file__).parent / "static" / "widget.css"
|
|
15
|
+
_esm = files("graph_widget").joinpath("static/widget.js")
|
|
16
|
+
_css = files("graph_widget").joinpath("static/widget.css")
|
|
17
|
+
data = traitlets.Dict().tag(sync=True)
|
|
18
|
+
repulsion = traitlets.Int().tag(sync=True)
|
|
19
|
+
node_scale = traitlets.Int().tag(sync=True)
|
|
20
|
+
colour_feature = traitlets.Unicode().tag(sync=True)
|
|
21
|
+
colour_scale_type = traitlets.Unicode().tag(sync=True)
|
|
22
|
+
selected_ids = traitlets.List([]).tag(sync=True)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import ForceGraph from "https://esm.sh/force-graph";
|
|
2
2
|
import { select } from "https://esm.sh/d3-selection";
|
|
3
|
-
import { extent } from "https://esm.sh/d3-array";
|
|
3
|
+
import { extent, min, max } from "https://esm.sh/d3-array";
|
|
4
4
|
import { brush } from "https://esm.sh/d3-brush@3";
|
|
5
5
|
import { forceManyBody } from "https://esm.sh/d3";
|
|
6
6
|
import { scaleLinear, scaleOrdinal, scaleIdentity } from "https://esm.sh/d3-scale";
|
|
@@ -19,6 +19,7 @@ class MyRBush extends RBush {
|
|
|
19
19
|
let local_selected_ids = []
|
|
20
20
|
let repulsion = 1;
|
|
21
21
|
let node_scale = 1;
|
|
22
|
+
let colour_scale_type = "";
|
|
22
23
|
let plot;
|
|
23
24
|
let tree;
|
|
24
25
|
let node_size = 5;
|
|
@@ -60,34 +61,17 @@ const get_feature_type = (value) => {
|
|
|
60
61
|
return 'categorical'; // Default to categorical if not numeric or hash_string
|
|
61
62
|
}
|
|
62
63
|
|
|
63
|
-
// function get_colour_scale(data, colour_feature) {
|
|
64
|
-
// const feature_values = nodes.map(node => node[colour_feature])
|
|
65
|
-
// feature_type = get_feature_type(feature_values[0])
|
|
66
|
-
// if (feature_type == 'numeric') {
|
|
67
|
-
// const domain = extent(feature_values)
|
|
68
|
-
// colour_scale = scaleLinear()
|
|
69
|
-
// .domain(domain)
|
|
70
|
-
// .range(["yellow", "blue"])
|
|
71
|
-
// } else if (feature_type == 'categorical') {
|
|
72
|
-
// const domain = extent(feature_values)
|
|
73
|
-
// colour_scale = scaleOrdinal()
|
|
74
|
-
// .domain(domain)
|
|
75
|
-
// .range(schemeCategory10);
|
|
76
|
-
// } else if (feature_type == 'hash_string') {
|
|
77
|
-
// colour_scale = scaleIdentity()
|
|
78
|
-
// }
|
|
79
|
-
// }
|
|
80
|
-
|
|
81
|
-
|
|
82
64
|
function render({ model, el }) {
|
|
83
65
|
const debouncedSaveChanges = debounce(() => model.save_changes(), 300);
|
|
84
66
|
|
|
85
67
|
const data = model.get("data");
|
|
86
68
|
repulsion = model.get("repulsion");
|
|
69
|
+
node_size = model.get("node_scale");
|
|
70
|
+
colour_scale_type = model.get("colour_scale_type");
|
|
71
|
+
colour_feature = model.get("colour_feature");
|
|
87
72
|
let global_selected_ids = model.get("selected_ids")
|
|
88
73
|
|
|
89
74
|
plot = create_plot(el, width, height, data);
|
|
90
|
-
|
|
91
75
|
model.on("change:repulsion", () => {
|
|
92
76
|
repulsion = model.get("repulsion");
|
|
93
77
|
plot.d3Force('charge', forceManyBody().strength(-repulsion));
|
|
@@ -102,23 +86,19 @@ function render({ model, el }) {
|
|
|
102
86
|
colour_feature = model.get("colour_feature");
|
|
103
87
|
let feature_values = data.nodes.map(node => node[colour_feature])
|
|
104
88
|
let feature_type = get_feature_type(feature_values[0])
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
// colour_scale = scaleOrdinal().domain(extent(feature_values)).range(schemeCategory10);
|
|
119
|
-
// } else if ( feature_type == 'hash_string') {
|
|
120
|
-
// colour_scale = scaleIdentity()
|
|
121
|
-
// }
|
|
89
|
+
if ( feature_type == "numeric" ) {
|
|
90
|
+
if ( colour_scale_type == "diverging" ) {
|
|
91
|
+
colour_scale = scaleLinear().domain([min(feature_values), 0, max(feature_values)]).range(["#0000FF80","#EEEEEE80","#FF000080"])
|
|
92
|
+
} else {
|
|
93
|
+
colour_scale = scaleLinear().domain(extent(feature_values)).range(["#FFFF0080", "#0000FF80"])
|
|
94
|
+
}
|
|
95
|
+
} else if ( feature_type == "categorical" ) {
|
|
96
|
+
colour_scale = scaleOrdinal().domain(extent(feature_values)).range(schemeCategory10)
|
|
97
|
+
} else if ( feature_type == "hash_string" ) {
|
|
98
|
+
colour_scale = scaleIdentity()
|
|
99
|
+
} else {
|
|
100
|
+
colour_scale = undefined
|
|
101
|
+
}
|
|
122
102
|
|
|
123
103
|
plot.nodeColor((d) => {
|
|
124
104
|
return global_selected_ids.includes(d.id)
|
|
@@ -126,11 +106,34 @@ function render({ model, el }) {
|
|
|
126
106
|
: local_selected_ids.includes(d.id)
|
|
127
107
|
? "rgba(255,0,0,0.5)" // Red for local_selected_ids nodes
|
|
128
108
|
: feature_type === undefined
|
|
129
|
-
? "
|
|
109
|
+
? "#4682B480" // Default colour
|
|
130
110
|
: feature_type === 'hash_string'
|
|
131
111
|
? d[colour_feature] // Use the hash string directly
|
|
132
112
|
: colour_scale(d[colour_feature])})
|
|
133
113
|
});
|
|
114
|
+
model.on("change:colour_scale_type", () => {
|
|
115
|
+
colour_feature = model.get("colour_feature");
|
|
116
|
+
colour_scale_type = model.get("colour_scale_type")
|
|
117
|
+
let feature_values = data.nodes.map(node => node[colour_feature])
|
|
118
|
+
let feature_type = get_feature_type(feature_values[0])
|
|
119
|
+
if ( feature_type == "numeric" ) {
|
|
120
|
+
if ( colour_scale_type == "diverging" ) {
|
|
121
|
+
colour_scale = scaleLinear().domain([min(feature_values), 0, max(feature_values)]).range(["#0000FF80","#EEEEEE80","#FF000080"])
|
|
122
|
+
} else {
|
|
123
|
+
colour_scale = scaleLinear().domain(extent(feature_values)).range(["#FFFF0080", "#0000FF80"])
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
plot.nodeColor((d) => {
|
|
127
|
+
return global_selected_ids.includes(d.id)
|
|
128
|
+
? "yellow"
|
|
129
|
+
: local_selected_ids.includes(d.id)
|
|
130
|
+
? "rgba(255,0,0,0.5)" // Red for local_selected_ids nodes
|
|
131
|
+
: feature_type === undefined
|
|
132
|
+
? "#4682B480" // Default colour
|
|
133
|
+
: feature_type === 'hash_string'
|
|
134
|
+
? d[colour_feature] // Use the hash string directly
|
|
135
|
+
: colour_scale(d[colour_feature])})
|
|
136
|
+
})
|
|
134
137
|
model.on("change:selected_ids", () => {
|
|
135
138
|
global_selected_ids = model.get("selected_ids");
|
|
136
139
|
plot.nodeColor((d) =>
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
version = 1
|
|
2
|
-
requires-python = ">=3.
|
|
3
|
-
resolution-markers = [
|
|
4
|
-
"python_full_version >= '3.12'",
|
|
5
|
-
"python_full_version < '3.12'",
|
|
6
|
-
]
|
|
2
|
+
requires-python = ">=3.13"
|
|
7
3
|
|
|
8
4
|
[[package]]
|
|
9
5
|
name = "anyio"
|
|
@@ -12,7 +8,6 @@ source = { registry = "https://pypi.org/simple" }
|
|
|
12
8
|
dependencies = [
|
|
13
9
|
{ name = "idna" },
|
|
14
10
|
{ name = "sniffio" },
|
|
15
|
-
{ name = "typing-extensions", marker = "python_full_version < '3.13'" },
|
|
16
11
|
]
|
|
17
12
|
sdist = { url = "https://files.pythonhosted.org/packages/a3/73/199a98fc2dae33535d6b8e8e6ec01f8c1d76c9adb096c6b7d64823038cde/anyio-4.8.0.tar.gz", hash = "sha256:1d9fe889df5212298c0c0723fa20479d1b94883a2df44bd3897aa91083316f7a", size = 181126 }
|
|
18
13
|
wheels = [
|
|
@@ -104,7 +99,7 @@ wheels = [
|
|
|
104
99
|
|
|
105
100
|
[[package]]
|
|
106
101
|
name = "graph-widget"
|
|
107
|
-
version = "0.1.
|
|
102
|
+
version = "0.1.3"
|
|
108
103
|
source = { editable = "." }
|
|
109
104
|
dependencies = [
|
|
110
105
|
{ name = "anywidget" },
|
|
@@ -157,7 +152,6 @@ dependencies = [
|
|
|
157
152
|
{ name = "pygments" },
|
|
158
153
|
{ name = "stack-data" },
|
|
159
154
|
{ name = "traitlets" },
|
|
160
|
-
{ name = "typing-extensions", marker = "python_full_version < '3.12'" },
|
|
161
155
|
]
|
|
162
156
|
sdist = { url = "https://files.pythonhosted.org/packages/36/80/4d2a072e0db7d250f134bc11676517299264ebe16d62a8619d49a78ced73/ipython-8.32.0.tar.gz", hash = "sha256:be2c91895b0b9ea7ba49d33b23e2040c352b33eb6a519cca7ce6e0c743444251", size = 5507441 }
|
|
163
157
|
wheels = [
|
|
@@ -331,16 +325,6 @@ version = "0.12.0"
|
|
|
331
325
|
source = { registry = "https://pypi.org/simple" }
|
|
332
326
|
sdist = { url = "https://files.pythonhosted.org/packages/34/7f/ef01fa880529b0cbdf33a02e690cbca7868ee0ee291bcb2ebce53f3b3043/psygnal-0.12.0.tar.gz", hash = "sha256:8d2a99803f3152c469d3642d36c04d680213a20e114245558e026695adf9a9c2", size = 104400 }
|
|
333
327
|
wheels = [
|
|
334
|
-
{ url = "https://files.pythonhosted.org/packages/48/57/d6b488dac03f65e731843c984e4677a30c48dd4c5dae3c04df7993ce3168/psygnal-0.12.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:2a9ee1e6c441074fe71765b0a96c75b19d72c8198ec5bdea7e97e06a6fe9bd41", size = 458923 },
|
|
335
|
-
{ url = "https://files.pythonhosted.org/packages/7a/fa/bab2170fc8b47a4c591e7ab821fc1fe3d4b10292753f47acba7323eb3d66/psygnal-0.12.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:0cdb387d1d6f00649c970a8084e4ae3fcd3e38ac12b5c51d086fc9e01d8f7530", size = 430113 },
|
|
336
|
-
{ url = "https://files.pythonhosted.org/packages/2e/58/91359b72fe0413626be8857122897bb9238fa7b1dd53a3ed299183a17cb6/psygnal-0.12.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b410dab639353320044856cef68bd9aa940f8e1399da2f57522356b42bc4cf5d", size = 765465 },
|
|
337
|
-
{ url = "https://files.pythonhosted.org/packages/9c/ee/869a2d6741ba3848d6cadf35a1f08535115eab67b7b1c41b2d45f467da7a/psygnal-0.12.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:cd075d7bbe82f0615cfef953ed19ca54feba08f1686b42655c02d6ade0b0beb5", size = 751927 },
|
|
338
|
-
{ url = "https://files.pythonhosted.org/packages/68/eb/c59c13a6da8263f3119a3d9faa7790e58d4fe541458197de4b2370927d52/psygnal-0.12.0-cp311-cp311-win_amd64.whl", hash = "sha256:cc763dbab05fb75f4517c8bd31ede6a4f27e68c59adca55b81a9d7bc875156e0", size = 377665 },
|
|
339
|
-
{ url = "https://files.pythonhosted.org/packages/9b/2e/6cff528f8f5dc7f60221fddca85ed52131a90b606a72c5a4085606d5217d/psygnal-0.12.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:dac134c8890e3d0e413ab701fcb56a882f9b151a6a9d625080736c36833b26ed", size = 469384 },
|
|
340
|
-
{ url = "https://files.pythonhosted.org/packages/55/9d/774d547ed1fcb079de7fc41b1e3103b261eebae7f34da5cf05909a040470/psygnal-0.12.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:bc2324cef7ba3f4d30d32895f8cb7d5cf9ad7bcfdb7955aa92a0fbfe7537ec3f", size = 426617 },
|
|
341
|
-
{ url = "https://files.pythonhosted.org/packages/b4/89/300991108d86c00e6aa84ea85e9c998e27eed59fdcb1abd3e69b9f4d62f5/psygnal-0.12.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ae2bd6edcf911fbff34ed75150e8f8dfb246ebf203514c7c1e4397cabbb1368a", size = 787401 },
|
|
342
|
-
{ url = "https://files.pythonhosted.org/packages/9e/ae/8cc64c0f1eebbc4be74a953e76e431431c770a30f28b71b48edc7f6b8288/psygnal-0.12.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:d6fbeee192beab90ca23d9d3ee3bf1eb7ef5f00e815fa53e23e402feee617242", size = 781293 },
|
|
343
|
-
{ url = "https://files.pythonhosted.org/packages/84/09/f00841834b7ae543bd232c22e557914d63d0d0430d32980883421d5981bb/psygnal-0.12.0-cp312-cp312-win_amd64.whl", hash = "sha256:25a9f2db710a6cd2566b3e0e03cf6e04d56276f36ac86b42fa22d81f9a4ac0f2", size = 381816 },
|
|
344
328
|
{ url = "https://files.pythonhosted.org/packages/cb/b4/64a06b1d9b7628c84c9ea68a6cdc9d54378bae04695e7173addb9cf46607/psygnal-0.12.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:2f4c1fed9337f57778109c397b6b9591961123ce4bbeb068115c0468964fc2b4", size = 468346 },
|
|
345
329
|
{ url = "https://files.pythonhosted.org/packages/78/be/b3df7dac845f5f6b9897e60d19c3eaed27b56b024099588db92c3b76bb21/psygnal-0.12.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2d5a953a50fc8263bb23bc558b926cf691f70c9c781c68c64c983fb8cbead910", size = 426482 },
|
|
346
330
|
{ url = "https://files.pythonhosted.org/packages/df/36/0017e838d3c63081a64e6d2252c8dda368a6d0898c7ecf689ba678fe4127/psygnal-0.12.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7a67ec8e0c8a6553dd56ed653f87c46ef652b0c512bb8c8f8c5adcff3907751f", size = 785239 },
|
|
@@ -376,24 +360,6 @@ dependencies = [
|
|
|
376
360
|
]
|
|
377
361
|
sdist = { url = "https://files.pythonhosted.org/packages/61/3a/0dc288991068a7a5819065357972572e37bd5cbbe40d76d791a826cef53c/pycrdt-0.11.1.tar.gz", hash = "sha256:e5ccf99d859e4eba7d969cbb3ab83af368f70218d02fc6538c7fbea9e388b8e7", size = 66095 }
|
|
378
362
|
wheels = [
|
|
379
|
-
{ url = "https://files.pythonhosted.org/packages/e0/ac/fdbd80fcdf96a03d8ef6a8968b254981cc3067abaf69d996f19f77fbdebf/pycrdt-0.11.1-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:68a89404bce5a634c077ebd2148e37af41a29afc0a47cdea8b1de737f71d1f59", size = 1656237 },
|
|
380
|
-
{ url = "https://files.pythonhosted.org/packages/7b/fb/a577e4e33ca03a22a6f8bb25d0a3d448b4d8e818b66ee133b403eb6a1adb/pycrdt-0.11.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:322e327109937993caa08db2eaa9a7ef1a0467188508c5e4766c64d6b0896814", size = 900221 },
|
|
381
|
-
{ url = "https://files.pythonhosted.org/packages/48/31/8530981730d51e8fb605cda5d0c5d0271eb2a00f1f53fb75bd764f17d7d2/pycrdt-0.11.1-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c3ae1aa439ee6303b7cd8e38a380671a6f4c9f6ba5a452f3961cd831bb43f891", size = 930464 },
|
|
382
|
-
{ url = "https://files.pythonhosted.org/packages/c4/ef/7f2608cfd7dcfef4a90f3e09624249d463247cc5e7cfb0859bdd542ae005/pycrdt-0.11.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:03eab086b3fbfef67194361ccf339cc866f08f9cc5951d0104034accd5b97b16", size = 1000123 },
|
|
383
|
-
{ url = "https://files.pythonhosted.org/packages/d1/7e/1b8c68c1613df14caeb76a212e76ba709f5e7467b28f998a41a3ea11f0c0/pycrdt-0.11.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d94b72aa380ef9e8418109431598d155d260423e4779a325b44212501524437b", size = 1113063 },
|
|
384
|
-
{ url = "https://files.pythonhosted.org/packages/b3/22/0cf82a4ef51642011aeabe1b5404fac9ce75b39c9f40b2c39025323c71b8/pycrdt-0.11.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a4f2111d6349fe5bfcc4c5242341c5f3bcecdf3465bec3d156e83e8ec8f9e0ef", size = 925810 },
|
|
385
|
-
{ url = "https://files.pythonhosted.org/packages/ce/7a/e7efdcb373d2cb1cc93b02bb31fb08e02085e21741823cb315c254058d33/pycrdt-0.11.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:952bdb0f947dd46f83196296946cff581c81234d83382d0d3542f45ef9c85845", size = 1012868 },
|
|
386
|
-
{ url = "https://files.pythonhosted.org/packages/c2/46/17c682bc23c0ec42fb1c01d7587aa59ba5832487c125b0acb90a23108c44/pycrdt-0.11.1-cp311-cp311-win32.whl", hash = "sha256:83b05e2d235657bed03559949343df94ba5bde15732cd4dcf3f7491188a4e59f", size = 665388 },
|
|
387
|
-
{ url = "https://files.pythonhosted.org/packages/06/b8/e5846e3cbba069b288aecfd0a8b68acb005af174aafbb54f91aa6a8c383c/pycrdt-0.11.1-cp311-cp311-win_amd64.whl", hash = "sha256:7a072ea2884dc45585c220456015ecb1e89ad43a584a951647c57f3934c2241b", size = 700573 },
|
|
388
|
-
{ url = "https://files.pythonhosted.org/packages/95/13/59d7c4859f8729b56322a8e30d5d6d715b3e15c6e5a740ac3d3e564e094e/pycrdt-0.11.1-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:fdb6b0d6620caf1be0b6a829a9eae6ffeec1d9e7d9ec4bcc4c3b3f21922d43c5", size = 1642453 },
|
|
389
|
-
{ url = "https://files.pythonhosted.org/packages/ca/46/b619036cc42e4d1490b14f573047d439c196502ce67f57b9483411cfd33e/pycrdt-0.11.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:586ef115355660e2a355e6b660a71c8984ae5f7156dbcc7da760086afa2b5c7c", size = 900167 },
|
|
390
|
-
{ url = "https://files.pythonhosted.org/packages/67/3c/2e8808b7535418221d0593452385ee438d95694cf4a6eec56aa6cb0763a0/pycrdt-0.11.1-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:afbd19b14b491aca52d0d31f5615234c584a088bbf1f4dab69d84a27cfe41cb3", size = 931947 },
|
|
391
|
-
{ url = "https://files.pythonhosted.org/packages/16/51/55a5d1f2a003feb5499048400d682a05f72d5d54582a962dbeb0f774100d/pycrdt-0.11.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b8e6169d225300da8bd2562ff70e8ddbd7b6c59da2ab9c9aa0c353211186670d", size = 999232 },
|
|
392
|
-
{ url = "https://files.pythonhosted.org/packages/0b/d6/2f4434838ccff250a5a9339fbace7c7c76176541c49859f3baace0f691f4/pycrdt-0.11.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7289a9ffd5075fe8d15ffdeeedeaec85f53b4b811910b7f46b30bfbf44b7706a", size = 1110753 },
|
|
393
|
-
{ url = "https://files.pythonhosted.org/packages/54/76/a76d906ac96ddce5c3a9bad6ef327be5e4bcb7938f697919d50b0e63354b/pycrdt-0.11.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:14fe51af6112594980c8a6afc47702ef9ec8b9dc834ca0af86afecc866e4327e", size = 926634 },
|
|
394
|
-
{ url = "https://files.pythonhosted.org/packages/6a/90/495ce70d7e081a85f71dd19f0d505b9ef50e362d8ce5658c10aa18acd22b/pycrdt-0.11.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:590c477195f5752245aa7915c0fb307b3904974fd801b49008ff7fbea018faf6", size = 1014669 },
|
|
395
|
-
{ url = "https://files.pythonhosted.org/packages/0a/72/291cf573abf5af09a3baf8cc5a1103a7fa8cc74c135e0d19eeb46f6b080a/pycrdt-0.11.1-cp312-cp312-win32.whl", hash = "sha256:6f0fd26ce4fa5a99447300ed43fae88927ec665a66213ba4c53915d5f79c03b3", size = 664395 },
|
|
396
|
-
{ url = "https://files.pythonhosted.org/packages/62/15/a426c0b230a1cd0dbc93940e086bd6fd40ece31dd02354d3251578c9e2bd/pycrdt-0.11.1-cp312-cp312-win_amd64.whl", hash = "sha256:31d2271d4ee5b1f76a959118316b4d17e8bafe0220eecc18d47a1f931c4ccd26", size = 702142 },
|
|
397
363
|
{ url = "https://files.pythonhosted.org/packages/34/76/0f00df6f4026d2202bed9f4c2d2d5405e0f0ff0305bf193961a72d837bf6/pycrdt-0.11.1-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:3dab8f453d40aaa159e3d55bb7539f0f479584c5c3aab13726cec138b0d6367b", size = 1641832 },
|
|
398
364
|
{ url = "https://files.pythonhosted.org/packages/59/f0/d3a146debb211392adca33ec780bc54368dfee2f84302b6a5b6a330fe7ec/pycrdt-0.11.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c5d0d60294631eb29dd44b0aa926d81bb1856436b45b01c914aa44b98b382659", size = 900272 },
|
|
399
365
|
{ url = "https://files.pythonhosted.org/packages/3d/05/5a52575dcdef622b08c4633eb150b844c7b710949ec58ceea4bbe6d1a5a7/pycrdt-0.11.1-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a24c05060800f5f735a09172a4d0fa1680ef5ec3b6f50fad3ae7ae65446932ad", size = 931034 },
|
|
@@ -433,24 +399,6 @@ version = "6.0.2"
|
|
|
433
399
|
source = { registry = "https://pypi.org/simple" }
|
|
434
400
|
sdist = { url = "https://files.pythonhosted.org/packages/54/ed/79a089b6be93607fa5cdaedf301d7dfb23af5f25c398d5ead2525b063e17/pyyaml-6.0.2.tar.gz", hash = "sha256:d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e", size = 130631 }
|
|
435
401
|
wheels = [
|
|
436
|
-
{ url = "https://files.pythonhosted.org/packages/f8/aa/7af4e81f7acba21a4c6be026da38fd2b872ca46226673c89a758ebdc4fd2/PyYAML-6.0.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:cc1c1159b3d456576af7a3e4d1ba7e6924cb39de8f67111c735f6fc832082774", size = 184612 },
|
|
437
|
-
{ url = "https://files.pythonhosted.org/packages/8b/62/b9faa998fd185f65c1371643678e4d58254add437edb764a08c5a98fb986/PyYAML-6.0.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1e2120ef853f59c7419231f3bf4e7021f1b936f6ebd222406c3b60212205d2ee", size = 172040 },
|
|
438
|
-
{ url = "https://files.pythonhosted.org/packages/ad/0c/c804f5f922a9a6563bab712d8dcc70251e8af811fce4524d57c2c0fd49a4/PyYAML-6.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5d225db5a45f21e78dd9358e58a98702a0302f2659a3c6cd320564b75b86f47c", size = 736829 },
|
|
439
|
-
{ url = "https://files.pythonhosted.org/packages/51/16/6af8d6a6b210c8e54f1406a6b9481febf9c64a3109c541567e35a49aa2e7/PyYAML-6.0.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5ac9328ec4831237bec75defaf839f7d4564be1e6b25ac710bd1a96321cc8317", size = 764167 },
|
|
440
|
-
{ url = "https://files.pythonhosted.org/packages/75/e4/2c27590dfc9992f73aabbeb9241ae20220bd9452df27483b6e56d3975cc5/PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3ad2a3decf9aaba3d29c8f537ac4b243e36bef957511b4766cb0057d32b0be85", size = 762952 },
|
|
441
|
-
{ url = "https://files.pythonhosted.org/packages/9b/97/ecc1abf4a823f5ac61941a9c00fe501b02ac3ab0e373c3857f7d4b83e2b6/PyYAML-6.0.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:ff3824dc5261f50c9b0dfb3be22b4567a6f938ccce4587b38952d85fd9e9afe4", size = 735301 },
|
|
442
|
-
{ url = "https://files.pythonhosted.org/packages/45/73/0f49dacd6e82c9430e46f4a027baa4ca205e8b0a9dce1397f44edc23559d/PyYAML-6.0.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:797b4f722ffa07cc8d62053e4cff1486fa6dc094105d13fea7b1de7d8bf71c9e", size = 756638 },
|
|
443
|
-
{ url = "https://files.pythonhosted.org/packages/22/5f/956f0f9fc65223a58fbc14459bf34b4cc48dec52e00535c79b8db361aabd/PyYAML-6.0.2-cp311-cp311-win32.whl", hash = "sha256:11d8f3dd2b9c1207dcaf2ee0bbbfd5991f571186ec9cc78427ba5bd32afae4b5", size = 143850 },
|
|
444
|
-
{ url = "https://files.pythonhosted.org/packages/ed/23/8da0bbe2ab9dcdd11f4f4557ccaf95c10b9811b13ecced089d43ce59c3c8/PyYAML-6.0.2-cp311-cp311-win_amd64.whl", hash = "sha256:e10ce637b18caea04431ce14fabcf5c64a1c61ec9c56b071a4b7ca131ca52d44", size = 161980 },
|
|
445
|
-
{ url = "https://files.pythonhosted.org/packages/86/0c/c581167fc46d6d6d7ddcfb8c843a4de25bdd27e4466938109ca68492292c/PyYAML-6.0.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:c70c95198c015b85feafc136515252a261a84561b7b1d51e3384e0655ddf25ab", size = 183873 },
|
|
446
|
-
{ url = "https://files.pythonhosted.org/packages/a8/0c/38374f5bb272c051e2a69281d71cba6fdb983413e6758b84482905e29a5d/PyYAML-6.0.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ce826d6ef20b1bc864f0a68340c8b3287705cae2f8b4b1d932177dcc76721725", size = 173302 },
|
|
447
|
-
{ url = "https://files.pythonhosted.org/packages/c3/93/9916574aa8c00aa06bbac729972eb1071d002b8e158bd0e83a3b9a20a1f7/PyYAML-6.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1f71ea527786de97d1a0cc0eacd1defc0985dcf6b3f17bb77dcfc8c34bec4dc5", size = 739154 },
|
|
448
|
-
{ url = "https://files.pythonhosted.org/packages/95/0f/b8938f1cbd09739c6da569d172531567dbcc9789e0029aa070856f123984/PyYAML-6.0.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9b22676e8097e9e22e36d6b7bda33190d0d400f345f23d4065d48f4ca7ae0425", size = 766223 },
|
|
449
|
-
{ url = "https://files.pythonhosted.org/packages/b9/2b/614b4752f2e127db5cc206abc23a8c19678e92b23c3db30fc86ab731d3bd/PyYAML-6.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:80bab7bfc629882493af4aa31a4cfa43a4c57c83813253626916b8c7ada83476", size = 767542 },
|
|
450
|
-
{ url = "https://files.pythonhosted.org/packages/d4/00/dd137d5bcc7efea1836d6264f049359861cf548469d18da90cd8216cf05f/PyYAML-6.0.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:0833f8694549e586547b576dcfaba4a6b55b9e96098b36cdc7ebefe667dfed48", size = 731164 },
|
|
451
|
-
{ url = "https://files.pythonhosted.org/packages/c9/1f/4f998c900485e5c0ef43838363ba4a9723ac0ad73a9dc42068b12aaba4e4/PyYAML-6.0.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8b9c7197f7cb2738065c481a0461e50ad02f18c78cd75775628afb4d7137fb3b", size = 756611 },
|
|
452
|
-
{ url = "https://files.pythonhosted.org/packages/df/d1/f5a275fdb252768b7a11ec63585bc38d0e87c9e05668a139fea92b80634c/PyYAML-6.0.2-cp312-cp312-win32.whl", hash = "sha256:ef6107725bd54b262d6dedcc2af448a266975032bc85ef0172c5f059da6325b4", size = 140591 },
|
|
453
|
-
{ url = "https://files.pythonhosted.org/packages/0c/e8/4f648c598b17c3d06e8753d7d13d57542b30d56e6c2dedf9c331ae56312e/PyYAML-6.0.2-cp312-cp312-win_amd64.whl", hash = "sha256:7e7401d0de89a9a855c839bc697c079a4af81cf878373abd7dc625847d25cbd8", size = 156338 },
|
|
454
402
|
{ url = "https://files.pythonhosted.org/packages/ef/e3/3af305b830494fa85d95f6d95ef7fa73f2ee1cc8ef5b495c7c3269fb835f/PyYAML-6.0.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:efdca5630322a10774e8e98e1af481aad470dd62c3170801852d752aa7a783ba", size = 181309 },
|
|
455
403
|
{ url = "https://files.pythonhosted.org/packages/45/9f/3b1c20a0b7a3200524eb0076cc027a970d320bd3a6592873c85c92a08731/PyYAML-6.0.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:50187695423ffe49e2deacb8cd10510bc361faac997de9efef88badc3bb9e2d1", size = 171679 },
|
|
456
404
|
{ url = "https://files.pythonhosted.org/packages/7c/9a/337322f27005c33bcb656c655fa78325b730324c78620e8328ae28b64d0c/PyYAML-6.0.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0ffe8360bab4910ef1b9e87fb812d8bc0a308b0d0eef8c8f44e0254ab3b07133", size = 733428 },
|
|
@@ -571,32 +519,6 @@ dependencies = [
|
|
|
571
519
|
]
|
|
572
520
|
sdist = { url = "https://files.pythonhosted.org/packages/f5/26/c705fc77d0a9ecdb9b66f1e2976d95b81df3cae518967431e7dbf9b5e219/watchfiles-1.0.4.tar.gz", hash = "sha256:6ba473efd11062d73e4f00c2b730255f9c1bdd73cd5f9fe5b5da8dbd4a717205", size = 94625 }
|
|
573
521
|
wheels = [
|
|
574
|
-
{ url = "https://files.pythonhosted.org/packages/0f/bb/8461adc4b1fed009546fb797fc0d5698dcfe5e289cb37e1b8f16a93cdc30/watchfiles-1.0.4-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:2a9f93f8439639dc244c4d2902abe35b0279102bca7bbcf119af964f51d53c19", size = 394869 },
|
|
575
|
-
{ url = "https://files.pythonhosted.org/packages/55/88/9ebf36b3547176d1709c320de78c1fa3263a46be31b5b1267571d9102686/watchfiles-1.0.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:9eea33ad8c418847dd296e61eb683cae1c63329b6d854aefcd412e12d94ee235", size = 384905 },
|
|
576
|
-
{ url = "https://files.pythonhosted.org/packages/03/8a/04335ce23ef78d8c69f0913e8b20cf7d9233e3986543aeef95ef2d6e43d2/watchfiles-1.0.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:31f1a379c9dcbb3f09cf6be1b7e83b67c0e9faabed0471556d9438a4a4e14202", size = 449944 },
|
|
577
|
-
{ url = "https://files.pythonhosted.org/packages/17/4e/c8d5dcd14fe637f4633616dabea8a4af0a10142dccf3b43e0f081ba81ab4/watchfiles-1.0.4-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ab594e75644421ae0a2484554832ca5895f8cab5ab62de30a1a57db460ce06c6", size = 456020 },
|
|
578
|
-
{ url = "https://files.pythonhosted.org/packages/5e/74/3e91e09e1861dd7fbb1190ce7bd786700dc0fbc2ccd33bb9fff5de039229/watchfiles-1.0.4-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:fc2eb5d14a8e0d5df7b36288979176fbb39672d45184fc4b1c004d7c3ce29317", size = 482983 },
|
|
579
|
-
{ url = "https://files.pythonhosted.org/packages/a1/3d/e64de2d1ce4eb6a574fd78ce3a28c279da263be9ef3cfcab6f708df192f2/watchfiles-1.0.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3f68d8e9d5a321163ddacebe97091000955a1b74cd43724e346056030b0bacee", size = 520320 },
|
|
580
|
-
{ url = "https://files.pythonhosted.org/packages/2c/bd/52235f7063b57240c66a991696ed27e2a18bd6fcec8a1ea5a040b70d0611/watchfiles-1.0.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f9ce064e81fe79faa925ff03b9f4c1a98b0bbb4a1b8c1b015afa93030cb21a49", size = 500988 },
|
|
581
|
-
{ url = "https://files.pythonhosted.org/packages/3a/b0/ff04194141a5fe650c150400dd9e42667916bc0f52426e2e174d779b8a74/watchfiles-1.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b77d5622ac5cc91d21ae9c2b284b5d5c51085a0bdb7b518dba263d0af006132c", size = 452573 },
|
|
582
|
-
{ url = "https://files.pythonhosted.org/packages/3d/9d/966164332c5a178444ae6d165082d4f351bd56afd9c3ec828eecbf190e6a/watchfiles-1.0.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:1941b4e39de9b38b868a69b911df5e89dc43767feeda667b40ae032522b9b5f1", size = 615114 },
|
|
583
|
-
{ url = "https://files.pythonhosted.org/packages/94/df/f569ae4c1877f96ad4086c153a8eee5a19a3b519487bf5c9454a3438c341/watchfiles-1.0.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:4f8c4998506241dedf59613082d1c18b836e26ef2a4caecad0ec41e2a15e4226", size = 613076 },
|
|
584
|
-
{ url = "https://files.pythonhosted.org/packages/15/ae/8ce5f29e65d5fa5790e3c80c289819c55e12be2e1b9f5b6a0e55e169b97d/watchfiles-1.0.4-cp311-cp311-win32.whl", hash = "sha256:4ebbeca9360c830766b9f0df3640b791be569d988f4be6c06d6fae41f187f105", size = 271013 },
|
|
585
|
-
{ url = "https://files.pythonhosted.org/packages/a4/c6/79dc4a7c598a978e5fafa135090aaf7bbb03b8dec7bada437dfbe578e7ed/watchfiles-1.0.4-cp311-cp311-win_amd64.whl", hash = "sha256:05d341c71f3d7098920f8551d4df47f7b57ac5b8dad56558064c3431bdfc0b74", size = 284229 },
|
|
586
|
-
{ url = "https://files.pythonhosted.org/packages/37/3d/928633723211753f3500bfb138434f080363b87a1b08ca188b1ce54d1e05/watchfiles-1.0.4-cp311-cp311-win_arm64.whl", hash = "sha256:32b026a6ab64245b584acf4931fe21842374da82372d5c039cba6bf99ef722f3", size = 276824 },
|
|
587
|
-
{ url = "https://files.pythonhosted.org/packages/5b/1a/8f4d9a1461709756ace48c98f07772bc6d4519b1e48b5fa24a4061216256/watchfiles-1.0.4-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:229e6ec880eca20e0ba2f7e2249c85bae1999d330161f45c78d160832e026ee2", size = 391345 },
|
|
588
|
-
{ url = "https://files.pythonhosted.org/packages/bc/d2/6750b7b3527b1cdaa33731438432e7238a6c6c40a9924049e4cebfa40805/watchfiles-1.0.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:5717021b199e8353782dce03bd8a8f64438832b84e2885c4a645f9723bf656d9", size = 381515 },
|
|
589
|
-
{ url = "https://files.pythonhosted.org/packages/4e/17/80500e42363deef1e4b4818729ed939aaddc56f82f4e72b2508729dd3c6b/watchfiles-1.0.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0799ae68dfa95136dde7c472525700bd48777875a4abb2ee454e3ab18e9fc712", size = 449767 },
|
|
590
|
-
{ url = "https://files.pythonhosted.org/packages/10/37/1427fa4cfa09adbe04b1e97bced19a29a3462cc64c78630787b613a23f18/watchfiles-1.0.4-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:43b168bba889886b62edb0397cab5b6490ffb656ee2fcb22dec8bfeb371a9e12", size = 455677 },
|
|
591
|
-
{ url = "https://files.pythonhosted.org/packages/c5/7a/39e9397f3a19cb549a7d380412fd9e507d4854eddc0700bfad10ef6d4dba/watchfiles-1.0.4-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:fb2c46e275fbb9f0c92e7654b231543c7bbfa1df07cdc4b99fa73bedfde5c844", size = 482219 },
|
|
592
|
-
{ url = "https://files.pythonhosted.org/packages/45/2d/7113931a77e2ea4436cad0c1690c09a40a7f31d366f79c6f0a5bc7a4f6d5/watchfiles-1.0.4-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:857f5fc3aa027ff5e57047da93f96e908a35fe602d24f5e5d8ce64bf1f2fc733", size = 518830 },
|
|
593
|
-
{ url = "https://files.pythonhosted.org/packages/f9/1b/50733b1980fa81ef3c70388a546481ae5fa4c2080040100cd7bf3bf7b321/watchfiles-1.0.4-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:55ccfd27c497b228581e2838d4386301227fc0cb47f5a12923ec2fe4f97b95af", size = 497997 },
|
|
594
|
-
{ url = "https://files.pythonhosted.org/packages/2b/b4/9396cc61b948ef18943e7c85ecfa64cf940c88977d882da57147f62b34b1/watchfiles-1.0.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5c11ea22304d17d4385067588123658e9f23159225a27b983f343fcffc3e796a", size = 452249 },
|
|
595
|
-
{ url = "https://files.pythonhosted.org/packages/fb/69/0c65a5a29e057ad0dc691c2fa6c23b2983c7dabaa190ba553b29ac84c3cc/watchfiles-1.0.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:74cb3ca19a740be4caa18f238298b9d472c850f7b2ed89f396c00a4c97e2d9ff", size = 614412 },
|
|
596
|
-
{ url = "https://files.pythonhosted.org/packages/7f/b9/319fcba6eba5fad34327d7ce16a6b163b39741016b1996f4a3c96b8dd0e1/watchfiles-1.0.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:c7cce76c138a91e720d1df54014a047e680b652336e1b73b8e3ff3158e05061e", size = 611982 },
|
|
597
|
-
{ url = "https://files.pythonhosted.org/packages/f1/47/143c92418e30cb9348a4387bfa149c8e0e404a7c5b0585d46d2f7031b4b9/watchfiles-1.0.4-cp312-cp312-win32.whl", hash = "sha256:b045c800d55bc7e2cadd47f45a97c7b29f70f08a7c2fa13241905010a5493f94", size = 271822 },
|
|
598
|
-
{ url = "https://files.pythonhosted.org/packages/ea/94/b0165481bff99a64b29e46e07ac2e0df9f7a957ef13bec4ceab8515f44e3/watchfiles-1.0.4-cp312-cp312-win_amd64.whl", hash = "sha256:c2acfa49dd0ad0bf2a9c0bb9a985af02e89345a7189be1efc6baa085e0f72d7c", size = 285441 },
|
|
599
|
-
{ url = "https://files.pythonhosted.org/packages/11/de/09fe56317d582742d7ca8c2ca7b52a85927ebb50678d9b0fa8194658f536/watchfiles-1.0.4-cp312-cp312-win_arm64.whl", hash = "sha256:22bb55a7c9e564e763ea06c7acea24fc5d2ee5dfc5dafc5cfbedfe58505e9f90", size = 277141 },
|
|
600
522
|
{ url = "https://files.pythonhosted.org/packages/08/98/f03efabec64b5b1fa58c0daab25c68ef815b0f320e54adcacd0d6847c339/watchfiles-1.0.4-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:8012bd820c380c3d3db8435e8cf7592260257b378b649154a7948a663b5f84e9", size = 390954 },
|
|
601
523
|
{ url = "https://files.pythonhosted.org/packages/16/09/4dd49ba0a32a45813debe5fb3897955541351ee8142f586303b271a02b40/watchfiles-1.0.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:aa216f87594f951c17511efe5912808dfcc4befa464ab17c98d387830ce07b60", size = 381133 },
|
|
602
524
|
{ url = "https://files.pythonhosted.org/packages/76/59/5aa6fc93553cd8d8ee75c6247763d77c02631aed21551a97d94998bf1dae/watchfiles-1.0.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:62c9953cf85529c05b24705639ffa390f78c26449e15ec34d5339e8108c7c407", size = 449516 },
|
|
@@ -626,28 +548,6 @@ version = "15.0"
|
|
|
626
548
|
source = { registry = "https://pypi.org/simple" }
|
|
627
549
|
sdist = { url = "https://files.pythonhosted.org/packages/2e/7a/8bc4d15af7ff30f7ba34f9a172063bfcee9f5001d7cef04bee800a658f33/websockets-15.0.tar.gz", hash = "sha256:ca36151289a15b39d8d683fd8b7abbe26fc50be311066c5f8dcf3cb8cee107ab", size = 175574 }
|
|
628
550
|
wheels = [
|
|
629
|
-
{ url = "https://files.pythonhosted.org/packages/ee/16/81a7403c8c0a33383de647e89c07824ea6a654e3877d6ff402cbae298cb8/websockets-15.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:dd24c4d256558429aeeb8d6c24ebad4e982ac52c50bc3670ae8646c181263965", size = 174702 },
|
|
630
|
-
{ url = "https://files.pythonhosted.org/packages/ef/40/4629202386a3bf1195db9fe41baeb1d6dfd8d72e651d9592d81dae7fdc7c/websockets-15.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f83eca8cbfd168e424dfa3b3b5c955d6c281e8fc09feb9d870886ff8d03683c7", size = 172359 },
|
|
631
|
-
{ url = "https://files.pythonhosted.org/packages/7b/33/dfb650e822bc7912d8c542c452497867af91dec81e7b5bf96aca5b419d58/websockets-15.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4095a1f2093002c2208becf6f9a178b336b7572512ee0a1179731acb7788e8ad", size = 172604 },
|
|
632
|
-
{ url = "https://files.pythonhosted.org/packages/2e/52/666743114513fcffd43ee5df261a1eb5d41f8e9861b7a190b730732c19ba/websockets-15.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fb915101dfbf318486364ce85662bb7b020840f68138014972c08331458d41f3", size = 182145 },
|
|
633
|
-
{ url = "https://files.pythonhosted.org/packages/9c/63/5273f146b13aa4a057a95ab0855d9990f3a1ced63693f4365135d1abfacc/websockets-15.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:45d464622314973d78f364689d5dbb9144e559f93dca11b11af3f2480b5034e1", size = 181152 },
|
|
634
|
-
{ url = "https://files.pythonhosted.org/packages/0f/ae/075697f3f97de7c26b73ae96d952e13fa36393e0db3f028540b28954e0a9/websockets-15.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ace960769d60037ca9625b4c578a6f28a14301bd2a1ff13bb00e824ac9f73e55", size = 181523 },
|
|
635
|
-
{ url = "https://files.pythonhosted.org/packages/25/87/06d091bbcbe01903bed3dad3bb4a1a3c516f61e611ec31fffb28abe4974b/websockets-15.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:c7cd4b1015d2f60dfe539ee6c95bc968d5d5fad92ab01bb5501a77393da4f596", size = 181791 },
|
|
636
|
-
{ url = "https://files.pythonhosted.org/packages/77/08/5063b6cc1b2aa1fba2ee3b578b777db22fde7145f121d07fd878811e983b/websockets-15.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:4f7290295794b5dec470867c7baa4a14182b9732603fd0caf2a5bf1dc3ccabf3", size = 181231 },
|
|
637
|
-
{ url = "https://files.pythonhosted.org/packages/86/ff/af23084df0a7405bb2add12add8c17d6192a8de9480f1b90d12352ba2b7d/websockets-15.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:3abd670ca7ce230d5a624fd3d55e055215d8d9b723adee0a348352f5d8d12ff4", size = 181191 },
|
|
638
|
-
{ url = "https://files.pythonhosted.org/packages/21/ce/b2bdfcf49201dee0b899edc6a814755763ec03d74f2714923d38453a9e8d/websockets-15.0-cp311-cp311-win32.whl", hash = "sha256:110a847085246ab8d4d119632145224d6b49e406c64f1bbeed45c6f05097b680", size = 175666 },
|
|
639
|
-
{ url = "https://files.pythonhosted.org/packages/8d/7b/444edcd5365538c226b631897975a65bbf5ccf27c77102e17d8f12a306ea/websockets-15.0-cp311-cp311-win_amd64.whl", hash = "sha256:8d7bbbe2cd6ed80aceef2a14e9f1c1b61683194c216472ed5ff33b700e784e37", size = 176105 },
|
|
640
|
-
{ url = "https://files.pythonhosted.org/packages/22/1e/92c4547d7b2a93f848aedaf37e9054111bc00dc11bff4385ca3f80dbb412/websockets-15.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:cccc18077acd34c8072578394ec79563664b1c205f7a86a62e94fafc7b59001f", size = 174709 },
|
|
641
|
-
{ url = "https://files.pythonhosted.org/packages/9f/37/eae4830a28061ba552516d84478686b637cd9e57d6a90b45ad69e89cb0af/websockets-15.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:d4c22992e24f12de340ca5f824121a5b3e1a37ad4360b4e1aaf15e9d1c42582d", size = 172372 },
|
|
642
|
-
{ url = "https://files.pythonhosted.org/packages/46/2f/b409f8b8aa9328d5a47f7a301a43319d540d70cf036d1e6443675978a988/websockets-15.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:1206432cc6c644f6fc03374b264c5ff805d980311563202ed7fef91a38906276", size = 172607 },
|
|
643
|
-
{ url = "https://files.pythonhosted.org/packages/d6/81/d7e2e4542d4b4df849b0110df1b1f94f2647b71ab4b65d672090931ad2bb/websockets-15.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5d3cc75ef3e17490042c47e0523aee1bcc4eacd2482796107fd59dd1100a44bc", size = 182422 },
|
|
644
|
-
{ url = "https://files.pythonhosted.org/packages/b6/91/3b303160938d123eea97f58be363f7dbec76e8c59d587e07b5bc257dd584/websockets-15.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b89504227a5311610e4be16071465885a0a3d6b0e82e305ef46d9b064ce5fb72", size = 181362 },
|
|
645
|
-
{ url = "https://files.pythonhosted.org/packages/f2/8b/df6807f1ca339c567aba9a7ab03bfdb9a833f625e8d2b4fc7529e4c701de/websockets-15.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:56e3efe356416bc67a8e093607315951d76910f03d2b3ad49c4ade9207bf710d", size = 181787 },
|
|
646
|
-
{ url = "https://files.pythonhosted.org/packages/21/37/e6d3d5ebb0ebcaf98ae84904205c9dcaf3e0fe93e65000b9f08631ed7309/websockets-15.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:0f2205cdb444a42a7919690238fb5979a05439b9dbb73dd47c863d39640d85ab", size = 182058 },
|
|
647
|
-
{ url = "https://files.pythonhosted.org/packages/c9/df/6aca296f2be4c638ad20908bb3d7c94ce7afc8d9b4b2b0780d1fc59b359c/websockets-15.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:aea01f40995fa0945c020228ab919b8dfc93fc8a9f2d3d705ab5b793f32d9e99", size = 181434 },
|
|
648
|
-
{ url = "https://files.pythonhosted.org/packages/88/f1/75717a982bab39bbe63c83f9df0e7753e5c98bab907eb4fb5d97fe5c8c11/websockets-15.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:a9f8e33747b1332db11cf7fcf4a9512bef9748cb5eb4d3f7fbc8c30d75dc6ffc", size = 181431 },
|
|
649
|
-
{ url = "https://files.pythonhosted.org/packages/e7/15/cee9e63ed9ac5bfc1a3ae8fc6c02c41745023c21eed622eef142d8fdd749/websockets-15.0-cp312-cp312-win32.whl", hash = "sha256:32e02a2d83f4954aa8c17e03fe8ec6962432c39aca4be7e8ee346b05a3476904", size = 175678 },
|
|
650
|
-
{ url = "https://files.pythonhosted.org/packages/4e/00/993974c60f40faabb725d4dbae8b072ef73b4c4454bd261d3b1d34ace41f/websockets-15.0-cp312-cp312-win_amd64.whl", hash = "sha256:ffc02b159b65c05f2ed9ec176b715b66918a674bd4daed48a9a7a590dd4be1aa", size = 176119 },
|
|
651
551
|
{ url = "https://files.pythonhosted.org/packages/12/23/be28dc1023707ac51768f848d28a946443041a348ee3a54abdf9f6283372/websockets-15.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:d2244d8ab24374bed366f9ff206e2619345f9cd7fe79aad5225f53faac28b6b1", size = 174714 },
|
|
652
552
|
{ url = "https://files.pythonhosted.org/packages/8f/ff/02b5e9fbb078e7666bf3d25c18c69b499747a12f3e7f2776063ef3fb7061/websockets-15.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:3a302241fbe825a3e4fe07666a2ab513edfdc6d43ce24b79691b45115273b5e7", size = 172374 },
|
|
653
553
|
{ url = "https://files.pythonhosted.org/packages/8e/61/901c8d4698e0477eff4c3c664d53f898b601fa83af4ce81946650ec2a4cb/websockets-15.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:10552fed076757a70ba2c18edcbc601c7637b30cdfe8c24b65171e824c7d6081", size = 172605 },
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3.11
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import importlib.metadata
|
|
2
|
-
import pathlib
|
|
3
|
-
|
|
4
|
-
import anywidget
|
|
5
|
-
import traitlets
|
|
6
|
-
import marimo as mo
|
|
7
|
-
|
|
8
|
-
try:
|
|
9
|
-
__version__ = importlib.metadata.version("graph_widget")
|
|
10
|
-
except importlib.metadata.PackageNotFoundError:
|
|
11
|
-
__version__ = "unknown"
|
|
12
|
-
|
|
13
|
-
# repulsion_slider = mo.ui.slider(
|
|
14
|
-
# start=-200, stop=10000, step=10, value=1, debounce=False, label="Repulsion"
|
|
15
|
-
# )
|
|
16
|
-
# node_scale_slider = mo.ui.slider(
|
|
17
|
-
# start=1, stop=500, step=1, value=20, debounce=True, label="Node scale"
|
|
18
|
-
# )
|
|
19
|
-
# colour_feature_dropdown = mo.ui.dropdown(
|
|
20
|
-
# options=["None"], value="None", label="Colour by"
|
|
21
|
-
# )
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
class ForceGraphWidget(anywidget.AnyWidget):
|
|
25
|
-
_esm = pathlib.Path(__file__).parent / "static" / "widget.js"
|
|
26
|
-
_css = pathlib.Path(__file__).parent / "static" / "widget.css"
|
|
27
|
-
data = traitlets.Dict().tag(sync=True)
|
|
28
|
-
repulsion = traitlets.Int().tag(sync=True)
|
|
29
|
-
node_scale = traitlets.Int().tag(sync=True)
|
|
30
|
-
colour_feature = traitlets.Unicode().tag(sync=True)
|
|
31
|
-
selected_ids = traitlets.List([]).tag(sync=True)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|