reflexive 2.2.2__tar.gz → 2.2.3__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.
- {reflexive-2.2.2 → reflexive-2.2.3}/PKG-INFO +3 -3
- {reflexive-2.2.2 → reflexive-2.2.3}/pyproject.toml +3 -3
- {reflexive-2.2.2 → reflexive-2.2.3}/src/reflexive/display_functions.py +6 -10
- {reflexive-2.2.2 → reflexive-2.2.3}/.gitignore +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/.history/src/reflexive/analysis_functions_20251021145809.py +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/.history/src/reflexive/analysis_functions_20251021150142.py +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/=3.12 +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/LICENSE +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/README.md +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/dist_v1/reflexive-1.2.1-py3-none-any.whl +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/dist_v1/reflexive-1.2.1.tar.gz +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/dist_v1/reflexive-1.2.2-py3-none-any.whl +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/dist_v1/reflexive-1.2.2.tar.gz +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/dist_v1/reflexive-1.2.3-py3-none-any.whl +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/dist_v1/reflexive-1.2.3.tar.gz +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/dist_v1/reflexive-1.2.4-py3-none-any.whl +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/dist_v1/reflexive-1.2.4.tar.gz +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/dist_v1/reflexive-1.2.5-py3-none-any.whl +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/dist_v1/reflexive-1.2.5.tar.gz +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/dist_v1/reflexive-1.2.6-py3-none-any.whl +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/dist_v1/reflexive-1.2.6.tar.gz +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/dist_v1/reflexive-1.2.7-py3-none-any.whl +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/dist_v1/reflexive-1.2.7.tar.gz +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/dist_v1/reflexive-1.2.8-py3-none-any.whl +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/dist_v1/reflexive-1.2.8.tar.gz +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/src/reflexive/__init__.py +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/src/reflexive/analysis_functions.py +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/src/reflexive/res_analysis.py +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/src/reflexive/service.py +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/tests/__init__.py +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/tests/data_source/synth_ref-datascientist.txt +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/tests/data_source/synth_ref-footballer.txt +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/tests/data_source/synth_ref-surgeon.txt +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/tests/data_source/teach_ref-3.txt +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/tests/data_source/teach_ref-4.txt +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/tests/data_source/teach_ref-5.txt +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/tests/test_reflexive-v2.ipynb +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/tests/test_reflexive.ipynb +0 -0
- {reflexive-2.2.2 → reflexive-2.2.3}/tests/test_reflexive_extras.py +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: reflexive
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.3
|
|
4
4
|
Summary: Supports AWS Reflexive Expressions Systems (RES) Analysis
|
|
5
|
-
Project-URL: Repository, https://
|
|
5
|
+
Project-URL: Repository, https://codeberg.org/andrewresearch/reflexive.git
|
|
6
6
|
Author-email: Andrew Gibson <andrew@nlytx.io>
|
|
7
7
|
License-File: LICENSE
|
|
8
|
-
Classifier: Development Status ::
|
|
8
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
9
9
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
10
10
|
Classifier: Operating System :: OS Independent
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "reflexive"
|
|
3
|
-
version = "2.2.
|
|
3
|
+
version = "2.2.3"
|
|
4
4
|
description = "Supports AWS Reflexive Expressions Systems (RES) Analysis"
|
|
5
5
|
authors = [{name = "Andrew Gibson", email = "andrew@nlytx.io"}]
|
|
6
6
|
readme = "README.md"
|
|
7
|
-
classifiers = ["Development Status ::
|
|
7
|
+
classifiers = ["Development Status :: 5 - Production/Stable",
|
|
8
8
|
"Programming Language :: Python :: 3",
|
|
9
9
|
"License :: OSI Approved :: Apache Software License",
|
|
10
10
|
"Operating System :: OS Independent"]
|
|
@@ -12,7 +12,7 @@ requires-python = ">= 3.11"
|
|
|
12
12
|
dependencies = []
|
|
13
13
|
|
|
14
14
|
[project.urls]
|
|
15
|
-
Repository = "https://
|
|
15
|
+
Repository = "https://codeberg.org/andrewresearch/reflexive.git"
|
|
16
16
|
|
|
17
17
|
[build-system]
|
|
18
18
|
build-backend = "hatchling.build"
|
|
@@ -55,24 +55,20 @@ def _create_graph(matrix,id)->Graph:
|
|
|
55
55
|
if matrix:
|
|
56
56
|
graph = _graph_from_edges(dict(_matrix_to_dict(matrix)))
|
|
57
57
|
else:
|
|
58
|
-
graph = _graph_no_edges()
|
|
58
|
+
graph = _graph_no_edges() # Empty graph
|
|
59
59
|
prop_list = _res_graph_properties().values()
|
|
60
|
+
# Set positioins and labels - common to all graphs
|
|
60
61
|
graph.vp["v_positions"] = graph.new_vp("vector<double>",vals=[prop['pos'] for prop in prop_list])
|
|
61
62
|
graph.vp["v_labels"] = graph.new_vp("string",vals=[prop['lbl'] for prop in prop_list])
|
|
62
63
|
graph.gp["id"] = graph.new_gp("string",val=id)
|
|
63
64
|
return graph
|
|
64
|
-
|
|
65
|
-
# # Vertex properties common to all graphs
|
|
66
|
-
# v_lbl = graph.new_vp("string",vals=_get_prop_values('lbl'))
|
|
67
|
-
# v_pos = graph.new_vp("vector<double>",vals=_get_prop_values('pos'))
|
|
68
|
-
# # Make propertyMaps internal to the graph
|
|
69
|
-
# graph.vp["v_colour"] = v_clr
|
|
70
|
-
# graph.vp["v_position"] = v_pos
|
|
71
|
-
# graph.vp["v_label"] = v_lbl
|
|
72
|
-
# graph.ep["e_weights"] = e_weight
|
|
73
65
|
|
|
74
66
|
def _graph_from_edges(edges:dict)->Graph:
|
|
75
67
|
graph = Graph(g=edges.keys(),directed=False)
|
|
68
|
+
# Add missing vertices
|
|
69
|
+
for i in range(5):
|
|
70
|
+
graph.vertex(i,add_missing=True)
|
|
71
|
+
# Set edge and vertex propertymaps
|
|
76
72
|
graph.ep["e_weights"] = graph.new_ep("double",vals=edges.values())
|
|
77
73
|
graph.ep["e_widths"] = graph.new_ep("double",vals=_scale_weights(edges.values()))
|
|
78
74
|
graph.vp["v_colours"] = _get_vcolours_from_edges(graph)
|
|
File without changes
|
{reflexive-2.2.2 → reflexive-2.2.3}/.history/src/reflexive/analysis_functions_20251021145809.py
RENAMED
|
File without changes
|
{reflexive-2.2.2 → reflexive-2.2.3}/.history/src/reflexive/analysis_functions_20251021150142.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|