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.

Source Distribution

pyqode.python-2.4.1.tar.gz (252.9 kB view details)

Uploaded Source

File details

Details for the file pyqode.python-2.4.1.tar.gz.

File metadata

File hashes

Hashes for pyqode.python-2.4.1.tar.gz
Algorithm Hash digest
SHA256 e4a061798251cf8529553d59c32486c87031e8d442e18c39634924404b91e1f6
MD5 12135d1e7126604579571d2da4ca2215
BLAKE2b-256 770cd890cfa548b08f614dca6a3d92901b0ba235b64202a9d5f2a3c950643388

See more details on using hashes here.

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