Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

PyQt/PySide Source Code Editor Widget

Project Description

About

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.

Requirements

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)

Installation

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

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
Release History

Release History

This version
History Node

2.11.0

History Node

2.10.0

History Node

2.9.0

History Node

2.8.0

History Node

2.7.0

History Node

2.6.9

History Node

2.6.8

History Node

2.6.7

History Node

2.6.6

History Node

2.6.5

History Node

2.6.4

History Node

2.6.3

History Node

2.6.2

History Node

2.6.1

History Node

2.6.0

History Node

2.5.0

History Node

2.4.2

History Node

2.4.1

History Node

2.4.0

History Node

2.3.2

History Node

2.3.1

History Node

2.3.0

History Node

2.2.0

History Node

2.1.0

History Node

2.0.0

History Node

1.3.2

History Node

1.3.1

History Node

1.3.0

History Node

1.2

History Node

1.1

History Node

1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyqode.core-2.11.0-py2.py3-none-any.whl (452.4 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Dec 30, 2016
pyqode.core-2.11.0.tar.gz (854.1 kB) Copy SHA256 Checksum SHA256 Source Dec 30, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting