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

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pyqode.python-2.4.0.tar.gz (735.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page