Skip to main content

Add python support to pyqode

Project description

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

Latest PyPI version Number of PyPI downloads Supported python version https://pypip.in/license/pyqode.python/badge.svg Travis-CI build status Coverage Status

About

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

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyqode.python-2.5.0.tar.gz (337.0 kB view hashes)

Uploaded source

Supported by

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