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.9

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.9
File Size Uploaded Provenance Actions
pyside6_scintilla-5.6.3.9.tar.gz 2.4 MB With provenance Details for pyside6_scintilla-5.6.3.9.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for pyside6-scintilla 5.6.3.9
File Actions
pyside6_scintilla-5.6.3.9-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for pyside6_scintilla-5.6.3.9-cp311-abi3-win_amd64.whl
pyside6_scintilla-5.6.3.9-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.9-cp311-abi3-manylinux_2_38_aarch64.manylinux_2_39_aarch64.whl
pyside6_scintilla-5.6.3.9-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.9-cp311-abi3-manylinux_2_34_x86_64.whl
pyside6_scintilla-5.6.3.9-cp311-abi3-macosx_13_0_x86_64.whl CPython 3.11 abi3 macOS 13.0+ x86-64 Details for pyside6_scintilla-5.6.3.9-cp311-abi3-macosx_13_0_x86_64.whl
pyside6_scintilla-5.6.3.9-cp311-abi3-macosx_13_0_arm64.whl CPython 3.11 abi3 macOS 13.0+ ARM64 Details for pyside6_scintilla-5.6.3.9-cp311-abi3-macosx_13_0_arm64.whl

Total release size: 11.8 MB

Release files / pyside6_scintilla-5.6.3.9.tar.gz

Download URL pyside6_scintilla-5.6.3.9.tar.gz
Size 2.4 MB
Tags Source
SHA-256 checksum
How to use checksums
e6bf6369d0b8f515c90a48482a7a6760a8e01fab0837d8de1081c20614328e53
BLAKE2b-256 checksum
How to use checksums
32237e382983c2cdcb840ed3e037fa0b9e3a6d9287692ab2718e8a1bf2f71098
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.9-cp311-abi3-win_amd64.whl

Download URL pyside6_scintilla-5.6.3.9-cp311-abi3-win_amd64.whl
Size 1.4 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
7119a1f2e12b4d39a8962dfdc0e5132da04352a2538973b507282e6bdc4081a5
BLAKE2b-256 checksum
How to use checksums
77d58abc21e4240f8a2c846166cdf23d997758a34ccae824bf7a354456489c90
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.9-cp311-abi3-manylinux_2_38_aarch64.manylinux_2_39_aarch64.whl

Download URL pyside6_scintilla-5.6.3.9-cp311-abi3-manylinux_2_38_aarch64.manylinux_2_39_aarch64.whl
Size 1.2 MB
Tags CPython 3.11 Linux glibc 2.38+ ARM64 Linux glibc 2.39+ ARM64 abi3
SHA-256 checksum
How to use checksums
9ce83a8a2f1fa153e6cdb4a15f8bce0748f1c1f24806896b73a049f5775094df
BLAKE2b-256 checksum
How to use checksums
cbaa24f15de7a755149bbfd17d7c2c162ada649d5e1421e9b058d5440ee4441a
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.9-cp311-abi3-manylinux_2_34_x86_64.whl

Download URL pyside6_scintilla-5.6.3.9-cp311-abi3-manylinux_2_34_x86_64.whl
Size 1.2 MB
Tags CPython 3.11 Linux glibc 2.34+ x86-64 abi3
SHA-256 checksum
How to use checksums
853bb0a41e0262eb669852fc68a301eecc7730ce72fe4e4f884f1644ea4fa8f3
BLAKE2b-256 checksum
How to use checksums
93391adb4f9867bc804f05e3328b22d167b974ed44023045afe6c1a25b6dcd8b
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.9-cp311-abi3-macosx_13_0_x86_64.whl

Download URL pyside6_scintilla-5.6.3.9-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
5cbd309767dcacb10cb1440a42404751155ec20aa051ac0ba68fcc5486b3c9b5
BLAKE2b-256 checksum
How to use checksums
e7cb62a51cc904116dd9a08e225e9ab1792f861d4452f973bf2781571574279c
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.9-cp311-abi3-macosx_13_0_arm64.whl

Download URL pyside6_scintilla-5.6.3.9-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
19149048a5635da7b6ae5884db8f49fe929cde8f961293a9440299c1694680ad
BLAKE2b-256 checksum
How to use checksums
e1a2bf6a83f31e048d40126088902fde8a956469f37dfc32c33ac524f987df7f
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.9

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.9.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.9 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