1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
.. 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
------------
* Python 3.6+
* qtpy
* PyQt5 / PySide
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
|