memory-graph 0.3.92__tar.gz → 0.3.93__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.
- {memory_graph-0.3.92 → memory_graph-0.3.93}/PKG-INFO +2 -1
- {memory_graph-0.3.92 → memory_graph-0.3.93}/README.md +1 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/__init__.py +1 -1
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/memory_to_nodes.py +17 -3
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/sequence.py +2 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph.egg-info/PKG-INFO +2 -1
- {memory_graph-0.3.92 → memory_graph-0.3.93}/pyproject.toml +1 -1
- {memory_graph-0.3.92 → memory_graph-0.3.93}/LICENSE.txt +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/call_stack.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/config.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/config_default.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/config_helpers.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/extension_numpy.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/extension_pandas.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/extension_polars.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/extension_sqlite3.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/extension_torch.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/html_table.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/list_view.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/node_base.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/node_key_value.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/node_leaf.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/node_linear.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/node_table.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/slicer.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/slices.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/slices_iterator.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/slices_table_iterator.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/test.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/test_max_graph_depth.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/test_memory_graph.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/test_memory_to_nodes.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/test_sequence.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/test_slicer.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/test_slices.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/test_slices_iterator.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph/utils.py +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph.egg-info/SOURCES.txt +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph.egg-info/dependency_links.txt +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph.egg-info/requires.txt +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/memory_graph.egg-info/top_level.txt +0 -0
- {memory_graph-0.3.92 → memory_graph-0.3.93}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: memory_graph
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.93
|
|
4
4
|
Summary: Teaching tool and debugging aid in context of references, mutable data types, and shallow and deep copy.
|
|
5
5
|
Author-email: Bas Terwijn <bterwijn@gmail.com>
|
|
6
6
|
License-Expression: BSD-2-Clause
|
|
@@ -1671,6 +1671,7 @@ conn.close()
|
|
|
1671
1671
|
```
|
|
1672
1672
|

|
|
1673
1673
|
|
|
1674
|
+
Or see this larger example in the [Memory Graph Web Debugger](https://memory-graph.com/#micropip=sqlite3&codeurl=https://raw.githubusercontent.com/bterwijn/memory_graph_examples/refs/heads/main/sqlite3_example.py×tep=0.2&play).
|
|
1674
1675
|
|
|
1675
1676
|
# Memory Graph Web Debugger #
|
|
1676
1677
|
The <a href="https://memory-graph.com/#play" target="_blank">Memory Graph Web Debugger</a> lets us use memory_graph without any installation.
|
|
@@ -1651,6 +1651,7 @@ conn.close()
|
|
|
1651
1651
|
```
|
|
1652
1652
|

|
|
1653
1653
|
|
|
1654
|
+
Or see this larger example in the [Memory Graph Web Debugger](https://memory-graph.com/#micropip=sqlite3&codeurl=https://raw.githubusercontent.com/bterwijn/memory_graph_examples/refs/heads/main/sqlite3_example.py×tep=0.2&play).
|
|
1654
1655
|
|
|
1655
1656
|
# Memory Graph Web Debugger #
|
|
1656
1657
|
The <a href="https://memory-graph.com/#play" target="_blank">Memory Graph Web Debugger</a> lets us use memory_graph without any installation.
|
|
@@ -262,9 +262,23 @@ def memory_to_nodes(data):
|
|
|
262
262
|
id_to_slices = add_missing_edges(nodes, id_to_slices, config.max_missing_edges)
|
|
263
263
|
#print('id_to_slices:',id_to_slices)
|
|
264
264
|
embed_keys_in_key_value_nodes(nodes, nodes_key_value, id_to_slices)
|
|
265
|
-
graphviz_graph_attr = {'fontname': config.fontname,
|
|
266
|
-
|
|
267
|
-
|
|
265
|
+
graphviz_graph_attr = {'fontname': config.fontname,
|
|
266
|
+
'fontsize': config.fontsize,
|
|
267
|
+
'fontcolor': config.foreground_color,
|
|
268
|
+
'bgcolor': config.background_color,
|
|
269
|
+
#'splines': 'polyline',
|
|
270
|
+
#'ordering': 'out',
|
|
271
|
+
}
|
|
272
|
+
graphviz_node_attr = {'fontname': config.fontname,
|
|
273
|
+
'fontsize': config.fontsize,
|
|
274
|
+
'shape': 'plaintext',
|
|
275
|
+
'fontcolor': config.foreground_color
|
|
276
|
+
}
|
|
277
|
+
graphviz_edge_attr = {'fontname': config.fontname,
|
|
278
|
+
'fontsize': config.fontsize,
|
|
279
|
+
'fontcolor': config.foreground_color,
|
|
280
|
+
'color': config.foreground_color
|
|
281
|
+
}
|
|
268
282
|
graphviz_graph=graphviz.Digraph('memory_graph',
|
|
269
283
|
graph_attr=graphviz_graph_attr,
|
|
270
284
|
node_attr=graphviz_node_attr,
|
|
@@ -55,6 +55,8 @@ class Sequence1D(Sequence):
|
|
|
55
55
|
return Slices1D()
|
|
56
56
|
|
|
57
57
|
def slice(self, slicer):
|
|
58
|
+
if type(slicer) is tuple: # (row, column) slicer for a type that is sometimes 1D, use the first
|
|
59
|
+
slicer = slicer[0]
|
|
58
60
|
return slicer.get_slices( len(self.data) )
|
|
59
61
|
|
|
60
62
|
def indices_all(self):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: memory_graph
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.93
|
|
4
4
|
Summary: Teaching tool and debugging aid in context of references, mutable data types, and shallow and deep copy.
|
|
5
5
|
Author-email: Bas Terwijn <bterwijn@gmail.com>
|
|
6
6
|
License-Expression: BSD-2-Clause
|
|
@@ -1671,6 +1671,7 @@ conn.close()
|
|
|
1671
1671
|
```
|
|
1672
1672
|

|
|
1673
1673
|
|
|
1674
|
+
Or see this larger example in the [Memory Graph Web Debugger](https://memory-graph.com/#micropip=sqlite3&codeurl=https://raw.githubusercontent.com/bterwijn/memory_graph_examples/refs/heads/main/sqlite3_example.py×tep=0.2&play).
|
|
1674
1675
|
|
|
1675
1676
|
# Memory Graph Web Debugger #
|
|
1676
1677
|
The <a href="https://memory-graph.com/#play" target="_blank">Memory Graph Web Debugger</a> lets us use memory_graph without any installation.
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "memory_graph"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.93"
|
|
8
8
|
description = "Teaching tool and debugging aid in context of references, mutable data types, and shallow and deep copy."
|
|
9
9
|
authors = [
|
|
10
10
|
{name = "Bas Terwijn", email = "bterwijn@gmail.com"}
|
|
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
|
|
File without changes
|