sysgraph 0.0.18__tar.gz → 0.0.20__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.
- {sysgraph-0.0.18/src/sysgraph.egg-info → sysgraph-0.0.20}/PKG-INFO +2 -2
- {sysgraph-0.0.18 → sysgraph-0.0.20}/pyproject.toml +1 -1
- sysgraph-0.0.20/src/sysgraph/__init__.py +1 -0
- {sysgraph-0.0.18 → sysgraph-0.0.20}/src/sysgraph/discovery.py +6 -0
- sysgraph-0.0.20/src/sysgraph/dist/assets/index-Y5p_wPbL.js +458 -0
- sysgraph-0.0.20/src/sysgraph/dist/assets/index-q-9L9Qhc.css +1 -0
- {sysgraph-0.0.18 → sysgraph-0.0.20}/src/sysgraph/dist/index.html +12 -9
- {sysgraph-0.0.18 → sysgraph-0.0.20}/src/sysgraph/model.py +1 -0
- {sysgraph-0.0.18 → sysgraph-0.0.20/src/sysgraph.egg-info}/PKG-INFO +2 -2
- {sysgraph-0.0.18 → sysgraph-0.0.20}/src/sysgraph.egg-info/SOURCES.txt +2 -2
- {sysgraph-0.0.18 → sysgraph-0.0.20}/src/sysgraph.egg-info/requires.txt +1 -1
- sysgraph-0.0.18/src/sysgraph/__init__.py +0 -1
- sysgraph-0.0.18/src/sysgraph/dist/assets/index-BLbtXZbQ.css +0 -1
- sysgraph-0.0.18/src/sysgraph/dist/assets/index-Dq5MCDEE.js +0 -737
- {sysgraph-0.0.18 → sysgraph-0.0.20}/LICENSE +0 -0
- {sysgraph-0.0.18 → sysgraph-0.0.20}/MANIFEST.in +0 -0
- {sysgraph-0.0.18 → sysgraph-0.0.20}/README.md +0 -0
- {sysgraph-0.0.18 → sysgraph-0.0.20}/setup.cfg +0 -0
- {sysgraph-0.0.18 → sysgraph-0.0.20}/src/sysgraph/__main__.py +0 -0
- {sysgraph-0.0.18 → sysgraph-0.0.20}/src/sysgraph/app.py +0 -0
- {sysgraph-0.0.18 → sysgraph-0.0.20}/src/sysgraph/constants.py +0 -0
- {sysgraph-0.0.18 → sysgraph-0.0.20}/src/sysgraph/dist/assets/icon-TKtfQOgj.png +0 -0
- {sysgraph-0.0.18 → sysgraph-0.0.20}/src/sysgraph/graph.py +0 -0
- {sysgraph-0.0.18 → sysgraph-0.0.20}/src/sysgraph/main.py +0 -0
- {sysgraph-0.0.18 → sysgraph-0.0.20}/src/sysgraph/temp/congress_network/compute_vc.py +0 -0
- {sysgraph-0.0.18 → sysgraph-0.0.20}/src/sysgraph/temp/congress_network/convert_to_graph_format.py +0 -0
- {sysgraph-0.0.18 → sysgraph-0.0.20}/src/sysgraph/temp/congress_network/histogram_weights.py +0 -0
- {sysgraph-0.0.18 → sysgraph-0.0.20}/src/sysgraph/temp/congress_network/viral_centrality.py +0 -0
- {sysgraph-0.0.18 → sysgraph-0.0.20}/src/sysgraph/temp/voles_network/convert_voles_to_graph_format.py +0 -0
- {sysgraph-0.0.18 → sysgraph-0.0.20}/src/sysgraph/tests/test_discovery.py +0 -0
- {sysgraph-0.0.18 → sysgraph-0.0.20}/src/sysgraph/tests/test_graph.py +0 -0
- {sysgraph-0.0.18 → sysgraph-0.0.20}/src/sysgraph.egg-info/dependency_links.txt +0 -0
- {sysgraph-0.0.18 → sysgraph-0.0.20}/src/sysgraph.egg-info/entry_points.txt +0 -0
- {sysgraph-0.0.18 → sysgraph-0.0.20}/src/sysgraph.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sysgraph
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.20
|
|
4
4
|
Summary: Visualizer for processes and their interconnections
|
|
5
5
|
Author-email: Eugene Gubenkov <gubenkoved@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -26,7 +26,7 @@ License-File: LICENSE
|
|
|
26
26
|
Requires-Dist: psutil
|
|
27
27
|
Requires-Dist: coloredlogs
|
|
28
28
|
Requires-Dist: fastapi>=0.95
|
|
29
|
-
Requires-Dist: uvicorn
|
|
29
|
+
Requires-Dist: uvicorn>=0.20
|
|
30
30
|
Dynamic: license-file
|
|
31
31
|
|
|
32
32
|
# sysgraph
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.0.20"
|
|
@@ -263,6 +263,7 @@ def get_all_net_connections() -> dict[int, list[NetConnection]]:
|
|
|
263
263
|
else None,
|
|
264
264
|
socket_type=pcon.type.name,
|
|
265
265
|
state=pcon.status,
|
|
266
|
+
fd=pcon.fd if pcon.fd != -1 else None,
|
|
266
267
|
)
|
|
267
268
|
)
|
|
268
269
|
return result
|
|
@@ -502,10 +503,15 @@ def _add_network_nodes(
|
|
|
502
503
|
sock_to_pids[sock_key] = sock_to_pids.get(sock_key, []) + [
|
|
503
504
|
proc.pid
|
|
504
505
|
]
|
|
506
|
+
edge_props: dict = {}
|
|
507
|
+
if net_con.fd is not None:
|
|
508
|
+
edge_props["fd"] = net_con.fd
|
|
509
|
+
edge_props["label"] = f"socket (fd={net_con.fd})"
|
|
505
510
|
graph.add_edge(
|
|
506
511
|
source_id=proc_node.id,
|
|
507
512
|
target_id=local_socket.id,
|
|
508
513
|
rel_type=EDGE_SOCKET,
|
|
514
|
+
properties=edge_props,
|
|
509
515
|
)
|
|
510
516
|
if net_con.remote_address:
|
|
511
517
|
remote_socket = ensure_socket(
|