Skip to main content

PyQt/PySide Source Code Editor Widget

Project description

Bugfix maintenance only

Latest PyPI version Number of PyPI downloads Travis-CI build status Coverage Status


pyqode.core is the core framework of the pyQode project.

It contains the base classes and a set of extensions (modes/panels/managers) needed to develop a specialised code editor.

It also provides a basic generic code editor that you can use as a fallback when there is no specialised editor for a given language.


pyqode.core depends on the following libraries:

  • Python 2 (>=2.7) or Python 3 (>= 3.2)
  • PyQt5 or PyQt4 or PySide
  • pygments
  • pyqode.qt
  • future
  • qtawesome (optional)


You need to install PyQt or PySide by yourself. Note that you should prefer PyQt5 on Mac OSX (retina screen support, better integration).

Then you can install pyqode.core using pip:

$ pip install pyqode.core --upgrade


pyqode.core has a test suite and measure its coverage.

To run the tests, just run python test

To measure coverage, run:

python test -a "--cov pyqode"

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

python test -a "--pep8 -m pep8"

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

python test -a "-- test/test_api/"

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

Download files

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

Files for pyqode.core, version 2.12.1
Filename, size File type Python version Upload date Hashes
Filename, size pyqode.core-2.12.1-py2.py3-none-any.whl (452.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pyqode.core-2.12.1.tar.gz (778.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page