Skip to content

Releases: smarie/python-spawny

2.1.4 - improved packaging

26 Apr 14:31

Choose a tag to compare

  • packaging improvements: set the "universal wheel" flag to 1, and cleaned up the setup.py. In particular removed dependency to six for setup and added py.typed file, as well as set the zip_safe flag to False. Removed tests folder from package. Fixes #16

See documentation page for details.

2.1.3 - Added `pyproject.toml`

18 Nov 12:12

Choose a tag to compare

Added pyproject.toml.

See documentation page for details.

2.1.2 - Added `__version__` attribute

01 Oct 13:36

Choose a tag to compare

Added __version__ attribute at package level.

See documentation page for details.

2.1.1 - Fixed issue with python 2

24 Jul 14:05

Choose a tag to compare

2.1.0 - Better protection against exceptions in the daemon

24 Jul 13:18

Choose a tag to compare

Now exceptions happening on the daemon side always result in a corresponding message being sent to the client, even if the exception itself is not picklable. Fixes #14.

See documentation page for details.

2.0.2 - bugfix

11 Jul 20:13

Choose a tag to compare

Fixed error with typing module on some 3.7 distributions. Fixed #13.

See documentation page for details.

2.0.1 - Support for scripts, new name: `spawny`, support for python 2.

11 Jul 17:19

Choose a tag to compare

General:

  • The package is now named spawny. Let's hope that it will be a more intuitive name for users :)

  • Added support for python 2. Fixed #4

API:

  • You can now execute an entire script or a module in the daemon, thanks to new ScriptDefinition and ModuleDefinition. A new Definition super type was created that is the parent of all definitions.

  • ObjectDaemonProxy was renamed DaemonProxy because it now represents the proxy for the entire daemon, whatever it is, while new class ObjectProxy represents the proxy for a given object. Several ObjectProxy rely on the same DaemonProxy to communicate with the other process. Fixes #2 and #7.

  • New high-level methods: run_script, run_module, run_object. These make the doc much easier to read and the package more intuitive to use.

Other features:

  • Now catching exceptions happening at initialization time, and reporting them in the caller. Fixed #5.

  • Fixed bug with python 2 ints not implementing rich comparison. Fixed #12

See documentation page for details.