PyQt/PySide Source Code Editor Widget
Project description
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
File details
Details for the file pyqodeng.core-0.0.4.tar.gz
.
File metadata
- Download URL: pyqodeng.core-0.0.4.tar.gz
- Upload date:
- Size: 788.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.6.3 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f42ffba21bf59f3e9c0a0ece6b6a30bcce7edbbcf049d44fedf18e8cf57a62b6 |
|
MD5 | 0b6ba9eea9f0dc26c5554406597a32f9 |
|
BLAKE2b-256 | 36bc90d74ddda3520fd9b72f21c2b787ae6439803a33a32a557fcd07964da3be |
File details
Details for the file pyqodeng.core-0.0.4-py2.py3-none-any.whl
.
File metadata
- Download URL: pyqodeng.core-0.0.4-py2.py3-none-any.whl
- Upload date:
- Size: 454.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.6.3 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d0f81a2a7256ded88502b5480a8464b1f7759e09a7a1b2263a76e65ec9dfbee |
|
MD5 | 1d6177f70e9646bb692536723e1e3820 |
|
BLAKE2b-256 | 2b95846313bcdc3d84bd2c8bd9e5ade61652a63cb44212f461b2fa9bfcc43748 |