Skip to main content

Adds python support to pyqode.core

Project description

This is a fork of the original [PyQode](https://github.com/pyQode/pyqode.python) containing a modification from [znqi fixing jedi compatibility](https://github.com/znqi/pyqode.python) and deployed to pypi by [haesleinhuepf](https://github.com/haesleinhuepf) under the name [haesleinhuepf-pyqode.python](https://pypistats.org/packages/haesleinhuepf-pyqode.python).

Bugfix maintenance only

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

haesleinhuepf-pyqode.python-2.15.2.tar.gz (249.3 kB view details)

Uploaded Source

Built Distribution

haesleinhuepf_pyqode.python-2.15.2-py2.py3-none-any.whl (46.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file haesleinhuepf-pyqode.python-2.15.2.tar.gz.

File metadata

  • Download URL: haesleinhuepf-pyqode.python-2.15.2.tar.gz
  • Upload date:
  • Size: 249.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for haesleinhuepf-pyqode.python-2.15.2.tar.gz
Algorithm Hash digest
SHA256 c9d7e61d1e56ef0a547a380738aac6c4285b7f7cf7e0f09170f3cdde7b5e93b4
MD5 376bb1040140566479b394a787095b66
BLAKE2b-256 703ae91a6abcec3147794da35cf76a082e75494d516afc4f7ff8ca4a0be65958

See more details on using hashes here.

File details

Details for the file haesleinhuepf_pyqode.python-2.15.2-py2.py3-none-any.whl.

File metadata

  • Download URL: haesleinhuepf_pyqode.python-2.15.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 46.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for haesleinhuepf_pyqode.python-2.15.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 62e081101ecb7175163d8734d8b502ac66fbea74b286cead50b70e4f4321d7c2
MD5 ed46b9fe91effbf336a8e0cb808fa8fd
BLAKE2b-256 474340d2adec42d75ebdf991daeaf7ee9992a583009bbc4f545b4e7f8970c555

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