exonware-xwsystem 0.0.1.410__py3-none-any.whl → 0.1.0.1__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.
Files changed (259) hide show
  1. exonware/__init__.py +1 -1
  2. exonware/conf.py +1 -1
  3. exonware/xwsystem/__init__.py +2 -2
  4. exonware/xwsystem/caching/__init__.py +1 -1
  5. exonware/xwsystem/caching/base.py +2 -2
  6. exonware/xwsystem/caching/bloom_cache.py +2 -2
  7. exonware/xwsystem/caching/cache_manager.py +1 -1
  8. exonware/xwsystem/caching/conditional.py +2 -2
  9. exonware/xwsystem/caching/contracts.py +1 -1
  10. exonware/xwsystem/caching/decorators.py +2 -2
  11. exonware/xwsystem/caching/defs.py +1 -1
  12. exonware/xwsystem/caching/disk_cache.py +1 -1
  13. exonware/xwsystem/caching/distributed.py +1 -1
  14. exonware/xwsystem/caching/errors.py +1 -1
  15. exonware/xwsystem/caching/events.py +2 -2
  16. exonware/xwsystem/caching/eviction_strategies.py +1 -1
  17. exonware/xwsystem/caching/fluent.py +1 -1
  18. exonware/xwsystem/caching/integrity.py +1 -1
  19. exonware/xwsystem/caching/lfu_cache.py +2 -2
  20. exonware/xwsystem/caching/lfu_optimized.py +3 -3
  21. exonware/xwsystem/caching/lru_cache.py +2 -2
  22. exonware/xwsystem/caching/memory_bounded.py +2 -2
  23. exonware/xwsystem/caching/metrics_exporter.py +2 -2
  24. exonware/xwsystem/caching/observable_cache.py +1 -1
  25. exonware/xwsystem/caching/pluggable_cache.py +2 -2
  26. exonware/xwsystem/caching/rate_limiter.py +1 -1
  27. exonware/xwsystem/caching/read_through.py +2 -2
  28. exonware/xwsystem/caching/secure_cache.py +1 -1
  29. exonware/xwsystem/caching/serializable.py +2 -2
  30. exonware/xwsystem/caching/stats.py +1 -1
  31. exonware/xwsystem/caching/tagging.py +2 -2
  32. exonware/xwsystem/caching/ttl_cache.py +1 -1
  33. exonware/xwsystem/caching/two_tier_cache.py +1 -1
  34. exonware/xwsystem/caching/utils.py +1 -1
  35. exonware/xwsystem/caching/validation.py +1 -1
  36. exonware/xwsystem/caching/warming.py +2 -2
  37. exonware/xwsystem/caching/write_behind.py +2 -2
  38. exonware/xwsystem/cli/__init__.py +1 -1
  39. exonware/xwsystem/cli/args.py +1 -1
  40. exonware/xwsystem/cli/base.py +1 -1
  41. exonware/xwsystem/cli/colors.py +1 -1
  42. exonware/xwsystem/cli/console.py +1 -1
  43. exonware/xwsystem/cli/contracts.py +1 -1
  44. exonware/xwsystem/cli/defs.py +1 -1
  45. exonware/xwsystem/cli/errors.py +1 -1
  46. exonware/xwsystem/cli/progress.py +1 -1
  47. exonware/xwsystem/cli/prompts.py +1 -1
  48. exonware/xwsystem/cli/tables.py +1 -1
  49. exonware/xwsystem/config/__init__.py +1 -1
  50. exonware/xwsystem/config/base.py +2 -2
  51. exonware/xwsystem/config/contracts.py +1 -1
  52. exonware/xwsystem/config/defaults.py +1 -1
  53. exonware/xwsystem/config/defs.py +1 -1
  54. exonware/xwsystem/config/errors.py +2 -2
  55. exonware/xwsystem/config/logging.py +1 -1
  56. exonware/xwsystem/config/logging_setup.py +2 -2
  57. exonware/xwsystem/config/performance.py +115 -388
  58. exonware/xwsystem/http_client/__init__.py +1 -1
  59. exonware/xwsystem/http_client/advanced_client.py +2 -2
  60. exonware/xwsystem/http_client/base.py +2 -2
  61. exonware/xwsystem/http_client/client.py +2 -2
  62. exonware/xwsystem/http_client/contracts.py +1 -1
  63. exonware/xwsystem/http_client/defs.py +1 -1
  64. exonware/xwsystem/http_client/errors.py +2 -2
  65. exonware/xwsystem/io/__init__.py +1 -1
  66. exonware/xwsystem/io/archive/__init__.py +1 -1
  67. exonware/xwsystem/io/archive/archive.py +1 -1
  68. exonware/xwsystem/io/archive/archive_files.py +1 -1
  69. exonware/xwsystem/io/archive/archivers.py +2 -2
  70. exonware/xwsystem/io/archive/base.py +6 -6
  71. exonware/xwsystem/io/archive/codec_integration.py +1 -1
  72. exonware/xwsystem/io/archive/compression.py +1 -1
  73. exonware/xwsystem/io/archive/formats/__init__.py +1 -1
  74. exonware/xwsystem/io/archive/formats/brotli_format.py +6 -3
  75. exonware/xwsystem/io/archive/formats/lz4_format.py +6 -3
  76. exonware/xwsystem/io/archive/formats/rar.py +6 -3
  77. exonware/xwsystem/io/archive/formats/sevenzip.py +6 -3
  78. exonware/xwsystem/io/archive/formats/squashfs_format.py +1 -1
  79. exonware/xwsystem/io/archive/formats/tar.py +1 -1
  80. exonware/xwsystem/io/archive/formats/wim_format.py +6 -3
  81. exonware/xwsystem/io/archive/formats/zip.py +1 -1
  82. exonware/xwsystem/io/archive/formats/zpaq_format.py +1 -1
  83. exonware/xwsystem/io/archive/formats/zstandard.py +6 -3
  84. exonware/xwsystem/io/base.py +1 -1
  85. exonware/xwsystem/io/codec/__init__.py +1 -1
  86. exonware/xwsystem/io/codec/base.py +6 -6
  87. exonware/xwsystem/io/codec/contracts.py +1 -1
  88. exonware/xwsystem/io/codec/registry.py +5 -5
  89. exonware/xwsystem/io/common/__init__.py +1 -1
  90. exonware/xwsystem/io/common/base.py +1 -1
  91. exonware/xwsystem/io/common/lock.py +1 -1
  92. exonware/xwsystem/io/common/watcher.py +1 -1
  93. exonware/xwsystem/io/contracts.py +1 -1
  94. exonware/xwsystem/io/data_operations.py +746 -0
  95. exonware/xwsystem/io/defs.py +1 -1
  96. exonware/xwsystem/io/errors.py +1 -1
  97. exonware/xwsystem/io/facade.py +2 -2
  98. exonware/xwsystem/io/file/__init__.py +1 -1
  99. exonware/xwsystem/io/file/base.py +1 -1
  100. exonware/xwsystem/io/file/conversion.py +1 -1
  101. exonware/xwsystem/io/file/file.py +8 -6
  102. exonware/xwsystem/io/file/paged_source.py +8 -1
  103. exonware/xwsystem/io/file/paging/__init__.py +1 -1
  104. exonware/xwsystem/io/file/paging/byte_paging.py +1 -1
  105. exonware/xwsystem/io/file/paging/line_paging.py +1 -1
  106. exonware/xwsystem/io/file/paging/record_paging.py +1 -1
  107. exonware/xwsystem/io/file/paging/registry.py +4 -4
  108. exonware/xwsystem/io/file/source.py +20 -9
  109. exonware/xwsystem/io/filesystem/__init__.py +1 -1
  110. exonware/xwsystem/io/filesystem/base.py +1 -1
  111. exonware/xwsystem/io/filesystem/local.py +9 -1
  112. exonware/xwsystem/io/folder/__init__.py +1 -1
  113. exonware/xwsystem/io/folder/base.py +1 -1
  114. exonware/xwsystem/io/folder/folder.py +2 -2
  115. exonware/xwsystem/io/serialization/__init__.py +1 -1
  116. exonware/xwsystem/io/serialization/auto_serializer.py +52 -39
  117. exonware/xwsystem/io/serialization/base.py +165 -1
  118. exonware/xwsystem/io/serialization/contracts.py +88 -1
  119. exonware/xwsystem/io/serialization/defs.py +1 -1
  120. exonware/xwsystem/io/serialization/errors.py +1 -1
  121. exonware/xwsystem/io/serialization/flyweight.py +10 -10
  122. exonware/xwsystem/io/serialization/format_detector.py +8 -5
  123. exonware/xwsystem/io/serialization/formats/__init__.py +1 -1
  124. exonware/xwsystem/io/serialization/formats/binary/bson.py +1 -1
  125. exonware/xwsystem/io/serialization/formats/binary/cbor.py +1 -1
  126. exonware/xwsystem/io/serialization/formats/binary/marshal.py +1 -1
  127. exonware/xwsystem/io/serialization/formats/binary/msgpack.py +1 -1
  128. exonware/xwsystem/io/serialization/formats/binary/pickle.py +1 -1
  129. exonware/xwsystem/io/serialization/formats/binary/plistlib.py +1 -1
  130. exonware/xwsystem/io/serialization/formats/database/dbm.py +53 -1
  131. exonware/xwsystem/io/serialization/formats/database/shelve.py +48 -1
  132. exonware/xwsystem/io/serialization/formats/database/sqlite3.py +85 -1
  133. exonware/xwsystem/io/serialization/formats/text/append_only_log.py +201 -0
  134. exonware/xwsystem/io/serialization/formats/text/configparser.py +1 -1
  135. exonware/xwsystem/io/serialization/formats/text/csv.py +1 -1
  136. exonware/xwsystem/io/serialization/formats/text/formdata.py +1 -1
  137. exonware/xwsystem/io/serialization/formats/text/json.py +43 -20
  138. exonware/xwsystem/io/serialization/formats/text/json5.py +7 -5
  139. exonware/xwsystem/io/serialization/formats/text/jsonlines.py +316 -22
  140. exonware/xwsystem/io/serialization/formats/text/multipart.py +1 -1
  141. exonware/xwsystem/io/serialization/formats/text/toml.py +19 -3
  142. exonware/xwsystem/io/serialization/formats/text/xml.py +8 -1
  143. exonware/xwsystem/io/serialization/formats/text/yaml.py +52 -2
  144. exonware/xwsystem/io/serialization/parsers/__init__.py +15 -0
  145. exonware/xwsystem/io/serialization/parsers/base.py +59 -0
  146. exonware/xwsystem/io/serialization/parsers/hybrid_parser.py +61 -0
  147. exonware/xwsystem/io/serialization/parsers/msgspec_parser.py +45 -0
  148. exonware/xwsystem/io/serialization/parsers/orjson_direct_parser.py +53 -0
  149. exonware/xwsystem/io/serialization/parsers/orjson_parser.py +59 -0
  150. exonware/xwsystem/io/serialization/parsers/pysimdjson_parser.py +51 -0
  151. exonware/xwsystem/io/serialization/parsers/rapidjson_parser.py +50 -0
  152. exonware/xwsystem/io/serialization/parsers/registry.py +90 -0
  153. exonware/xwsystem/io/serialization/parsers/standard.py +43 -0
  154. exonware/xwsystem/io/serialization/parsers/ujson_parser.py +50 -0
  155. exonware/xwsystem/io/serialization/registry.py +1 -1
  156. exonware/xwsystem/io/serialization/serializer.py +175 -3
  157. exonware/xwsystem/io/serialization/utils/__init__.py +1 -1
  158. exonware/xwsystem/io/serialization/utils/path_ops.py +1 -1
  159. exonware/xwsystem/io/stream/__init__.py +1 -1
  160. exonware/xwsystem/io/stream/async_operations.py +1 -1
  161. exonware/xwsystem/io/stream/base.py +1 -1
  162. exonware/xwsystem/io/stream/codec_io.py +1 -1
  163. exonware/xwsystem/ipc/async_fabric.py +1 -2
  164. exonware/xwsystem/ipc/base.py +2 -2
  165. exonware/xwsystem/ipc/contracts.py +2 -2
  166. exonware/xwsystem/ipc/defs.py +1 -1
  167. exonware/xwsystem/ipc/errors.py +2 -2
  168. exonware/xwsystem/ipc/pipes.py +2 -2
  169. exonware/xwsystem/ipc/shared_memory.py +2 -2
  170. exonware/xwsystem/monitoring/base.py +2 -2
  171. exonware/xwsystem/monitoring/contracts.py +1 -1
  172. exonware/xwsystem/monitoring/defs.py +1 -1
  173. exonware/xwsystem/monitoring/error_recovery.py +2 -2
  174. exonware/xwsystem/monitoring/errors.py +2 -2
  175. exonware/xwsystem/monitoring/memory_monitor.py +1 -1
  176. exonware/xwsystem/monitoring/performance_manager_generic.py +2 -2
  177. exonware/xwsystem/monitoring/performance_validator.py +1 -1
  178. exonware/xwsystem/monitoring/system_monitor.py +2 -2
  179. exonware/xwsystem/monitoring/tracing.py +2 -2
  180. exonware/xwsystem/monitoring/tracker.py +1 -1
  181. exonware/xwsystem/operations/__init__.py +1 -1
  182. exonware/xwsystem/operations/base.py +1 -1
  183. exonware/xwsystem/operations/defs.py +1 -1
  184. exonware/xwsystem/operations/diff.py +1 -1
  185. exonware/xwsystem/operations/merge.py +1 -1
  186. exonware/xwsystem/operations/patch.py +1 -1
  187. exonware/xwsystem/patterns/base.py +2 -2
  188. exonware/xwsystem/patterns/context_manager.py +2 -2
  189. exonware/xwsystem/patterns/contracts.py +9 -9
  190. exonware/xwsystem/patterns/defs.py +1 -1
  191. exonware/xwsystem/patterns/dynamic_facade.py +8 -8
  192. exonware/xwsystem/patterns/errors.py +5 -5
  193. exonware/xwsystem/patterns/handler_factory.py +6 -6
  194. exonware/xwsystem/patterns/object_pool.py +7 -7
  195. exonware/xwsystem/patterns/registry.py +3 -3
  196. exonware/xwsystem/plugins/__init__.py +1 -1
  197. exonware/xwsystem/plugins/base.py +5 -5
  198. exonware/xwsystem/plugins/contracts.py +5 -5
  199. exonware/xwsystem/plugins/defs.py +1 -1
  200. exonware/xwsystem/plugins/errors.py +4 -4
  201. exonware/xwsystem/runtime/__init__.py +1 -1
  202. exonware/xwsystem/runtime/base.py +6 -6
  203. exonware/xwsystem/runtime/contracts.py +6 -6
  204. exonware/xwsystem/runtime/defs.py +1 -1
  205. exonware/xwsystem/runtime/env.py +2 -2
  206. exonware/xwsystem/runtime/errors.py +1 -1
  207. exonware/xwsystem/runtime/reflection.py +8 -8
  208. exonware/xwsystem/security/auth.py +1 -1
  209. exonware/xwsystem/security/base.py +2 -2
  210. exonware/xwsystem/security/contracts.py +1 -1
  211. exonware/xwsystem/security/crypto.py +2 -2
  212. exonware/xwsystem/security/defs.py +1 -1
  213. exonware/xwsystem/security/errors.py +2 -2
  214. exonware/xwsystem/security/hazmat.py +2 -2
  215. exonware/xwsystem/shared/__init__.py +1 -1
  216. exonware/xwsystem/shared/base.py +1 -1
  217. exonware/xwsystem/shared/contracts.py +1 -1
  218. exonware/xwsystem/shared/defs.py +1 -1
  219. exonware/xwsystem/shared/errors.py +1 -1
  220. exonware/xwsystem/structures/__init__.py +1 -1
  221. exonware/xwsystem/structures/base.py +2 -2
  222. exonware/xwsystem/structures/contracts.py +1 -1
  223. exonware/xwsystem/structures/defs.py +1 -1
  224. exonware/xwsystem/structures/errors.py +2 -2
  225. exonware/xwsystem/threading/async_primitives.py +2 -2
  226. exonware/xwsystem/threading/base.py +2 -2
  227. exonware/xwsystem/threading/contracts.py +1 -1
  228. exonware/xwsystem/threading/defs.py +1 -1
  229. exonware/xwsystem/threading/errors.py +2 -2
  230. exonware/xwsystem/threading/safe_factory.py +6 -6
  231. exonware/xwsystem/utils/base.py +2 -2
  232. exonware/xwsystem/utils/contracts.py +1 -1
  233. exonware/xwsystem/utils/dt/__init__.py +1 -1
  234. exonware/xwsystem/utils/dt/base.py +2 -2
  235. exonware/xwsystem/utils/dt/contracts.py +1 -1
  236. exonware/xwsystem/utils/dt/defs.py +1 -1
  237. exonware/xwsystem/utils/dt/errors.py +2 -2
  238. exonware/xwsystem/utils/dt/formatting.py +1 -1
  239. exonware/xwsystem/utils/dt/humanize.py +2 -2
  240. exonware/xwsystem/utils/dt/parsing.py +1 -1
  241. exonware/xwsystem/utils/dt/timezone_utils.py +1 -1
  242. exonware/xwsystem/utils/errors.py +2 -2
  243. exonware/xwsystem/utils/utils_contracts.py +1 -1
  244. exonware/xwsystem/validation/__init__.py +1 -1
  245. exonware/xwsystem/validation/base.py +15 -15
  246. exonware/xwsystem/validation/contracts.py +1 -1
  247. exonware/xwsystem/validation/data_validator.py +10 -0
  248. exonware/xwsystem/validation/declarative.py +9 -9
  249. exonware/xwsystem/validation/defs.py +1 -1
  250. exonware/xwsystem/validation/errors.py +2 -2
  251. exonware/xwsystem/validation/fluent_validator.py +4 -4
  252. exonware/xwsystem/version.py +4 -4
  253. {exonware_xwsystem-0.0.1.410.dist-info → exonware_xwsystem-0.1.0.1.dist-info}/METADATA +3 -3
  254. exonware_xwsystem-0.1.0.1.dist-info/RECORD +284 -0
  255. exonware/xwsystem/caching/USAGE_GUIDE.md +0 -779
  256. exonware/xwsystem/utils/test_runner.py +0 -526
  257. exonware_xwsystem-0.0.1.410.dist-info/RECORD +0 -273
  258. {exonware_xwsystem-0.0.1.410.dist-info → exonware_xwsystem-0.1.0.1.dist-info}/WHEEL +0 -0
  259. {exonware_xwsystem-0.0.1.410.dist-info → exonware_xwsystem-0.1.0.1.dist-info}/licenses/LICENSE +0 -0
@@ -2,7 +2,7 @@
2
2
  Company: eXonware.com
3
3
  Author: Eng. Muhammad AlShehri
4
4
  Email: connect@exonware.com
5
- Version: 0.0.1.410
5
+ Version: 0.1.0.1
6
6
  Generation Date: September 04, 2025
7
7
 
8
8
  Asynchronous I/O operations for non-blocking file handling.
@@ -4,7 +4,7 @@
4
4
  Company: eXonware.com
5
5
  Author: Eng. Muhammad AlShehri
6
6
  Email: connect@exonware.com
7
- Version: 0.0.1.410
7
+ Version: 0.1.0.1
8
8
  Generation Date: 30-Oct-2025
9
9
 
10
10
  Base classes for stream operations.
@@ -4,7 +4,7 @@
4
4
  Company: eXonware.com
5
5
  Author: Eng. Muhammad AlShehri
6
6
  Email: connect@exonware.com
7
- Version: 0.0.1.410
7
+ Version: 0.1.0.1
8
8
  Generation Date: 30-Oct-2025
9
9
 
10
10
  Codec-integrated I/O - THE KILLER FEATURE!
@@ -3,7 +3,7 @@
3
3
  Company: eXonware.com
4
4
  Author: Eng. Muhammad AlShehri
5
5
  Email: connect@exonware.com
6
- Version: 0.0.1.410
6
+ Version: 0.1.0.1
7
7
  Generation Date: 09-Nov-2025
8
8
 
9
9
  Async Process Fabric
@@ -27,7 +27,6 @@ from typing import (
27
27
  Any,
28
28
  AsyncIterator,
29
29
  Callable,
30
- Dict,
31
30
  Iterable,
32
31
  Optional,
33
32
  Sequence,
@@ -1,9 +1,9 @@
1
- #exonware/xsystem/ipc/base.py
1
+ #exonware/xwsystem/ipc/base.py
2
2
  """
3
3
  Company: eXonware.com
4
4
  Author: Eng. Muhammad AlShehri
5
5
  Email: connect@exonware.com
6
- Version: 0.0.1.410
6
+ Version: 0.1.0.1
7
7
  Generation Date: September 04, 2025
8
8
 
9
9
  IPC module base classes - abstract classes for inter-process communication functionality.
@@ -2,7 +2,7 @@
2
2
  Company: eXonware.com
3
3
  Author: Eng. Muhammad AlShehri
4
4
  Email: connect@exonware.com
5
- Version: 0.0.1.410
5
+ Version: 0.1.0.1
6
6
  Generation Date: September 04, 2025
7
7
 
8
8
  IPC module contracts - interfaces and enums for inter-process communication.
@@ -124,7 +124,7 @@ class IProcessManager(ABC):
124
124
  """Interface for process management."""
125
125
 
126
126
  @abstractmethod
127
- def create_process(self, target: Callable, args: tuple = (), kwargs: Optional[Dict] = None) -> Process:
127
+ def create_process(self, target: Callable, args: tuple = (), kwargs: Optional[dict] = None) -> Process:
128
128
  """Create new process."""
129
129
  pass
130
130
 
@@ -4,7 +4,7 @@
4
4
  Company: eXonware.com
5
5
  Author: Eng. Muhammad AlShehri
6
6
  Email: connect@exonware.com
7
- Version: 0.0.1.410
7
+ Version: 0.1.0.1
8
8
  Generation Date: 07-Sep-2025
9
9
 
10
10
  IPC types and enums for XWSystem.
@@ -1,9 +1,9 @@
1
- #exonware/xsystem/ipc/errors.py
1
+ #exonware/xwsystem/ipc/errors.py
2
2
  """
3
3
  Company: eXonware.com
4
4
  Author: Eng. Muhammad AlShehri
5
5
  Email: connect@exonware.com
6
- Version: 0.0.1.410
6
+ Version: 0.1.0.1
7
7
  Generation Date: September 04, 2025
8
8
 
9
9
  IPC module errors - exception classes for inter-process communication functionality.
@@ -50,7 +50,7 @@ class Pipe:
50
50
  if sys.platform == 'win32':
51
51
  # Windows named pipes
52
52
  import uuid
53
- self.pipe_name = f"\\\\.\\pipe\\xsystem_{uuid.uuid4().hex}"
53
+ self.pipe_name = f"\\\\.\\pipe\\xwsystem_{uuid.uuid4().hex}"
54
54
  self._create_windows_pipe()
55
55
  else:
56
56
  # Unix domain sockets or os.pipe()
@@ -251,7 +251,7 @@ class AsyncPipe:
251
251
 
252
252
  # Create temporary socket path
253
253
  temp_dir = tempfile.gettempdir()
254
- self._pipe_path = os.path.join(temp_dir, f"xsystem_pipe_{os.getpid()}")
254
+ self._pipe_path = os.path.join(temp_dir, f"xwsystem_pipe_{os.getpid()}")
255
255
 
256
256
  # Remove existing socket file
257
257
  try:
@@ -68,7 +68,7 @@ class SharedData[T]:
68
68
  # Unix: Use /dev/shm or temporary files
69
69
  import tempfile
70
70
  self._file_handle = tempfile.NamedTemporaryFile(
71
- prefix=f"xsystem_shared_{self.name}_",
71
+ prefix=f"xwsystem_shared_{self.name}_",
72
72
  delete=False
73
73
  )
74
74
  self._file_handle.write(b'\x00' * self.size)
@@ -364,7 +364,7 @@ class SharedMemory:
364
364
  name: Name for the shared memory segment
365
365
  size: Size of the memory segment
366
366
  """
367
- self.name = name or f"xsystem_shared_{os.getpid()}"
367
+ self.name = name or f"xwsystem_shared_{os.getpid()}"
368
368
  self.size = size
369
369
  self._manager = SharedMemoryManager()
370
370
  self._segment = None
@@ -1,9 +1,9 @@
1
- #exonware/xsystem/monitoring/base.py
1
+ #exonware/xwsystem/monitoring/base.py
2
2
  """
3
3
  Company: eXonware.com
4
4
  Author: Eng. Muhammad AlShehri
5
5
  Email: connect@exonware.com
6
- Version: 0.0.1.410
6
+ Version: 0.1.0.1
7
7
  Generation Date: September 04, 2025
8
8
 
9
9
  Monitoring module base classes - abstract classes for monitoring functionality.
@@ -3,7 +3,7 @@
3
3
  Company: eXonware.com
4
4
  Author: Eng. Muhammad AlShehri
5
5
  Email: connect@exonware.com
6
- Version: 0.0.1.410
6
+ Version: 0.1.0.1
7
7
  Generation Date: September 04, 2025
8
8
 
9
9
  Monitoring protocol interfaces for XWSystem.
@@ -4,7 +4,7 @@
4
4
  Company: eXonware.com
5
5
  Author: Eng. Muhammad AlShehri
6
6
  Email: connect@exonware.com
7
- Version: 0.0.1.410
7
+ Version: 0.1.0.1
8
8
  Generation Date: 07-Sep-2025
9
9
 
10
10
  Monitoring types and enums for XWSystem.
@@ -10,7 +10,7 @@ import functools
10
10
  import threading
11
11
  import time
12
12
  from dataclasses import dataclass, field
13
- from typing import Any, Callable, Optional, Type, Union
13
+ from typing import Any, Callable, Optional, Union
14
14
 
15
15
  from .defs import CircuitState
16
16
 
@@ -25,7 +25,7 @@ class CircuitBreakerConfig:
25
25
 
26
26
  failure_threshold: int = 5
27
27
  recovery_timeout: float = 60.0 # seconds
28
- expected_exception: Type[Exception] = Exception
28
+ expected_exception: type[Exception] = Exception
29
29
  monitor_interval: float = 10.0 # seconds
30
30
 
31
31
 
@@ -1,9 +1,9 @@
1
- #exonware/xsystem/monitoring/errors.py
1
+ #exonware/xwsystem/monitoring/errors.py
2
2
  """
3
3
  Company: eXonware.com
4
4
  Author: Eng. Muhammad AlShehri
5
5
  Email: connect@exonware.com
6
- Version: 0.0.1.410
6
+ Version: 0.1.0.1
7
7
  Generation Date: September 04, 2025
8
8
 
9
9
  Monitoring module errors - exception classes for monitoring functionality.
@@ -18,7 +18,7 @@ import psutil
18
18
 
19
19
  from ..config.logging_setup import get_logger
20
20
 
21
- logger = get_logger("xsystem.memory_monitor")
21
+ logger = get_logger("xwsystem.memory_monitor")
22
22
 
23
23
 
24
24
  @dataclass
@@ -10,7 +10,7 @@ health monitoring, and recommendations without being tied to specific implementa
10
10
  Company: eXonware.com
11
11
  Author: Eng. Muhammad AlShehri
12
12
  Email: connect@exonware.com
13
- Version: 0.0.1.410
13
+ Version: 0.1.0.1
14
14
  Generation Date: November 04, 2025
15
15
  """
16
16
 
@@ -23,7 +23,7 @@ from typing import Any, Optional, Union
23
23
  from ..config.performance_modes import PerformanceMode
24
24
  from ..config.logging_setup import get_logger
25
25
 
26
- logger = get_logger("xsystem.monitoring.performance_manager_generic")
26
+ logger = get_logger("xwsystem.monitoring.performance_manager_generic")
27
27
 
28
28
 
29
29
  @dataclass
@@ -14,7 +14,7 @@ from typing import Any, Callable, Optional
14
14
 
15
15
  from ..config.logging_setup import get_logger
16
16
 
17
- logger = get_logger("xsystem.performance_validator")
17
+ logger = get_logger("xwsystem.performance_validator")
18
18
 
19
19
 
20
20
  @dataclass
@@ -2,7 +2,7 @@
2
2
  Company: eXonware.com
3
3
  Author: Eng. Muhammad AlShehri
4
4
  Email: connect@exonware.com
5
- Version: 0.0.1.410
5
+ Version: 0.1.0.1
6
6
  Generation Date: September 04, 2025
7
7
 
8
8
  System-wide monitoring and hardware introspection utilities.
@@ -20,7 +20,7 @@ import psutil
20
20
 
21
21
  from ..config.logging_setup import get_logger
22
22
 
23
- logger = get_logger("xsystem.monitoring.system_monitor")
23
+ logger = get_logger("xwsystem.monitoring.system_monitor")
24
24
 
25
25
 
26
26
  @dataclass
@@ -2,7 +2,7 @@
2
2
  Company: eXonware.com
3
3
  Author: Eng. Muhammad AlShehri
4
4
  Email: connect@exonware.com
5
- Version: 0.0.1.410
5
+ Version: 0.1.0.1
6
6
  Generation Date: September 05, 2025
7
7
 
8
8
  Distributed Tracing Integration for Enterprise Observability
@@ -172,7 +172,7 @@ class OpenTelemetryTracer(ATracingProvider):
172
172
  class JaegerTracer(ATracingProvider):
173
173
  """Jaeger-specific tracing provider (simplified implementation)."""
174
174
 
175
- def __init__(self, service_name: str = "xsystem", agent_host: str = "localhost", agent_port: int = 6831):
175
+ def __init__(self, service_name: str = "xwsystem", agent_host: str = "localhost", agent_port: int = 6831):
176
176
  """Initialize Jaeger tracer."""
177
177
  self.service_name = service_name
178
178
  self.agent_host = agent_host
@@ -3,7 +3,7 @@
3
3
  Company: eXonware.com
4
4
  Author: Eng. Muhammad AlShehri
5
5
  Email: connect@exonware.com
6
- Version: 0.0.1.410
6
+ Version: 0.1.0.1
7
7
  Generation Date: October 26, 2025
8
8
 
9
9
  Operation tracker for monitoring operations with context management.
@@ -3,7 +3,7 @@
3
3
  Company: eXonware.com
4
4
  Author: Eng. Muhammad AlShehri
5
5
  Email: connect@exonware.com
6
- Version: 0.0.1.410
6
+ Version: 0.1.0.1
7
7
  Generation Date: October 26, 2025
8
8
 
9
9
  Universal operations library for data manipulation.
@@ -3,7 +3,7 @@
3
3
  Company: eXonware.com
4
4
  Author: Eng. Muhammad AlShehri
5
5
  Email: connect@exonware.com
6
- Version: 0.0.1.410
6
+ Version: 0.1.0.1
7
7
  Generation Date: October 26, 2025
8
8
 
9
9
  Base classes and contracts for operations.
@@ -5,7 +5,7 @@
5
5
  Company: eXonware.com
6
6
  Author: Eng. Muhammad AlShehri
7
7
  Email: connect@exonware.com
8
- Version: 0.0.1.410
8
+ Version: 0.1.0.1
9
9
  Generation Date: October 27, 2025
10
10
 
11
11
  Operations definitions and data structures.
@@ -5,7 +5,7 @@
5
5
  Company: eXonware.com
6
6
  Author: Eng. Muhammad AlShehri
7
7
  Email: connect@exonware.com
8
- Version: 0.0.1.410
8
+ Version: 0.1.0.1
9
9
  Generation Date: October 27, 2025
10
10
 
11
11
  Diff operations implementation.
@@ -3,7 +3,7 @@
3
3
  Company: eXonware.com
4
4
  Author: Eng. Muhammad AlShehri
5
5
  Email: connect@exonware.com
6
- Version: 0.0.1.410
6
+ Version: 0.1.0.1
7
7
  Generation Date: October 26, 2025
8
8
 
9
9
  Merge operations implementation.
@@ -5,7 +5,7 @@
5
5
  Company: eXonware.com
6
6
  Author: Eng. Muhammad AlShehri
7
7
  Email: connect@exonware.com
8
- Version: 0.0.1.410
8
+ Version: 0.1.0.1
9
9
  Generation Date: October 27, 2025
10
10
 
11
11
  Patch operations implementation (RFC 6902 JSON Patch).
@@ -1,9 +1,9 @@
1
- #exonware/xsystem/patterns/base.py
1
+ #exonware/xwsystem/patterns/base.py
2
2
  """
3
3
  Company: eXonware.com
4
4
  Author: Eng. Muhammad AlShehri
5
5
  Email: connect@exonware.com
6
- Version: 0.0.1.410
6
+ Version: 0.1.0.1
7
7
  Generation Date: September 04, 2025
8
8
 
9
9
  Abstract base classes for XSystem patterns.
@@ -9,7 +9,7 @@ import contextlib
9
9
  import logging
10
10
  import threading
11
11
  from contextlib import ExitStack, contextmanager
12
- from typing import Any, ContextManager, Generator, Optional, Type, Union
12
+ from typing import Any, ContextManager, Generator, Optional, Union
13
13
 
14
14
  logger = logging.getLogger(__name__)
15
15
 
@@ -297,7 +297,7 @@ class MultiContextManager:
297
297
  self.stack.__exit__(None, None, None)
298
298
  raise
299
299
 
300
- def __exit__(self, exc_type: Optional[Type[BaseException]], exc_val: Optional[BaseException], exc_tb: Optional[Any]) -> None:
300
+ def __exit__(self, exc_type: Optional[type[BaseException]], exc_val: Optional[BaseException], exc_tb: Optional[Any]) -> None:
301
301
  """Exit all managed contexts."""
302
302
  if self.stack is not None:
303
303
  return self.stack.__exit__(exc_type, exc_val, exc_tb)
@@ -3,14 +3,14 @@
3
3
  Company: eXonware.com
4
4
  Author: Eng. Muhammad AlShehri
5
5
  Email: connect@exonware.com
6
- Version: 0.0.1.410
6
+ Version: 0.1.0.1
7
7
  Generation Date: September 04, 2025
8
8
 
9
9
  Pattern contracts and interfaces for XWSystem design patterns.
10
10
  """
11
11
 
12
12
  from abc import ABC, abstractmethod
13
- from typing import Any, Optional, Type, Callable, Union
13
+ from typing import Any, Optional, Callable, Union
14
14
  # Root cause: Migrating to Python 3.12 built-in generic syntax for consistency
15
15
  # Priority #3: Maintainability - Modern type annotations improve code clarity
16
16
 
@@ -77,7 +77,7 @@ class IHandlerFactory[T](ABC):
77
77
  pass
78
78
 
79
79
  @abstractmethod
80
- def register_handler(self, handler_type: str, handler_class: Type[T]) -> None:
80
+ def register_handler(self, handler_type: str, handler_class: type[T]) -> None:
81
81
  """Register a handler class."""
82
82
  pass
83
83
 
@@ -106,7 +106,7 @@ class IContextManager(ABC):
106
106
  pass
107
107
 
108
108
  @abstractmethod
109
- def __exit__(self, exc_type: Optional[Type[BaseException]],
109
+ def __exit__(self, exc_type: Optional[type[BaseException]],
110
110
  exc_val: Optional[BaseException],
111
111
  exc_tb: Optional[Any]) -> bool:
112
112
  """Exit the context."""
@@ -127,7 +127,7 @@ class IObjectPool[T](ABC):
127
127
  """Interface for object pools."""
128
128
 
129
129
  @abstractmethod
130
- def get(self, obj_type: Type[T], *args, **kwargs) -> T:
130
+ def get(self, obj_type: type[T], *args, **kwargs) -> T:
131
131
  """Get an object from the pool."""
132
132
  pass
133
133
 
@@ -137,7 +137,7 @@ class IObjectPool[T](ABC):
137
137
  pass
138
138
 
139
139
  @abstractmethod
140
- def clear(self, obj_type: Optional[Type[T]] = None) -> None:
140
+ def clear(self, obj_type: Optional[type[T]] = None) -> None:
141
141
  """Clear objects from the pool."""
142
142
  pass
143
143
 
@@ -147,7 +147,7 @@ class IObjectPool[T](ABC):
147
147
  pass
148
148
 
149
149
  @abstractmethod
150
- def is_empty(self, obj_type: Type[T]) -> bool:
150
+ def is_empty(self, obj_type: type[T]) -> bool:
151
151
  """Check if pool is empty for a type."""
152
152
  pass
153
153
 
@@ -343,12 +343,12 @@ class IAdapter(ABC):
343
343
  pass
344
344
 
345
345
  @abstractmethod
346
- def get_source_type(self) -> Type:
346
+ def get_source_type(self) -> type:
347
347
  """Get source type."""
348
348
  pass
349
349
 
350
350
  @abstractmethod
351
- def get_target_type(self) -> Type:
351
+ def get_target_type(self) -> type:
352
352
  """Get target type."""
353
353
  pass
354
354
 
@@ -4,7 +4,7 @@
4
4
  Company: eXonware.com
5
5
  Author: Eng. Muhammad AlShehri
6
6
  Email: connect@exonware.com
7
- Version: 0.0.1.410
7
+ Version: 0.1.0.1
8
8
  Generation Date: 07-Sep-2025
9
9
 
10
10
  Pattern types and enums for XWSystem design patterns.
@@ -1,5 +1,5 @@
1
1
  import re
2
- from typing import Any, Callable, Type
2
+ from typing import Any, Callable
3
3
 
4
4
 
5
5
  class _FormatProxy:
@@ -10,7 +10,7 @@ class _FormatProxy:
10
10
  the creation of a fluent API like `xData.json.load(...)`.
11
11
  """
12
12
 
13
- def __init__(self, handler_class: Type, parent_facade_instance: "DynamicFacade"):
13
+ def __init__(self, handler_class: type, parent_facade_instance: "DynamicFacade"):
14
14
  self._handler_class = handler_class
15
15
  self._parent = parent_facade_instance
16
16
 
@@ -64,7 +64,7 @@ class DynamicFacade:
64
64
  """
65
65
 
66
66
  def __init__(
67
- self, handler_base_class: Type, handler_discovery_func: Callable[[], list[Type]]
67
+ self, handler_base_class: type, handler_discovery_func: Callable[[], list[type]]
68
68
  ):
69
69
  """
70
70
  Initializes the DynamicFacade.
@@ -78,8 +78,8 @@ class DynamicFacade:
78
78
  self._attach_proxies()
79
79
 
80
80
  def _discover_handlers(
81
- self, discovery_func: Callable[[], list[Type]]
82
- ) -> dict[str, Type]:
81
+ self, discovery_func: Callable[[], list[type]]
82
+ ) -> dict[str, type]:
83
83
  """
84
84
  Discovers handler classes and maps them to format names.
85
85
  """
@@ -92,7 +92,7 @@ class DynamicFacade:
92
92
  handler_map[format_name] = handler
93
93
  return handler_map
94
94
 
95
- def _get_format_name(self, handler_class: Type) -> str:
95
+ def _get_format_name(self, handler_class: type) -> str:
96
96
  """
97
97
  Derives a format name (e.g., 'json') from a handler class name
98
98
  (e.g., 'JSONDataHandler').
@@ -113,7 +113,7 @@ class DynamicFacade:
113
113
  setattr(self, format_name, proxy_instance)
114
114
 
115
115
  def _load_with_handler(
116
- self, source: Any, handler_class: Type, **kwargs: Any
116
+ self, source: Any, handler_class: type, **kwargs: Any
117
117
  ) -> Any:
118
118
  """
119
119
  Placeholder for the actual data loading logic.
@@ -129,7 +129,7 @@ class DynamicFacade:
129
129
  )
130
130
 
131
131
  def _save_with_handler(
132
- self, data_container: Any, file_path: str, handler_class: Type, **kwargs: Any
132
+ self, data_container: Any, file_path: str, handler_class: type, **kwargs: Any
133
133
  ) -> None:
134
134
  """
135
135
  Placeholder for the actual data saving logic.
@@ -1,15 +1,15 @@
1
- #exonware/xsystem/patterns/errors.py
1
+ #exonware/xwsystem/patterns/errors.py
2
2
  """
3
3
  Company: eXonware.com
4
4
  Author: Eng. Muhammad AlShehri
5
5
  Email: connect@exonware.com
6
- Version: 0.0.1.410
6
+ Version: 0.1.0.1
7
7
  Generation Date: September 04, 2025
8
8
 
9
9
  Pattern-specific error classes for XSystem design patterns.
10
10
  """
11
11
 
12
- from typing import Any, Optional, Type
12
+ from typing import Any, Optional
13
13
 
14
14
 
15
15
  class PatternError(Exception):
@@ -56,7 +56,7 @@ class HandlerNotFoundError(HandlerError):
56
56
  class HandlerRegistrationError(HandlerError):
57
57
  """Error when handler registration fails."""
58
58
 
59
- def __init__(self, message: str, handler_type: str, handler_class: Optional[Type] = None, **kwargs):
59
+ def __init__(self, message: str, handler_type: str, handler_class: Optional[type] = None, **kwargs):
60
60
  super().__init__(message, handler_type=handler_type, **kwargs)
61
61
  self.handler_class = handler_class
62
62
 
@@ -89,7 +89,7 @@ class FactoryCreationError(FactoryError):
89
89
  class FactoryRegistrationError(FactoryError):
90
90
  """Error when factory registration fails."""
91
91
 
92
- def __init__(self, message: str, factory_type: str, product_class: Optional[Type] = None, **kwargs):
92
+ def __init__(self, message: str, factory_type: str, product_class: Optional[type] = None, **kwargs):
93
93
  super().__init__(message, factory_type=factory_type, **kwargs)
94
94
  self.product_class = product_class
95
95
 
@@ -1,10 +1,10 @@
1
1
  #exonware/xwsystem/patterns/handler_factory.py
2
2
  """
3
- Generic handler factory pattern combining all xsystem utilities.
3
+ Generic handler factory pattern combining all xwsystem utilities.
4
4
  """
5
5
 
6
6
  import logging
7
- from typing import Any, Callable, Optional, Type
7
+ from typing import Any, Callable, Optional
8
8
  # Root cause: Migrating to Python 3.12 built-in generic syntax for consistency
9
9
  # Priority #3: Maintainability - Modern type annotations improve code clarity
10
10
 
@@ -23,7 +23,7 @@ logger = logging.getLogger(__name__)
23
23
 
24
24
  class GenericHandlerFactory[T](ThreadSafeFactory[T]):
25
25
  """
26
- Enhanced handler factory that combines all xsystem utilities.
26
+ Enhanced handler factory that combines all xwsystem utilities.
27
27
 
28
28
  This factory provides thread-safe handler registration with additional
29
29
  features like path validation, atomic operations, and circular reference
@@ -73,7 +73,7 @@ class GenericHandlerFactory[T](ThreadSafeFactory[T]):
73
73
  def register_safe(
74
74
  self,
75
75
  name: str,
76
- handler_class: Type[T],
76
+ handler_class: type[T],
77
77
  extensions: Optional[list[str]] = None,
78
78
  validate_class: bool = True,
79
79
  ) -> None:
@@ -240,7 +240,7 @@ class GenericHandlerFactory[T](ThreadSafeFactory[T]):
240
240
 
241
241
  def generate_enhanced_methods(
242
242
  self,
243
- target_class: Type,
243
+ target_class: type,
244
244
  method_template: Callable,
245
245
  method_name_pattern: str = "{action}_{format}",
246
246
  method_doc_pattern: str = "{action} data to {format} format.",
@@ -328,7 +328,7 @@ class HandlerFactory[T](GenericHandlerFactory[T]):
328
328
 
329
329
  return handler_class(*args, **kwargs)
330
330
 
331
- def register_handler(self, name: str, handler_class: Type[T], extensions: Optional[list[str]] = None):
331
+ def register_handler(self, name: str, handler_class: type[T], extensions: Optional[list[str]] = None):
332
332
  """Register a handler class."""
333
333
  self.register_safe(name, handler_class, extensions)
334
334