netrun 0.1.0__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.
netrun-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,9 @@
1
+ Metadata-Version: 2.4
2
+ Name: netrun
3
+ Version: 0.1.0
4
+ Summary: A flow-based development (FBD) runtime system.
5
+ Requires-Python: >=3.11
6
+ Description-Content-Type: text/markdown
7
+ Requires-Dist: netrun-sim>=0.1.1
8
+
9
+ A flow-based development (FBD) runtime system.
netrun-0.1.0/README.md ADDED
@@ -0,0 +1 @@
1
+ A flow-based development (FBD) runtime system.
@@ -0,0 +1,16 @@
1
+ [project]
2
+ name = "netrun"
3
+ version = "0.1.0"
4
+ description = "A flow-based development (FBD) runtime system."
5
+ readme = "README.md"
6
+ requires-python = ">=3.11"
7
+ dependencies = [
8
+ "netrun-sim>=0.1.1",
9
+ ]
10
+
11
+ [dependency-groups]
12
+ dev = [
13
+ "jupyterlab>=4.5.1",
14
+ "nblite>=0.6.10",
15
+ "pytest>=9.0.2",
16
+ ]
netrun-0.1.0/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,2 @@
1
+
2
+ from .graph import Port, SalvoConditionTerm, SalvoCondition, Node, Graph
@@ -0,0 +1,38 @@
1
+ # AUTOGENERATED! DO NOT EDIT! File to edit: ../../../pts/netrun/graph.pct.py.
2
+
3
+ # %% auto 0
4
+ __all__ = ['Node', 'Graph']
5
+
6
+ # %% ../../../pts/netrun/graph.pct.py 2
7
+ from typing import Callable, Optional
8
+ from dataclasses import dataclass
9
+
10
+ import netrun_sim
11
+ from netrun_sim import Port, SalvoConditionTerm, SalvoCondition
12
+
13
+ # %% ../../../pts/netrun/graph.pct.py 3
14
+ @dataclass
15
+ class Node:
16
+ name: str
17
+ in_ports: dict[str, Port]
18
+ out_ports: dict[str, Port]
19
+ in_salvo_conditions: dict[str, SalvoCondition]
20
+ out_salvo_conditions: dict[str, SalvoCondition]
21
+
22
+ epoch_func: Callable[[], None]
23
+ startup_func: Optional[Callable[[], None]]
24
+ shutdown_func: Optional[Callable[[], None]]
25
+
26
+ def __post_init__(self):
27
+ self._node_spec = netrun_sim.Node(
28
+ name=name,
29
+ in_ports=in_ports,
30
+ out_ports=out_ports,
31
+ in_salvo_conditions=in_salvo_conditions,
32
+ out_salvo_conditions=out_salvo_conditions,
33
+ )
34
+
35
+ # %% ../../../pts/netrun/graph.pct.py 4
36
+ class Graph:
37
+ nodes: list[Node]
38
+ edges: list[Edge]
@@ -0,0 +1,9 @@
1
+ Metadata-Version: 2.4
2
+ Name: netrun
3
+ Version: 0.1.0
4
+ Summary: A flow-based development (FBD) runtime system.
5
+ Requires-Python: >=3.11
6
+ Description-Content-Type: text/markdown
7
+ Requires-Dist: netrun-sim>=0.1.1
8
+
9
+ A flow-based development (FBD) runtime system.
@@ -0,0 +1,9 @@
1
+ README.md
2
+ pyproject.toml
3
+ src/netrun/__init__.py
4
+ src/netrun/graph.py
5
+ src/netrun.egg-info/PKG-INFO
6
+ src/netrun.egg-info/SOURCES.txt
7
+ src/netrun.egg-info/dependency_links.txt
8
+ src/netrun.egg-info/requires.txt
9
+ src/netrun.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ netrun-sim>=0.1.1
@@ -0,0 +1 @@
1
+ netrun