Metadata-Version: 2.4
Name: qppte
Version: 0.7.1
Summary: Embeddable QPlainTextEdit with Python syntax highlighting
Author-email: Dmitri Priimak <priimak@gmail.com>
Project-URL: Homepage, https://brainless-software.github.io/qppte
Project-URL: Repository, https://github.com/Brainless-Software/qppte
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.13
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pyside6>=6.11.1
Requires-Dist: tree-sitter!=0.26.0,>=0.24
Requires-Dist: tree-sitter-python>=0.25.0
Dynamic: license-file

QPPTE - QPythonPlainTextEdit
============================

[plugin-version-svg]: https://img.shields.io/pypi/v/qppte.svg
[![PyPI Latest Release](https://img.shields.io/pypi/v/qppte.svg)](https://pypi.org/project/qppte/)
[![License - MIT](https://img.shields.io/pypi/l/qppte.svg)](https://github.com/pandas-dev/qppte/blob/main/LICENSE)

An embeddable code editor for Python. Written in Python with [PySide6](https://pypi.org/project/PySide6/)
it is created with intent to be used within larger applications where code editor is required. For example 
if you application supports plugins in Python and you want to give users ability to create and edit such plugins 
directly within the application, then you can make this library a dependency in your project and embed this editor.

It supports basic syntax highlighting using [tree-sitter](https://github.com/tree-sitter/py-tree-sitter) and keystrokes common to code editors. The styles and 
the keystrokes can be customized by the user.

To add this library to your project do

```shell
uv add qppte
```

This library includes a small demo application qppte_demo ([example_gui.py](https://github.com/Brainless-Software/qppte/blob/master/src/qppte/example_gui.py))
which you can use to try this editor. To run it do

```shell
uv tool run --from qppte qppte_demo
```

More information is available [here](https://brainless-software.github.io/qppte/)
