Skip to main content

pyside6-scintilla

CI PyPI Downloads License: MIT Python versions

Permissively-licensed PySide6 bindings for the Scintilla code editor component.

View on PyPI · View on GitHub

Status

See GitHub Issues for what's done and what's next.

Why this exists

The standard way to use Scintilla from Python + Qt is QScintilla (Riverbank Computing) — but it's a PyQt6 binding, with no PySide6 equivalent. Like PyQt6, it's also GPLv3 or commercially licensed.

Scintilla itself is licensed under the Historical Permission Notice and Disclaimer — a permissive license with no copyleft. This project aims to expose that permissive core directly to PySide6 users.

Goals

pyside6-scintilla aims to be:

  • MIT licensed — usable in open-source or closed-source projects freely
  • PySide6 native — built with shiboken6, integrating naturally with PySide6 widgets
  • A faithful, low-level binding of Scintilla's ScintillaEditBase widget — not a reimplementation of QScintilla's higher-level API
  • Available as pre-built wheels for Linux (x86_64, aarch64), Windows (x86_64), and macOS (arm64, x86_64)
  • Not affiliated with Riverbank Computing or the QScintilla project

Installation

Install from PyPI:

pip install pyside6-scintilla

PySide6 6.10+ is installed automatically as a dependency; the wheels bundle everything else ScintillaEditBase needs at runtime.

To build from source instead (e.g. for development), see docs/build.md for prerequisites (Qt 6.10+ with Qt6Core5Compat, a C++17 compiler) and platform-specific setup.

examples/highlighting/lexilla_highlighting/ uses lexilla as a dev dependency, installed from PyPI like any other package.

Usage

from PySide6.QtWidgets import QApplication
from pyside6_scintilla import ScintillaEdit

app = QApplication([])
editor = ScintillaEdit()
editor.setText("hello, world")
editor.show()
app.exec()

ScintillaEdit exposes a typed method per Scintilla message (e.g. setText(), textLength(), gotoLine()) on top of ScintillaEditBase's raw .send()/.sends() message API — the same SCI_* messages as the C interface, not a QScintilla-style high-level API. See examples/simple_scintilla_edit/ for a complete example (line-number margin, "Go to Line", block selection/editing), or examples/simple_scintilla_base_edit/ for the lower-level send/sends API.

Versioning

Version numbers follow <Scintilla version>.<binding revision> — e.g. 5.6.3.0 is binding revision 0 for Scintilla 5.6.3. The binding revision increments for releases of this package that don't correspond to a new Scintilla version (bug fixes, new API surface, CI changes, etc.), and resets to 0 when Scintilla itself releases a new version.

Documentation

Doc Contents
docs/alternatives.md How this compares to Monaco-based Qt bindings and other line-numbers + block-edit widgets
docs/auditing.md How to verify the vendored Scintilla source matches upstream
docs/bindings.md How the shiboken6 bindings are built, generated files, and the Scintilla-update procedure
docs/build.md Build prerequisites, local build/rebuild, wheels, and publishing
docs/documenting.md How the docs site is built, and how to add or update a page
docs/specs/ Design specifications and action plans for in-progress and planned work
docs/specs/mission.md Project background, goals, and design decisions
docs/testpypi.md Setting up TestPyPI trusted publishing
examples/ Standalone example apps, including ones showing lexilla-py in use
GitHub Issues Planned and in-progress work
Project board Joint roadmap for pyside6-scintilla and lexilla-py; issues/PRs from both repos are auto-added

Development tools

tools/ holds development scripts, run with uv run python tools/<script>.py:

Script Purpose
generate_pyi.py Regenerates the .pyi type stub for _pyside6_scintilla
check_docs_sync.py Verifies shared content blocks stay in sync between README.md and docs/index.md
clean_window_corners.py One-off cleanup for Windows window screenshots used in docs

License

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyside6_scintilla-5.6.3.4.tar.gz (2.3 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyside6_scintilla-5.6.3.4-cp314-cp314-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.14Windows x86-64

pyside6_scintilla-5.6.3.4-cp314-cp314-manylinux_2_34_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ x86-64

pyside6_scintilla-5.6.3.4-cp314-cp314-macosx_13_0_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.14macOS 13.0+ x86-64

pyside6_scintilla-5.6.3.4-cp314-cp314-macosx_13_0_arm64.whl (2.8 MB view details)

Uploaded CPython 3.14macOS 13.0+ ARM64

pyside6_scintilla-5.6.3.4-cp313-cp313-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.13Windows x86-64

pyside6_scintilla-5.6.3.4-cp313-cp313-manylinux_2_34_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

pyside6_scintilla-5.6.3.4-cp313-cp313-macosx_13_0_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

pyside6_scintilla-5.6.3.4-cp313-cp313-macosx_13_0_arm64.whl (2.8 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

pyside6_scintilla-5.6.3.4-cp312-cp312-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.12Windows x86-64

pyside6_scintilla-5.6.3.4-cp312-cp312-manylinux_2_34_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

pyside6_scintilla-5.6.3.4-cp312-cp312-macosx_13_0_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

pyside6_scintilla-5.6.3.4-cp312-cp312-macosx_13_0_arm64.whl (2.8 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

pyside6_scintilla-5.6.3.4-cp311-cp311-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.11Windows x86-64

pyside6_scintilla-5.6.3.4-cp311-cp311-manylinux_2_34_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

pyside6_scintilla-5.6.3.4-cp311-cp311-macosx_13_0_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

pyside6_scintilla-5.6.3.4-cp311-cp311-macosx_13_0_arm64.whl (2.8 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file pyside6_scintilla-5.6.3.4.tar.gz.

File metadata

  • Download URL: pyside6_scintilla-5.6.3.4.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyside6_scintilla-5.6.3.4.tar.gz
Algorithm Hash digest
SHA256 c126e06f897838f09732b7a737a05a85aa9d457502b2dbe82b4e309a2fbb58e9
MD5 b0013d7e2601aa2241f4bbbe94e450ca
BLAKE2b-256 99e929087dae57efb8773246c18edf8f56b26e601d4e10698a249cad36261571

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.4.tar.gz:

Publisher: publish.yml on borco/pyside6-scintilla

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyside6_scintilla-5.6.3.4-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.4-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 001c77bfbfd6f66f489afdaab507fff30c39dcc263b9cdf5c65cbd60b5aaf9fd
MD5 6313da513bd529bdafafc3ea434ce670
BLAKE2b-256 0fe57fda83497df7b928b37cf8e386360b1f33998735045fd8bb09f07718aa40

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.4-cp314-cp314-win_amd64.whl:

Publisher: publish.yml on borco/pyside6-scintilla

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyside6_scintilla-5.6.3.4-cp314-cp314-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.4-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 0d6d7b9d5abaf4e853b684722895c74529133ff8937513eea86fd07720bfcc4a
MD5 cd29ee3b1910dd5d79ce39bfa93c85dc
BLAKE2b-256 e2f4e472fbc92d1a6e6498704cb22c25fcf83fefac23d284d004f1a7bc182eae

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.4-cp314-cp314-manylinux_2_34_x86_64.whl:

Publisher: publish.yml on borco/pyside6-scintilla

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyside6_scintilla-5.6.3.4-cp314-cp314-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.4-cp314-cp314-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 697365e09314f49b8b08c5fc6e71a32b09f29dd60d2716f5d23de21585659a62
MD5 ea244fb16efde762b3fb6164b18b7fde
BLAKE2b-256 9f830144cd827de9a414a50cd3316caa871122941e7f97dbba2ac6e3e14865ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.4-cp314-cp314-macosx_13_0_x86_64.whl:

Publisher: publish.yml on borco/pyside6-scintilla

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyside6_scintilla-5.6.3.4-cp314-cp314-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.4-cp314-cp314-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 19b0f3b1275853b888436e882715614d40dc951b680882f33614a2d28c209aa8
MD5 26eb6cf976d698bf5308169dd90882d3
BLAKE2b-256 d1804ef2c57b2bb0de796879e0d1bf0c41f6ac9329af32a87e92a5c61844fae0

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.4-cp314-cp314-macosx_13_0_arm64.whl:

Publisher: publish.yml on borco/pyside6-scintilla

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyside6_scintilla-5.6.3.4-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 6bf58c57805745e36abd666e71bc7fb74e470cd5443b2784fc433686ac75b13e
MD5 777ebd11c80464cb5a26fb25bbaf0c39
BLAKE2b-256 bb7ef26dedce2896475384233052915e6428aae032e9972345ecfb6f55b0e924

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.4-cp313-cp313-win_amd64.whl:

Publisher: publish.yml on borco/pyside6-scintilla

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyside6_scintilla-5.6.3.4-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.4-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 9de180b6787d19603616b9858b67adb6e38199a23acd61a99faf85ba0f37f9b9
MD5 9c356215d306625a21db81c9b7a6ebef
BLAKE2b-256 935cb425d2cd8c701a030f037ac89c41575982769897ce9cb6c87dea768533f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.4-cp313-cp313-manylinux_2_34_x86_64.whl:

Publisher: publish.yml on borco/pyside6-scintilla

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyside6_scintilla-5.6.3.4-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.4-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 17791deab76a92b4847ad8a783e18a81e8a293ac1d14c74e4bfdfcd8d7d9adb2
MD5 e4d78ea72fb42f5d4206ed160550dfaf
BLAKE2b-256 33d537bb7d8871fe7a2ae45009442cc2b26217b1a632ed833adf9804409324e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.4-cp313-cp313-macosx_13_0_x86_64.whl:

Publisher: publish.yml on borco/pyside6-scintilla

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyside6_scintilla-5.6.3.4-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.4-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b06eb64672629778f4c1370e6ef4409cf633c7f34ccc13dc93e2b7815bdee891
MD5 306d48d209f4c81f606439aa45d817bf
BLAKE2b-256 1b8a1b0014dd079e54393093115cbdcb2ecc3f3208e42bf71a4d69931f502279

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.4-cp313-cp313-macosx_13_0_arm64.whl:

Publisher: publish.yml on borco/pyside6-scintilla

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyside6_scintilla-5.6.3.4-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 350c4232602ac67518ebd06b52a331b2a47de41e1f5923dafe0b1f8cf4828b54
MD5 4d7fb63be7e64e9189f63f1ee1b2d1a9
BLAKE2b-256 7ba3c776b3d1400c3b65b8a52c138067ad55887c04d7c37bd2d425eace201c42

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.4-cp312-cp312-win_amd64.whl:

Publisher: publish.yml on borco/pyside6-scintilla

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyside6_scintilla-5.6.3.4-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.4-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 5c8c793dc1689f18fe1235df56f895337636c67cf0a12bd8cd283c3a25653373
MD5 5d738d5a5fa7d5493220bb1b4ab335ca
BLAKE2b-256 a0f329767b1248857f427575fe9b8980ce1ffc284b16081d8692a089dfd81b7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.4-cp312-cp312-manylinux_2_34_x86_64.whl:

Publisher: publish.yml on borco/pyside6-scintilla

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyside6_scintilla-5.6.3.4-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.4-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b1599010b70de53a69b45aedbdab6bb0b3f852b1a48aceea76696b88eb2ef5ed
MD5 da210acd74a9c1170e3b5081018e79a8
BLAKE2b-256 5ee270b01644c7b48086356bede1dc15201fe8973b5de511540eab624e2d2171

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.4-cp312-cp312-macosx_13_0_x86_64.whl:

Publisher: publish.yml on borco/pyside6-scintilla

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyside6_scintilla-5.6.3.4-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.4-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6041167dccc70f2af0eaa6215ef2a69f082188eb7d64bad7375d5b07af975e72
MD5 8517bab4ac760dcb7bcba361f0826bf8
BLAKE2b-256 e5c0e7a7476e415ab2affdc66da49c1b7a46510a5bfbf34f8610c92598facc2e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.4-cp312-cp312-macosx_13_0_arm64.whl:

Publisher: publish.yml on borco/pyside6-scintilla

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyside6_scintilla-5.6.3.4-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 eaf0a50788628a187c3c327c9f4a41417293a85fd211e283bd5340fe53ac766d
MD5 f3404b1dbef6ae41aafcb91cc42c95de
BLAKE2b-256 9060974587d0c1304fdc1e84c210dc11dfc3cd3dbadd3f5a0859777688be5b83

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.4-cp311-cp311-win_amd64.whl:

Publisher: publish.yml on borco/pyside6-scintilla

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyside6_scintilla-5.6.3.4-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.4-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 7453603cbede7d745e36376dce80b3ea73f5a5e778726c67f520d45c139d72f6
MD5 eb6255e10ca273cf07f31e9871abcf8c
BLAKE2b-256 9bf188c9419f45835797de47cbc303f0f67ac1f4c217d3344c54146659ad2df3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.4-cp311-cp311-manylinux_2_34_x86_64.whl:

Publisher: publish.yml on borco/pyside6-scintilla

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyside6_scintilla-5.6.3.4-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.4-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0de97a35fc82ea2eed468ad0e6485fe837bd4c2459e8dbe72f6d2732e1087401
MD5 24921fa4b4b68682f8c81d755617f571
BLAKE2b-256 c58759bf99cee77c263f7978fcecc1ce51cf5d6e1f2fdfe9600bec408db96cdd

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.4-cp311-cp311-macosx_13_0_x86_64.whl:

Publisher: publish.yml on borco/pyside6-scintilla

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyside6_scintilla-5.6.3.4-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.4-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6523e17ea8d2e94f452c71cfc827798d79788eb8b34c82da7592c33833f99f74
MD5 56639881d864e1fb33a69567bdd9520c
BLAKE2b-256 64f0a0da38bc1290c1f69d105e1bdd16d1508a110621a6c9881eecf017541a94

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.4-cp311-cp311-macosx_13_0_arm64.whl:

Publisher: publish.yml on borco/pyside6-scintilla

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page