.. image:: https://img.shields.io/travis/klauer/qtpynodeeditor.svg :target: https://travis-ci.org/klauer/qtpynodeeditor
.. image:: https://img.shields.io/pypi/v/qtpynodeeditor.svg :target: https://pypi.python.org/pypi/qtpynodeeditor
Python Qt node editor
Pure Python port of NodeEditor <https://github.com/paceholder/nodeeditor>
,
supporting PyQt5 and PySide through qtpy <https://github.com/spyder-ide/qtpy>
.
Sphinx-generated documentation <https://klauer.github.io/qtpynodeeditor/>
_
Style example <https://github.com/klauer/qtpynodeeditor/blob/master/qtpynodeeditor/examples/style.py>
_
.. image:: https://raw.githubusercontent.com/klauer/qtpynodeeditor/assets/screenshots/style.png
Calculator example <https://github.com/klauer/qtpynodeeditor/blob/master/qtpynodeeditor/examples/calculator.py>
_
.. image:: https://raw.githubusercontent.com/klauer/qtpynodeeditor/assets/screenshots/calculator.png
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
Tests must be run with pytest and pytest-qt.
::
$ pip install -r dev-requirements.txt $ pytest -v qtpynodeeditor/tests