Safethread

Latest version: v2.0.0

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

2.0.0

- 494ad77 improved thread.Subprocess interface (added event on_finished(), removed exception throwing)
- 5fe1106 improved INIFileHandler.on_read() and on_write() interfaces to include Self params; removed unused imports from other files;
- 7f650d9 added utils.Regex class;
- b15829d improved Log get_instance() docstring;
- d839cec added utils.Log class to manage logging Python system;
- a2717f4 added INIFileHandler; added ThreadBase.on_end() callback to its constructor; added INIFileHandler / FileHandler read/write reset upon joining();
- 5a0cecc removed socketClient and server (other more mature libraries exist - e.g., asyncio); reorganized scripts into scripts/ folder; added event driven handling for FileHandler (easier usage of the library);
- 6ff6bb8 improved SocketClient implementation
- cd08b6f improved SocketClient implementation
- f9d1660 added pytest.ini (to config pytest) added utils.SocketServer and SocketClient

1.3.2

- f9d1660 added pytest.ini (to config pytest) added utils.SocketServer and SocketClient
- 1a169fe added utils.FileHandler; Fixed minor bugs in ThreadBase; Added syntatic sugar to method Publisher.subcribe()
- da77837 improved docs to Sphinx docstring format; fixed Publisher implementation (from SafeSet to SafeList)
- f668eb3 bug fix

1.3.1

- 9688c75 bug fix
- f14c7f3 improved docs, added img/ for docs/, added SVG images for docs
- b8e39c4 fix docs
- a3b6c55 fix docs

1.3.0

- 1e358aa added utils.Publish and utils.Subscribe fixed circular import in datatype.__init__ => datatype.SafeObjBase => utils.Factory => utils.__init__ => utils.Publisher => datatype.SafeSet => datatype.__init__
- 0403868 added stop_join() to facilitate library usage (*syntatic sugar*)
- adb5669 added multithread capabilities to PipelineStage moved thread.PipelineStage and Pipeline to utils package (they use ThreadBase, but they are not a subclass of it)

1.2.0

- 6a177b9 added utils.Pipeline to automate multi-stage pipeline creation, based on thread.PipelineStage
- 1daea17 changed thread.Pipeline => thread.PipelineStage added Raises RuntimeError docstring for ThreadBase.join
- a23cd8d major bug fixes; avoid name collisions (using name mangling); modified ThreadBase to allow repeated execution and added stop() method; added run_examples.bat (test all examples/**/*.py files)
- fb73c16 big fix in docs
- 80c502a improved docs

1.1.0

- ce265b6 added ThreadBase.CallableException added thread.Scheduler class
- f3b5bb5 improved exception mgmnt in Subprocess
- 0330fc6 improved Pipeline Exception handling
- 6b31f5d fixed some Pipeline tests
- a730fed added thread.Pipeline class

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.