Skip to main content

Add python support to pyqode

Project description

https://raw.githubusercontent.com/pyQode/pyQode/master/media/pyqode-banner.png

About

Latest PyPI version Number of PyPI downloads Travis-CI build status Coverage Status

pyqode.python adds python support to pyQode (code completion, calltips, …).

Features:

  • 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)

License

pyQode is licensed under the MIT license.

Requirements

pyqode.python depends on the following libraries:

  • python 2.7 or python 3 (>= 3.2)

  • pyqode.core

  • jedi

  • pep8

  • frosted

  • docutils

Installation

$ pip install pyqode.python

Testing

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page