klauer / qtpynodeeditor

Python Qt NodeEditor (qtpy, PyQt5, PySide)
https://klauer.github.io/qtpynodeeditor/
Other
192 stars 54 forks source link

.. 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

=============================== 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>.

Requirements

Documentation

Sphinx-generated documentation <https://klauer.github.io/qtpynodeeditor/>_

Screenshots

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

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

Running the Tests

Tests must be run with pytest and pytest-qt.

::

$ pip install -r dev-requirements.txt $ pytest -v qtpynodeeditor/tests