Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Core framework of pyQode
Python Other

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
doc
examples
forms
pyqode
test
tools
.coveragerc
.gitignore
.travis.yml
AUTHORS.rst
CHANGELOG.rst
CONTRIBUTING.rst
LICENSE
MANIFEST.in
README.rst
conftest.py
pytest.ini
pyuic.cfg
runtests.py
setup.cfg
setup.py
stdeb.cfg

README.rst

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 runtests.py with the interpreter you want to run the test suite:

python2.7 runtests.py
python3.4 runtests.py

To measure coverage, install pytest-cov package and run:

python runtests.py --cov pyqode

To check for PEP8 warnings, use:

python runtests.py --pep8 -m pep8
Something went wrong with that request. Please try again.