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-Essentials 6.11.x is installed automatically as a dependency; the wheels bundle everything else ScintillaEditBase needs at runtime. Each release is built for, and pinned to, one PySide6 minor (its binding libraries aren't ABI-compatible across minors), so on another PySide6 minor pip picks the release built for it, or refuses the install, rather than installing a wheel that fails to import. Essentials provides the whole PySide6 import namespace — only QtCore, QtGui and QtWidgets are used here, so the ~175 MB of PySide6-Addons (Qt WebEngine, Qt3D, QtCharts …) is left out. Install PySide6 yourself if you want them.

To build from source instead (e.g. for development), see docs/build.md for prerequisites (Qt 6.11 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_scintilla_edit.py Generates the typed ScintillaEdit class from Scintilla.iface
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

Metadata

Release files for pyside6-scintilla 5.6.3.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyside6-scintilla 5.6.3.8
File Size Uploaded Provenance Actions
pyside6_scintilla-5.6.3.8.tar.gz 2.4 MB With provenance Details for pyside6_scintilla-5.6.3.8.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for pyside6-scintilla 5.6.3.8
File Actions
pyside6_scintilla-5.6.3.8-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for pyside6_scintilla-5.6.3.8-cp311-abi3-win_amd64.whl
pyside6_scintilla-5.6.3.8-cp311-abi3-manylinux_2_38_aarch64.manylinux_2_39_aarch64.whl CPython 3.11 abi3 Linux glibc 2.39+ ARM64, Linux glibc 2.38+ ARM64 Details for pyside6_scintilla-5.6.3.8-cp311-abi3-manylinux_2_38_aarch64.manylinux_2_39_aarch64.whl
pyside6_scintilla-5.6.3.8-cp311-abi3-manylinux_2_34_x86_64.whl CPython 3.11 abi3 Linux glibc 2.34+ x86-64 Details for pyside6_scintilla-5.6.3.8-cp311-abi3-manylinux_2_34_x86_64.whl
pyside6_scintilla-5.6.3.8-cp311-abi3-macosx_13_0_x86_64.whl CPython 3.11 abi3 macOS 13.0+ x86-64 Details for pyside6_scintilla-5.6.3.8-cp311-abi3-macosx_13_0_x86_64.whl
pyside6_scintilla-5.6.3.8-cp311-abi3-macosx_13_0_arm64.whl CPython 3.11 abi3 macOS 13.0+ ARM64 Details for pyside6_scintilla-5.6.3.8-cp311-abi3-macosx_13_0_arm64.whl

Total release size: 12.2 MB

Release files / pyside6_scintilla-5.6.3.8.tar.gz

Download URL pyside6_scintilla-5.6.3.8.tar.gz
Size 2.4 MB
Tags Source
SHA-256 checksum
How to use checksums
30159af45e1588440296c188b18ba8c67f443cca59c51781a529d254d4f06346
BLAKE2b-256 checksum
How to use checksums
0d9dcc17fc14a490ad17180bd9a0852b4473d4202a3a6cdfc3a5eca909a9b2eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Release files / pyside6_scintilla-5.6.3.8-cp311-abi3-win_amd64.whl

Download URL pyside6_scintilla-5.6.3.8-cp311-abi3-win_amd64.whl
Size 1.4 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
b1118612ca4f355967a3ec936513a3d17656e42b929391a96cd1d6e2ea31b95e
BLAKE2b-256 checksum
How to use checksums
9af6bd5a24c17c3029b18c198dc033e4da1b839164dbbcd8af8ccdea6805d70c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Release files / pyside6_scintilla-5.6.3.8-cp311-abi3-manylinux_2_38_aarch64.manylinux_2_39_aarch64.whl

Download URL pyside6_scintilla-5.6.3.8-cp311-abi3-manylinux_2_38_aarch64.manylinux_2_39_aarch64.whl
Size 1.4 MB
Tags CPython 3.11 Linux glibc 2.38+ ARM64 Linux glibc 2.39+ ARM64 abi3
SHA-256 checksum
How to use checksums
d2ed0d134b5c3d03fbfb8432072b6c4394a92fa94659e1c355dcb5fae436f115
BLAKE2b-256 checksum
How to use checksums
c285cabbf8043b55b06849e82938ff54ab01e67471e0f118084aae93a7a10283
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Release files / pyside6_scintilla-5.6.3.8-cp311-abi3-manylinux_2_34_x86_64.whl

Download URL pyside6_scintilla-5.6.3.8-cp311-abi3-manylinux_2_34_x86_64.whl
Size 1.4 MB
Tags CPython 3.11 Linux glibc 2.34+ x86-64 abi3
SHA-256 checksum
How to use checksums
44464cdcc4661833cb7f66b661ef59cfec3dfc7358e47aa3aceccb97eb9a8338
BLAKE2b-256 checksum
How to use checksums
18322a4c823e82456f9726aaa4abfc613a34dab6ccd97825eaf51927eb5e8106
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Release files / pyside6_scintilla-5.6.3.8-cp311-abi3-macosx_13_0_x86_64.whl

Download URL pyside6_scintilla-5.6.3.8-cp311-abi3-macosx_13_0_x86_64.whl
Size 2.8 MB
Tags CPython 3.11 abi3 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
c4469ad379f70136e56adf200e29217956afa6c46dd88b59ca0c1a8f2a526475
BLAKE2b-256 checksum
How to use checksums
89e5d479e7d64cef01ed12ca645bde9c3a2c7fea0558b293fee06b94bb2ccb3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Release files / pyside6_scintilla-5.6.3.8-cp311-abi3-macosx_13_0_arm64.whl

Download URL pyside6_scintilla-5.6.3.8-cp311-abi3-macosx_13_0_arm64.whl
Size 2.8 MB
Tags CPython 3.11 abi3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
d40b6618b60ba057ddb3f332494a8f2531d240cd3204fd411a778ba6dc215801
BLAKE2b-256 checksum
How to use checksums
340e81a7388ff24d55e570fa04583138404c4a2157ecb69694be45fae3ee03a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Security for pyside6-scintilla 5.6.3.8

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.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for pyside6_scintilla-5.6.3.8.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

5.6.3.8 This release

6 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page