neuro-simulator 0.4.3__py3-none-any.whl → 0.4.4__py3-none-any.whl

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,5 +1,6 @@
1
1
  # backend/config.py
2
2
  import shutil
3
+ import sys
3
4
  from pathlib import Path
4
5
  import yaml
5
6
  from pydantic import BaseModel, Field
@@ -91,24 +92,6 @@ def _deep_update(source: dict, overrides: dict) -> dict:
91
92
  source[key] = overrides[key]
92
93
  return source
93
94
 
94
- class ConfigManager:
95
- _instance = None
96
-
97
- def __new__(cls):
98
- if cls._instance is None:
99
- cls._instance = super(ConfigManager, cls).__new__(cls)
100
- cls._instance._initialized = False
101
- return cls._instance
102
-
103
- def __init__(self):
104
- if self._initialized:
105
- return
106
- self.settings: AppSettings = self._load_settings()
107
- self._update_callbacks = []
108
- self._initialized = True
109
-
110
- import sys
111
-
112
95
  class ConfigManager:
113
96
  _instance = None
114
97
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: neuro_simulator
3
- Version: 0.4.3
3
+ Version: 0.4.4
4
4
  Summary: Neuro Simulator Server
5
5
  Author-email: Moha-Master <hongkongreporter@outlook.com>
6
6
  License-Expression: MIT
@@ -29,7 +29,7 @@ neuro_simulator/core/__init__.py,sha256=-ojq25c8XA0CU25b0OxcGjH4IWFEDHR-HXSRSZIu
29
29
  neuro_simulator/core/agent_factory.py,sha256=p3IKT6sNzSpUojQjvbZJu0pbmyyb258sGn_YNSJlqwI,1717
30
30
  neuro_simulator/core/agent_interface.py,sha256=ZXUCtkQUvsBQ5iCb0gTILJaShn5KmSrEgKhd7PK18HE,2794
31
31
  neuro_simulator/core/application.py,sha256=mW5SlqonSn5oQvb5xuGR8FTZ_-sEx3OUTXwfC_N_-2c,26703
32
- neuro_simulator/core/config.py,sha256=JNcZccxRa0oY_6ctRlue_2Wf2zxL0FONr8jXVE8xqfg,15568
32
+ neuro_simulator/core/config.py,sha256=-QS19kLg2Y5kTWZ0LJK0a2W7Pg_o4kEnHK3hUYknC2k,15118
33
33
  neuro_simulator/core/path_manager.py,sha256=hfjI4s8-WXlgwvPWDSLYMQ2d0OaXPOMYWWlP5xe5NLg,2954
34
34
  neuro_simulator/services/__init__.py,sha256=s3ZrAHg5TpJakadAAGY1h0wDw_xqN4Je4aJwJyRBmk4,61
35
35
  neuro_simulator/services/audience.py,sha256=sAmvkz1ip1MNqaw7t-9abqfnmp0yh8EdG5bS5KYR-Us,4999
@@ -43,8 +43,8 @@ neuro_simulator/utils/process.py,sha256=9OYWx8fzaJZqmFUcjQX37AnBhl7YWvrLxDWBa30v
43
43
  neuro_simulator/utils/queue.py,sha256=bg-mIFF8ycClwmmfcKSPjAXtvjImzTKf6z7xZc2VX20,2196
44
44
  neuro_simulator/utils/state.py,sha256=DdBqSAYfjOFtJfB1hEGhYPh32r1ZvFuVlN_-29_-luA,664
45
45
  neuro_simulator/utils/websocket.py,sha256=fjC-qipzjgM_e7XImP12DFmLhvxkMOSr2GnUWws7esE,2058
46
- neuro_simulator-0.4.3.dist-info/METADATA,sha256=2cAnGJWSywTFI4vjaTyogCXdh6n6T681-Bk4PBSg-hs,7675
47
- neuro_simulator-0.4.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
48
- neuro_simulator-0.4.3.dist-info/entry_points.txt,sha256=qVd5ypnRRgU8Cw7rWfZ7o0OXyS9P9hgY-cRoN_mgz9g,51
49
- neuro_simulator-0.4.3.dist-info/top_level.txt,sha256=V8awSKpcrFnjJDiJxSfy7jtOrnuE2BgAR9hLmfMDWK8,16
50
- neuro_simulator-0.4.3.dist-info/RECORD,,
46
+ neuro_simulator-0.4.4.dist-info/METADATA,sha256=uQhDweXqikVVYKCm0-JdHwlFQnyeAXbANOEkSNqJWow,7675
47
+ neuro_simulator-0.4.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
48
+ neuro_simulator-0.4.4.dist-info/entry_points.txt,sha256=qVd5ypnRRgU8Cw7rWfZ7o0OXyS9P9hgY-cRoN_mgz9g,51
49
+ neuro_simulator-0.4.4.dist-info/top_level.txt,sha256=V8awSKpcrFnjJDiJxSfy7jtOrnuE2BgAR9hLmfMDWK8,16
50
+ neuro_simulator-0.4.4.dist-info/RECORD,,