Skip to content

klauer/qtpynodeeditor

Repository files navigation

qtpynodeeditor

Python Qt node editor

Pure Python port of NodeEditor, supporting PyQt5 and PySide through qtpy.

Requirements

  • Python 3.6+
  • qtpy
  • PyQt5 / PySide

Documentation

Sphinx-generated documentation

Screenshots

Style example

https://raw.githubusercontent.com/klauer/qtpynodeeditor/assets/screenshots/style.png

Calculator example

https://raw.githubusercontent.com/klauer/qtpynodeeditor/assets/screenshots/calculator.png

Installation

We recommend using conda to install qtpynodeeditor.

$ conda create -n my_new_environment -c conda-forge python=3.7 qtpynodeeditor
$ conda activate my_new_environment

qtpynodeeditor may also be installed using pip from PyPI.

$ python -m pip install qtpynodeeditor[pyqt5]
$ python -m pip install qtpynodeeditor[pyqt6]
$ python -m pip install qtpynodeeditor[pyside]

Running the Tests

Tests must be run with pytest and pytest-qt.

$ pip install .[pyqt5,test]
$ pytest -v qtpynodeeditor/tests