Skip to content
Core framework of pyQode
Python Shell
Branch: master
Clone or download
nilsholle Merge pull request #162 from smathot/search-replace
Escape always closes search-replace panel
Latest commit 503d1f9 Sep 9, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc Update copyright years Jan 25, 2016
examples PyQt 5.7 compatiblity Jul 30, 2016
forms Add a way to reopen a recently closed tab Jan 18, 2016
pyqode Update build scripts Aug 15, 2019
scripts Simplify travis-ci setup Jul 31, 2016
test Allow integration test to fail Aug 7, 2016
.coveragerc Add more tests: most widgets are now covered by tests Nov 24, 2014
.gitignore Remove .eggs Jan 25, 2016
.travis.yml Simplify travis-ci setup Jul 31, 2016
AUTHORS.rst Update copyright years Jan 25, 2016
CHANGELOG.rst Bump version and update changelog Dec 30, 2016
CONTRIBUTING.rst Update contributing Dec 30, 2016
LICENSE Update copyright years Jan 25, 2016
MANIFEST.in Exclude bytecode from source dist Aug 15, 2019
README.rst Update readme Feb 21, 2019
conftest.py Improve code completion Mar 25, 2015
pytest.ini setup.py: add pytest-pep8 to test_requires Jan 25, 2016
requirements-dev.txt Simplify travis-ci setup Jul 31, 2016
setup.cfg Update stdeb build info Aug 14, 2019
setup.py
stdeb.cfg Update build scripts Aug 15, 2019

README.rst

Bugfix maintenance only

https://raw.githubusercontent.com/pyQode/pyQode/master/media/pyqode-banner.png


Latest PyPI version Number of PyPI downloads

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
You can’t perform that action at this time.