syntaxedit
A simple Python Qt syntax highlighting widget
Features
- Extensive syntax and theme support - powered by Pygments
- Set font and font size
- Set indentation size
Usage
-
Install package
pip install syntaxedit
Or
poetry add syntaxedit
-
In your app, include the package, and create a
SyntaxEditwidget:from syntaxedit.core import SyntaxEdit code = """# Todo list - [ ] Go shopping - [x] Walk the dog""" widget = SyntaxEdit(code)
Available options
content: the initial content for the widget. Default:""parent: parent Qt widget for SyntaxEdit. Default:Nonefont: the font family for the widget. Default:"Courier New"font_size: size to use for the font. Default:13syntax: the code syntax to use. Default:"Markdown"theme: the syntax theme to use. Default:"solarized-light"indentation_size: the size for indentation. Default:4use_theme_background: whether to use the background colour from the theme or to not set one. Default:True
Authors
By David Winter
License
MIT
Metadata
Release files for syntaxedit 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| syntaxedit-0.3.0.tar.gz | 3.9 kB | Without provenance | Details for syntaxedit-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| syntaxedit-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for syntaxedit-0.3.0-py3-none-any.whl |
Total release size: 8.2 kB
Release files / syntaxedit-0.3.0.tar.gz
| Download URL | syntaxedit-0.3.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cbe45f9bffb68a512bb5519d077718f3d4da01c56a6dc44a7c9b9569629b9139
|
|
BLAKE2b-256 checksum How to use checksums |
24973b69fccf7c2fed6dd0692ae0be6a3bdf229b42e8d5d028052226262468cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.10.6 Linux/5.15.0-1031-azure
|
Release files / syntaxedit-0.3.0-py3-none-any.whl
| Download URL | syntaxedit-0.3.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b49564f0917ab3f3c1977d5f159c039aeeff85bb9e433d6f30607f408163e573
|
|
BLAKE2b-256 checksum How to use checksums |
97b6c1d15de62baa76e893f835cefdee9abddf2718510d0d859a09256a2ef0f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.10.6 Linux/5.15.0-1031-azure
|
Security for syntaxedit 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.