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/version [haesleinhuepf-pyqode.core==2.14.0](https://pypistats.org/packages/haesleinhuepf-pyqode.core).
Bugfix maintenance only
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
Built Distribution
Hashes for haesleinhuepf-pyqode.core-2.14.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad31aa3772ad9033c88e8f1404d692b5031dd10d2d02f729b87a089bce6601b5 |
|
MD5 | 5023da121f43c1a31dd505680e6c9eaf |
|
BLAKE2b-256 | 046e2a17eb00ab936325009c088241a35f580845372af09f036b8d64b1ac12f0 |
Hashes for haesleinhuepf_pyqode.core-2.14.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ae196f4112e1a31a17b5d2f9e53c4fe197b172bb10881e9ca74846b09f46791 |
|
MD5 | 7b2f5a403d899d593b96ce8896f6be3d |
|
BLAKE2b-256 | b6e71e2ef9064e90d0f4a1763772060e32fc2c5f25a538bf6d1b9d2c714c859c |