Graphinate 0.2.19__tar.gz → 0.2.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.
- {graphinate-0.2.19 → graphinate-0.2.20}/PKG-INFO +5 -5
- graphinate-0.2.20/examples/code/requirements.txt +2 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/examples/github/requirements.txt +1 -0
- graphinate-0.2.20/examples/math/requirements.txt +1 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/examples/system/processes.py +9 -4
- graphinate-0.2.20/examples/system/requirements.txt +2 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/pyproject.toml +5 -5
- graphinate-0.2.19/examples/code/requirements.txt +0 -1
- graphinate-0.2.19/examples/system/requirements.txt +0 -1
- {graphinate-0.2.19 → graphinate-0.2.20}/.coveragerc +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/.github/dependabot.yml +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/.github/workflows/codeql.yml +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/.github/workflows/publish-docs.yaml +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/.github/workflows/publish.yml +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/.github/workflows/test-beta.yml +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/.github/workflows/test.yml +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/.gitignore +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/LICENSE +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/README.md +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/STATS.md +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/docs/acknowledge.md +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/docs/assets/images/logo-128.png +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/docs/assets/images/network_graph.png +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/docs/assets/stylesheets/extra.css +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/docs/dev.md +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/docs/examples/code.md +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/docs/examples/github.md +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/docs/examples/math.md +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/docs/examples/system.md +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/docs/examples/web.md +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/docs/gen_ref_pages.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/docs/index.md +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/docs/intro.md +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/docs/start.md +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/docs/usage/cli.md +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/docs/usage/lib.md +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/examples/code/python_ast.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/examples/code/python_dependencies.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/examples/github/_client.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/examples/github/commits_visibilty_graph.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/examples/github/followers.graphql +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/examples/github/followers.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/examples/github/graphql.config.yml +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/examples/github/repositories.graphql +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/examples/github/repositories.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/examples/math/graph_atlas.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/examples/math/polygonal_graph.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/examples/web/page_links.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/examples/web/requirements.txt +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/mkdocs.yml +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/playground/ethernet/traceroute.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/playground/genric_graph.graphql +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/playground/graphql.config.yml +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/playground/house_of_graphs.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/playground/social/albums.json +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/playground/social/musicisians.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/playground/text/nlp_graph.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/playground/text/requirements.txt +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/playground/time_series/requirements.txt +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/playground/time_series/visibility_graph.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/sonar-project.properties +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/__init__.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/__main__.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/builders.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/cli.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/color.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/materializers/__init__.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/materializers/matplotlib.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/modeling.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/server/__init__.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/server/starlette/__init__.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/server/starlette/views.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/server/web/__init__.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/server/web/elements/__init__.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/server/web/elements/index.html +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/server/web/graphiql/__init__.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/server/web/graphiql/index.html +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/server/web/rapidoc/__init__.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/server/web/rapidoc/index.html +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/server/web/static/images/logo-128.png +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/server/web/static/images/network_graph.png +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/server/web/viewer/__init__.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/server/web/viewer/index.html +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/server/web/voyager/__init__.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/server/web/voyager/index.html +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/tools/__init__.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/tools/converters.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/tools/gui.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/tools/mutators.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/typing.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/tests/conftest.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/tests/graphinate/test_builders.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/tests/graphinate/test_cli.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/tests/graphinate/test_color.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/tests/graphinate/test_materializers.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/tests/graphinate/test_modeling.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/tests/graphinate/test_server.py +0 -0
- {graphinate-0.2.19 → graphinate-0.2.20}/tests/graphinate/test_tools.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: Graphinate
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.20
|
|
4
4
|
Summary: Graphinate. Data to Graphs.
|
|
5
5
|
Project-URL: Homepage, https://erivlis.github.io/graphinate
|
|
6
6
|
Project-URL: Documentation, https://erivlis.github.io/graphinate
|
|
@@ -28,11 +28,11 @@ Classifier: Topic :: Software Development :: Libraries
|
|
|
28
28
|
Classifier: Typing :: Typed
|
|
29
29
|
Requires-Python: >=3.9
|
|
30
30
|
Requires-Dist: click==8.1.7
|
|
31
|
-
Requires-Dist: inflect==7.
|
|
31
|
+
Requires-Dist: inflect==7.2.0
|
|
32
32
|
Requires-Dist: loguru==0.7.2
|
|
33
|
-
Requires-Dist: matplotlib==3.8.
|
|
33
|
+
Requires-Dist: matplotlib==3.8.4
|
|
34
34
|
Requires-Dist: networkx==3.2.1
|
|
35
|
-
Requires-Dist: strawberry-graphql[asgi,opentelemetry]==0.
|
|
35
|
+
Requires-Dist: strawberry-graphql[asgi,opentelemetry]==0.224.1
|
|
36
36
|
Provides-Extra: dev
|
|
37
37
|
Requires-Dist: pipdeptree; extra == 'dev'
|
|
38
38
|
Requires-Dist: ruff; extra == 'dev'
|
|
@@ -52,7 +52,7 @@ Requires-Dist: uvicorn[standard]>=0.29.0; extra == 'server'
|
|
|
52
52
|
Provides-Extra: test
|
|
53
53
|
Requires-Dist: faker>=23.2.1; extra == 'test'
|
|
54
54
|
Requires-Dist: pytest-asyncio>=0.23.5; extra == 'test'
|
|
55
|
-
Requires-Dist: pytest-cov>=
|
|
55
|
+
Requires-Dist: pytest-cov>=5.0.0; extra == 'test'
|
|
56
56
|
Requires-Dist: pytest-randomly>=3.15.0; extra == 'test'
|
|
57
57
|
Requires-Dist: pytest-xdist>=3.5.0; extra == 'test'
|
|
58
58
|
Requires-Dist: pytest>=8.1.1; extra == 'test'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
graphinate
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import operator
|
|
2
2
|
from collections.abc import Iterable
|
|
3
3
|
|
|
4
|
+
import graphinate
|
|
4
5
|
import networkx as nx
|
|
5
6
|
import psutil
|
|
6
7
|
|
|
7
|
-
import graphinate
|
|
8
|
-
|
|
9
8
|
|
|
10
9
|
def processes_graph_model():
|
|
11
10
|
graph_model = graphinate.model("Processes Graph")
|
|
@@ -15,8 +14,14 @@ def processes_graph_model():
|
|
|
15
14
|
if psutil.pid_exists(pid):
|
|
16
15
|
yield psutil.Process(pid)
|
|
17
16
|
|
|
18
|
-
processes_list = [
|
|
19
|
-
|
|
17
|
+
processes_list = [
|
|
18
|
+
{
|
|
19
|
+
'pid': p.pid,
|
|
20
|
+
'name': p.name(),
|
|
21
|
+
'parent_pid': p.parent().pid if p.parent() else None
|
|
22
|
+
}
|
|
23
|
+
for p in processes()
|
|
24
|
+
]
|
|
20
25
|
|
|
21
26
|
@graph_model.node(key=operator.itemgetter('pid'), label=operator.itemgetter('name'))
|
|
22
27
|
def process():
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "Graphinate"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.20"
|
|
4
4
|
authors = [
|
|
5
5
|
{ name = "Eran Rivlis", email = "eran@rivlis.info" },
|
|
6
6
|
]
|
|
@@ -29,11 +29,11 @@ classifiers = [
|
|
|
29
29
|
keywords = ['graph', 'declarative']
|
|
30
30
|
dependencies = [
|
|
31
31
|
"click==8.1.7",
|
|
32
|
-
"inflect==7.
|
|
32
|
+
"inflect==7.2.0",
|
|
33
33
|
"loguru==0.7.2",
|
|
34
|
-
"matplotlib==3.8.
|
|
34
|
+
"matplotlib==3.8.4",
|
|
35
35
|
"networkx==3.2.1",
|
|
36
|
-
"strawberry-graphql[asgi,opentelemetry]==0.
|
|
36
|
+
"strawberry-graphql[asgi,opentelemetry]==0.224.1"
|
|
37
37
|
]
|
|
38
38
|
|
|
39
39
|
|
|
@@ -62,7 +62,7 @@ test = [
|
|
|
62
62
|
"faker>=23.2.1",
|
|
63
63
|
"pytest>=8.1.1",
|
|
64
64
|
"pytest-asyncio>=0.23.5",
|
|
65
|
-
"pytest-cov>=
|
|
65
|
+
"pytest-cov>=5.0.0",
|
|
66
66
|
"pytest-randomly>=3.15.0",
|
|
67
67
|
"pytest-xdist>=3.5.0"
|
|
68
68
|
]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
pipdeptree>=2.13.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
psutil>=5.9.8
|
|
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
|
|
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
|
{graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/server/web/static/images/logo-128.png
RENAMED
|
File without changes
|
{graphinate-0.2.19 → graphinate-0.2.20}/src/graphinate/server/web/static/images/network_graph.png
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
|