Skip to main content

Adds python support to pyqode.core

Project description

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

Latest PyPI version Number of PyPI downloads https://img.shields.io/pypi/l/pyqode.python.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.core has a test suite and measure its coverage.

To run the tests, just run python setup.py test

To measure coverage, run:

python setup.py test -a "--cov pyqode"

To check for PEP8 warnings, install pytest-pep8 and run:

python setup.py test -a "--pep8 -m pep8"

To run a single test, use -a "-- test_file_path.py::test_function", e.g.:

python setup.py test -a "-- test/test_api/test_code_edit.py::test_set_plain_text"

Testing Matrix

We test the following combinations on Travis-CI:

PyQt4

PyQt5

GNU/Linux - Python 2.7

yes

no

GNU/Linux - Python 3.4

yes

yes

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.8.0.tar.gz (284.9 kB view details)

Uploaded Source

Built Distribution

pyqode.python-2.8.0-py2.py3-none-any.whl (45.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for pyqode.python-2.8.0.tar.gz
Algorithm Hash digest
SHA256 070e893d464e8506a4f92dd5b344df50676b1229b151093191ffb5a86aa6d54e
MD5 11c854981fa1c07c4d0e6a95412ab204
BLAKE2b-256 1a77c8a545202bdf567b84375a4ad39c77d2a83b91989510b4b1123748d4f384

See more details on using hashes here.

File details

Details for the file pyqode.python-2.8.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pyqode.python-2.8.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8d09abd2ac4069754b28ecda94aff624cbcd619f325c93b9d6c686487ab09327
MD5 907f42ba61c1fc4fe39ec39f29bd369b
BLAKE2b-256 3a259f8f33cb41e31c7e5534e9ac6440a2fd194cf87598048a017423219fcc8d

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