Skip to main content

Permissively-licensed PySide6 bindings for the Scintilla code editor component

Project description

pyside6-scintilla

CI PyPI Downloads License: MIT Python versions

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

View on PyPI

Status

The ScintillaEditBase and ScintillaEdit bindings are implemented and working — see the examples gallery for runnable demos. Pre-built wheels are published on PyPI for Linux (x86_64), Windows (x86_64), and macOS (arm64, x86_64), Python 3.11-3.14 — see Installation. Linux aarch64 wheels are planned — see docs/mission.md for the roadmap.

The docs site has a full "Scintilla API" navigation tree, but most pages are still placeholders pending conversion from the upstream ScintillaDoc.html:

Pages %
Total 59 100%
Converted 10 17%
Work in progress 49 83%

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.

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/mission.md Project background, goals, and design decisions
docs/testpypi.md Setting up TestPyPI trusted publishing

License

Project details


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.2.tar.gz (2.2 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.2-cp314-cp314-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.14Windows x86-64

pyside6_scintilla-5.6.3.2-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.2-cp314-cp314-macosx_13_0_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.14macOS 13.0+ x86-64

pyside6_scintilla-5.6.3.2-cp314-cp314-macosx_13_0_arm64.whl (2.7 MB view details)

Uploaded CPython 3.14macOS 13.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

pyside6_scintilla-5.6.3.2-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.2-cp313-cp313-macosx_13_0_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

pyside6_scintilla-5.6.3.2-cp313-cp313-macosx_13_0_arm64.whl (2.7 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

pyside6_scintilla-5.6.3.2-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.2-cp312-cp312-macosx_13_0_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

pyside6_scintilla-5.6.3.2-cp312-cp312-macosx_13_0_arm64.whl (2.7 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

pyside6_scintilla-5.6.3.2-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.2-cp311-cp311-macosx_13_0_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

pyside6_scintilla-5.6.3.2-cp311-cp311-macosx_13_0_arm64.whl (2.7 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: pyside6_scintilla-5.6.3.2.tar.gz
  • Upload date:
  • Size: 2.2 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.2.tar.gz
Algorithm Hash digest
SHA256 20490c0a55ba974db2b7115876db78cab09fcf1c4ff8187ddde1d7715911fa63
MD5 16b3ffdb62e3ae04657313de3659b60a
BLAKE2b-256 47791dea379834d2e4d9356a8947173e1585bdc5a2b6dc1329f4abb9bc5f830b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.2.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.2-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 75bd8840d10006c0a482e23d17d03d55007ee70c7a8ff1f9ca0d1acb78bf2499
MD5 96b278309b701449f19e063155cd4db4
BLAKE2b-256 f5d6fd15c78bbea60a576b1ebb2eee062b7e20f0b976d5c73b0205b73335c895

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.2-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.2-cp314-cp314-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.2-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 d9805abcb796faf94df5cb040a401371aa205fa3165fdae9438804263f0e49aa
MD5 9ca1380c82864b141640c4e1c157817e
BLAKE2b-256 7d5a776fee061b0324b62b327f117117a3b3088980b4624b2f34aec372232f35

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.2-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.2-cp314-cp314-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.2-cp314-cp314-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d1e92df636d6c41ed877cd581d07fbababc556314c72dfa21aa042aaeebde527
MD5 c4fba818611dfbccea754ee705cd4ea4
BLAKE2b-256 47212dacb5bf50740f357ed550e16c137879bf04a4bb98a92e81b08901804620

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.2-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.2-cp314-cp314-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.2-cp314-cp314-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 fd64604da7f35a7d415b2950bd44ca39e5a04132e0de53a7f0320419bd0b55fb
MD5 9f32f4b82b494659226b9f9fcbff18db
BLAKE2b-256 454a602b93c38b72da1cbbed1eef164b888532addff18a5cafddbbfb16775175

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.2-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.2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4edc122381ee457153ebea8110a785a77accd450b592c83003746bf456dddfaf
MD5 fc760caa4b6a6a92d1b12f65a3ae965f
BLAKE2b-256 f67da24713a3d317186710f11d479b8bf6b8fd67e99945a089bf92dbcb1aecee

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.2-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.2-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.2-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 4f627cde5d3cef10991b5f902ddf9cf9a0d54e8b30f3ff1db684c42bb472d2b5
MD5 7fe7b5532619b0c39d7219b1b9cc763c
BLAKE2b-256 d035e61a04490e18dc2cecc933a580783a8268f7a191ae6be77f39986160bad0

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.2-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.2-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.2-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5a328aee4eac1a75e34c622bd765602c87109b545affff153efd19b4b2f946b1
MD5 38ac5ccbb1cd1b44d9f5cab461f82a73
BLAKE2b-256 da9c663aaab99e0d0c3c397853c43214f4494277af6c2ba1296fff66af90d353

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.2-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.2-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.2-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 04459d1ce8f578e9ca4eea06bec2fbfaed632ba1baa5e29bbfab1a1ffa6a2754
MD5 b591e8d459ae48cadc4931ef09530718
BLAKE2b-256 0075ee43131df4f706c3faf9ffcf8590f12e7621d4e628901de2a4cd672b96da

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.2-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.2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a8fdfb274cb0140073958eb44fedf4e69aa451cea125f02d0deaa7f253638989
MD5 ab727b189fbcf2609f9c31a554d21677
BLAKE2b-256 d164524709e25e2a485798e1f7e10c800d144266c6f0443a4c735d380482ff08

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.2-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.2-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.2-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 5c27c7ada36cdaf4e83ec58ebef3faeec14899861ac3228a462f54e4a7251612
MD5 16a3d6a110a90342e415502e83975227
BLAKE2b-256 e7fe77e57e8fea459170bee7a5b55c90a4ff68776f88855d04b1b54898c75128

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.2-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.2-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.2-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f99a975af10b15a424d3006f18df3a9f3be40bf2754bf4634e4ce33ec7266a2a
MD5 eaf2ed96e124b8b23fd272a150798a37
BLAKE2b-256 e2dd8a77f88a1e65f5859b940aa7de15af6e8eca82a044fe516af1fdeef1b12e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.2-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.2-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.2-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 164d23daeeca32817d78b8575303543dc866393863b812cba121e6383b0a7185
MD5 70c252c9974057cf5670c7c3718b291f
BLAKE2b-256 d8f698f06b81ceeb7f0bbfbf1e8b0f8f83d850177934e10968e4542a1ea2d8ae

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.2-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.2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8e79c253683aa6d5eabd938a13f0b734ac3d96455510e9ab699915f7e243f04f
MD5 0d59acfcc561e23685131f80074dde12
BLAKE2b-256 20c556796e398949040d27704e164cf8f614184f0b554ed94541d4868829ca0f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.2-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.2-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.2-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 3de727c1821c20f5ebafe6ef9c756298f05dd8473035bb9bfbaffec01b6498a6
MD5 73f588fd0739d4da407b7ce05598ab0d
BLAKE2b-256 0753c79b18abafd65f9119df8e4fda7916b7af8636e29a1c9b0f13dd927bef4f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.2-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.2-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b8b07310824f0aefb29fdd2047ce3473a8425dc057ed41cecd4cd575cce28544
MD5 54d119a151d821b1560a55a3002baa3c
BLAKE2b-256 c84229ae0546102663ac6745e2bcf1f439d1c5120f6354edf3135f427d36eb38

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.2-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.2-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for pyside6_scintilla-5.6.3.2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b5d682ffd7067e00bdd5ab9809b19eef3cb8c06e1acbc92aba31427c3f35da26
MD5 a297bf1e58078205219afbbcce39279b
BLAKE2b-256 846578b82bc654102332b3169d8868f19918ce55ff2d9c0c72938af188994b87

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyside6_scintilla-5.6.3.2-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