parallelazy 0.0.2__tar.gz → 0.0.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: parallelazy
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Summary: A lightweight multiprocess worker-plugin framework. Topic-based pub/sub, global enviroment, using process spawn and pipes, pytorch and CUDA ready.
5
5
  Author: Cesare Montresor
6
6
  Project-URL: Homepage, https://github.com/cesare-montresor/parallelazy
@@ -0,0 +1,122 @@
1
+ """
2
+ ModularNet Plugin System: Lightweight multiprocessing-based plugin architecture.
3
+
4
+ Provides modular plugin execution with pub/sub messaging, environment variables,
5
+ and service invocation.
6
+
7
+ Main Components:
8
+ - PluginDescriptor: Serializable plugin metadata
9
+ - Plugin: Abstract base class for plugins
10
+ - PluginManager: Plugin orchestration and management
11
+ - PluginWorker: Plugin subprocess worker
12
+ - PluginMessages: Unified IPC message protocol (Request, Response)
13
+ - DataExchange: Unified subscription model (topics + env vars)
14
+ - ManagerProxy: Client-side proxy for direct manager access from plugins
15
+ """
16
+
17
+ from parallelazy.environment_manager import EnvironmentManager
18
+ from parallelazy.plugin import Plugin, PluginDescriptor, PluginState
19
+ from parallelazy.plugin_data import (
20
+ Channel,
21
+ CommandType,
22
+ Message,
23
+ PendingRequest,
24
+ PluginStatus,
25
+ ProcessStatus,
26
+ Queue,
27
+ QueueDescriptor,
28
+ QueueRecive,
29
+ QueueSend,
30
+ Request,
31
+ RequestCallback,
32
+ RequestEnvGet,
33
+ RequestEnvGetAll,
34
+ RequestEnvSet,
35
+ RequestEnvSubscribe,
36
+ RequestEnvUnsubscribe,
37
+ RequestEnvUpdate,
38
+ RequestPluginCall,
39
+ RequestPluginErrors,
40
+ RequestPluginStart,
41
+ RequestPluginStatus,
42
+ RequestPluginStatusAll,
43
+ RequestPluginStop,
44
+ RequestTopicAnnounce,
45
+ RequestTopicList,
46
+ RequestTopicSubscribe,
47
+ RequestTopicUnsubscribe,
48
+ Response,
49
+ ResponseCallback,
50
+ Subscriber,
51
+ Subscription,
52
+ )
53
+ from parallelazy.plugin_manager import PluginInfo, PluginManager
54
+ from parallelazy.plugin_rpc import (
55
+ MessageUID,
56
+ PluginCoreRPC,
57
+ PluginEnvRPC,
58
+ PluginLifeCycleRPC,
59
+ PluginRPC,
60
+ PluginTopicRPC,
61
+ )
62
+ from parallelazy.plugin_transport import (
63
+ IpcEventCuda,
64
+ IpcEventPool,
65
+ IpcEventPoolManaged,
66
+ mark_graph_output,
67
+ sanitize_for_ipc,
68
+ )
69
+ from parallelazy.plugin_worker import PluginWorker
70
+
71
+ __all__ = [
72
+ "EnvironmentManager",
73
+ "Plugin",
74
+ "PluginDescriptor",
75
+ "PluginState",
76
+ "Channel",
77
+ "CommandType",
78
+ "Message",
79
+ "PendingRequest",
80
+ "PluginStatus",
81
+ "ProcessStatus",
82
+ "Queue",
83
+ "QueueDescriptor",
84
+ "QueueRecive",
85
+ "QueueSend",
86
+ "Request",
87
+ "RequestCallback",
88
+ "RequestEnvGet",
89
+ "RequestEnvGetAll",
90
+ "RequestEnvSet",
91
+ "RequestEnvSubscribe",
92
+ "RequestEnvUnsubscribe",
93
+ "RequestEnvUpdate",
94
+ "RequestPluginCall",
95
+ "RequestPluginErrors",
96
+ "RequestPluginStart",
97
+ "RequestPluginStatus",
98
+ "RequestPluginStatusAll",
99
+ "RequestPluginStop",
100
+ "RequestTopicAnnounce",
101
+ "RequestTopicList",
102
+ "RequestTopicSubscribe",
103
+ "RequestTopicUnsubscribe",
104
+ "Response",
105
+ "ResponseCallback",
106
+ "Subscriber",
107
+ "Subscription",
108
+ "PluginInfo",
109
+ "PluginManager",
110
+ "MessageUID",
111
+ "PluginCoreRPC",
112
+ "PluginEnvRPC",
113
+ "PluginLifeCycleRPC",
114
+ "PluginRPC",
115
+ "PluginTopicRPC",
116
+ "PluginWorker",
117
+ "IpcEventCuda",
118
+ "IpcEventPool",
119
+ "IpcEventPoolManaged",
120
+ "mark_graph_output",
121
+ "sanitize_for_ipc",
122
+ ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: parallelazy
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Summary: A lightweight multiprocess worker-plugin framework. Topic-based pub/sub, global enviroment, using process spawn and pipes, pytorch and CUDA ready.
5
5
  Author: Cesare Montresor
6
6
  Project-URL: Homepage, https://github.com/cesare-montresor/parallelazy
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "parallelazy"
7
- version = "0.0.2"
7
+ version = "0.0.3"
8
8
  description = "A lightweight multiprocess worker-plugin framework. Topic-based pub/sub, global enviroment, using process spawn and pipes, pytorch and CUDA ready."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -1,43 +0,0 @@
1
- """
2
- ModularNet Plugin System: Lightweight multiprocessing-based plugin architecture.
3
-
4
- Provides modular plugin execution with pub/sub messaging, environment variables,
5
- and service invocation.
6
-
7
- Main Components:
8
- - PluginDescriptor: Serializable plugin metadata
9
- - Plugin: Abstract base class for plugins
10
- - PluginManager: Plugin orchestration and management
11
- - PluginWorker: Plugin subprocess worker
12
- - PluginMessages: Unified IPC message protocol (Request, Response)
13
- - DataExchange: Unified subscription model (topics + env vars)
14
- - ManagerProxy: Client-side proxy for direct manager access from plugins
15
- """
16
-
17
- from parallelazy.plugin import Plugin, PluginState, PluginDescriptor
18
- from parallelazy.environment_manager import EnvironmentManager
19
- from parallelazy.plugin_manager import PluginManager
20
-
21
- from parallelazy.plugin_data import (
22
- Request, Response,
23
- Subscription,
24
- PluginStatus, ProcessStatus
25
- )
26
- from parallelazy.plugin_rpc import PluginRPC
27
-
28
- __all__ = [
29
- "PluginDescriptor",
30
- "Plugin",
31
- "PluginState",
32
- "EnvironmentManager",
33
- "EnvUpdate",
34
- "PluginManager",
35
- "Request",
36
- "Response",
37
- "Channel",
38
- "Subscription",
39
- "SubscriptionType",
40
- "PluginStatus",
41
- "ProcessStatus",
42
- "PluginRPC",
43
- ]
File without changes
File without changes
File without changes