Skip to content

jdrese/PyFlow

 
 

Repository files navigation

Overview

PyFlow is a general purpose runtime extendable python qt node editor.

Watch video

Table of contents

Features

  • Json serializable
  • Easy node creation from annotated functions
  • Categories tree
  • Undo stack
  • Properties view
  • Dirty propagation for optimal graph computation
  • Runtime nodes creation
  • Variables

Installation

  1. Download repository.
  2. Install conda with pyside2 and python 2.7 environment. Instruction here
  3. Go to Scripts/ folder and install dependencies
    pip install Qt.py pyrr enum34 blinker treelib
  4. Execute starter.bat

Dependencies

  • Qt.py
  • PySide or PySide2 or PyQt5 or PyQt4
  • pyrr for builtin math. (optional)

Usage

App's entry point is App.py file under PyFlow folder. There are also several handy bat scripts for debugging and profiling. Right click on empty space to show node box then drag and drop on to canvas. Or press enter with node name selected. Connect and execute pins from property view or using timer node.

Extending

See source code. FunctionLibraries folder for annotated nodes, Nodes folder for class based nodes. Pins, for data types and Commands for editor commands.

Discussion

Discord channel

Donate

Donate

Licensing

The MIT License (MIT)

Copyright (c) 2015-2018 The PyFlow Authors

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Visual scripting tool for python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.5%
  • Other 0.5%