Skip to main content

Adds python support to pyqode.core

Project description

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

pyqode.python-2.12.1.tar.gz (244.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyqode.python-2.12.1-py2.py3-none-any.whl (46.0 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: pyqode.python-2.12.1.tar.gz
  • Upload date:
  • Size: 244.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for pyqode.python-2.12.1.tar.gz
Algorithm Hash digest
SHA256 17079b014562dafa608eed210f73dc39b7a6d44d4e0bdbabff7c45b8d184e074
MD5 35055b60991c2173922146daa0658ca1
BLAKE2b-256 b77bfe9f3a5253ff32be88c48d9391e783e59198f01c4857cfdc9d8c92b61d1c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyqode.python-2.12.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 46.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for pyqode.python-2.12.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c265ff1222b86e37564ec48a8f6f7fa0c694a20299f0e07b555f939c934f5656
MD5 3490be6d118b337d96c64d76fba98261
BLAKE2b-256 c3f8bb0da7fe1a07c46edb12fbeaf4964a5d38a5cda5a86c8acf6ad6b89aba34

See more details on using hashes here.

Supported by

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