Skip to content

Releases: PaulSchweizer/flowpipe

Event System

07 Nov 10:07
e35370e
Compare
Choose a tag to compare

StatsReporter and LogObserver are replaced by a unified and simplified Event system.

Original Issue: #97

How to use:

# Simple functions serve as listeners

def omitted_listener(node):
    print("Omitted:", node.name)

def started_listener(node):
    print("Started:", node.name)

def finished_listener(node):
    print("Finished:", node.name)


# Connect the listeners
INode.EVENTS['evaluation-omitted'].register(omitted_listener)
INode.EVENTS['evaluation-started'].register(started_listener)
INode.EVENTS['evaluation-finished'].register(finished_listener)

my_node = MyNode()

my_node.evaluate()

# Inspect the node's stats after evaluation
print(my_node.stats) 

>> {"eval_time": 0.123, "start_time": 1573121193} 

Bugfixes

28 Oct 09:04
731e1fd
Compare
Choose a tag to compare
v0.5.7

Bump to v0.5.7

Fixing threading returning too early

16 Oct 07:47
d8a0c5a
Compare
Choose a tag to compare

Threading will now wait for all nodes to finish evaluation

Unifying the evaluate interface

15 Oct 12:31
4904e24
Compare
Choose a tag to compare

Revamped the Graph.evaluate interface:

  • evaluation modes are now accessible through the mode keyword. Options are linear, threading and multiprocessing

SubOutputs inform their parent when values set

07 Oct 14:18
2b624d4
Compare
Choose a tag to compare
v0.5.4

Bump to version 0.5.4

Enable py3.6 type-hint support for nodes

04 Oct 08:45
5f37adb
Compare
Choose a tag to compare
v0.5.3

Bump version to 0.5.3

Numpy data support

03 Oct 13:40
Compare
Choose a tag to compare

This will alleviate issues with numpy arrays without creating any additional dependencies and should handle a lot more types:
#69

Allow non-json-serializable types

13 Sep 08:06
c1aef98
Compare
Choose a tag to compare
v0.5.1

Update setup.py

Compound Plugs

03 Aug 09:54
4232384
Compare
Choose a tag to compare

Compound Plugs are now possible

Improving pypi information

14 Jan 13:02
Compare
Choose a tag to compare
travis multiple version fix (#41)

* updated travis.yml for autodeploy on tag

* Added install instruction to readme, updated version nr to correspond to github tag number, added readme as long_description, added pypi version badge

* fixed travis for multiple python configs, fixed typo in README

* changed rst badge syntax to proper markdown