Adds JSon support to pyqode.core
Project description
About
pyqode.json adds JSON support to pyQode (syntax highlighter, navigation panel, code folding,…).
Features:
native syntax highlighter
specialised code folding detector
a pre-configured editor: pyqode.json.widgets.JSONCodeEdit
navigation panel (show you the current node and its parents and let you navigate between them)
License
pyqode.json is licensed under the MIT license.
Requirements
pyqode.json depends on the following libraries:
python 2.7 or python 3 (>= 3.2)
pyqode.core
Installation
$ pip install pyqode.json --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 pyqode.json-2.10.0.tar.gz
.
File metadata
- Download URL: pyqode.json-2.10.0.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b788884b4e625b8f388ba9c130f12bdc2364a221a4e1f61d35feab800d5c4aaf |
|
MD5 | 11e6d1d950169d0b0fc5fe0d54502aac |
|
BLAKE2b-256 | 5c8a0c5b3489c8f23afa9bd694de66a8c86ba078587405cb5ffe4f1d2ee38c63 |
File details
Details for the file pyqode.json-2.10.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pyqode.json-2.10.0-py2.py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d3bd3e1f7293289a28485e504241dd0cb83f236d31a2a906059d5d17be9bc74 |
|
MD5 | 2ab999a71e247c8bd24a4dbe28ced93e |
|
BLAKE2b-256 | b505e2e0d9b3512a1da702c685a3d041816f9b8ae70e4ff25d3ed2453cdc322a |