Getting Started
===============

Requirements
------------

* Python 3.6+
* qtpy
* PyQt5 / PySide


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


Examples
--------

1. `Connection colors <https://github.com/klauer/qtpynodeeditor/blob/master/qtpynodeeditor/examples/connection_colors.py>`_

::

    $ python -m qtpynodeeditor.examples.connection_colors


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

2. `Image <https://github.com/klauer/qtpynodeeditor/blob/master/qtpynodeeditor/examples/image.py>`_

::

    $ python -m qtpynodeeditor.examples.image

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


3. `Style <https://github.com/klauer/qtpynodeeditor/blob/master/qtpynodeeditor/examples/style.py>`_

::

    $ python -m qtpynodeeditor.examples.style


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



4. `Calculator <https://github.com/klauer/qtpynodeeditor/blob/master/qtpynodeeditor/examples/calculator.py>`_

::

    $ python -m qtpynodeeditor.examples.calculator

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