pyqode.python adds python support to pyQode (code completion, calltips, ...).
- calltips mode (using Jedi)
- code completion provider (using Jedi)
- code folding mode
- auto indent mode
- on the fly code checkers (frosted (fork of PyFlakes), PEP8)
- a customisable python specific syntax highlighter
- a pre-configured QPythonCodeEdit (with the corresponding Qt Designer plugin)
pyQode is licensed under the MIT license.
pyqode.python depends on the following libraries:
- python 2.7 or python 3 (>= 3.2)
- pyqode.core
- jedi
- pep8
- frosted
- docutils
$ pip install pyqode.python
pyqode.python has a test suite and measure its coverage.
To run the tests, you must first install tox and pytest:
$ pip install tox pytest
You might also want to install pytest-cov and pytest-pep8.
Then you can run the tests by running the following command:
$ tox
To run the tests for a specifc environment, use the -e option. E.g. to run tests with python 2.7 and pyqt4, you would run:
$ tox -e py27-pyqt4
Here is the list of available test environments:
- py27-pyqt4
- py27-pyqt5
- py32-pyqt4
- py32-pyqt5
- py33-pyqt4
- py33-pyqt5
- py34-pyqt4
- py34-pyqt5
- cov
- pep8
