Skip to main content

PyQt/PySide Source Code Editor Widget

Project description

This is a fork of the original [PyQode](https://github.com/pyQode/pyqode.core) deployed to pypi by [haesleinhuepf](https://github.com/haesleinhuepf) under the name [haesleinhuepf-pyqode.core](https://pypistats.org/packages/haesleinhuepf-pyqode.core).

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

haesleinhuepf-pyqode.core-2.15.4.tar.gz (793.2 kB view details)

Uploaded Source

Built Distribution

haesleinhuepf_pyqode.core-2.15.4-py2.py3-none-any.whl (457.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file haesleinhuepf-pyqode.core-2.15.4.tar.gz.

File metadata

  • Download URL: haesleinhuepf-pyqode.core-2.15.4.tar.gz
  • Upload date:
  • Size: 793.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.6.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for haesleinhuepf-pyqode.core-2.15.4.tar.gz
Algorithm Hash digest
SHA256 3ffb1d2a5e7ba87f5e9b6eba55d715e48af3e0132f4d3e7f09707441fa2abea5
MD5 d2e3e20f047d2ce916efc8f0ced3c295
BLAKE2b-256 1e69ca74e24f70944a0d6a4bc36df5f22afe9b5588f1a00db8ce70001260bc7e

See more details on using hashes here.

Provenance

File details

Details for the file haesleinhuepf_pyqode.core-2.15.4-py2.py3-none-any.whl.

File metadata

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

File hashes

Hashes for haesleinhuepf_pyqode.core-2.15.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7c6bfa7e3d9d0975fd6afa31c76052d6133999a6776b02e8b2d5396050f896f2
MD5 0a22e58c9647404906d2a7f3efb1d6c6
BLAKE2b-256 29160163685e5662fc961f34305eaf0dfc0ab28235658560f5aa06d0a3ee63e4

See more details on using hashes here.

Provenance

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