Skip to main content

PyQt/PySide Source Code Editor Widget

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.core.svg Travis-CI build status Coverage Status

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

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

pyqodeng-0.0.13.tar.gz (787.7 kB view details)

Uploaded Source

File details

Details for the file pyqodeng-0.0.13.tar.gz.

File metadata

  • Download URL: pyqodeng-0.0.13.tar.gz
  • Upload date:
  • Size: 787.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for pyqodeng-0.0.13.tar.gz
Algorithm Hash digest
SHA256 76a37732826537f1a49d3d5aecd4facadf1b9461c8ca897b67f438f40f33103c
MD5 cfb4d85680199d90622349f816bbd790
BLAKE2b-256 7749c7d45fe5c1d663827189d4d725bc9c5f3e9683e6dbee478621da625691c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyqodeng-0.0.13.tar.gz:

Publisher: main.yml on angr/pyqodeng

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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