PySide6 bindings with a widget that wraps the ScintillaEditBase widget from Scintilla project
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
BScintillaEdit
🚫 This project is superseded by pyside6-scintilla (MIT-licensed PySide6 binding for Scintilla's
ScintillaEditBase). No further development is planned here.
This project provides a BScintillaEdit widget derived from a QScrollArea that embeds the ScintillaBaseEdit from Scintilla. The widget can be used as a simple text editor that supports:
- showing the line numbers and endings
- multi-line select and delete
The Python bindings are made with shiboken6 and work with PySide6.
PyPI
The package can be installed from PyPI:
pip install bscintillaedit
Usage
from PySide6.QtWidgets import QApplication
from bscintillaedit import BScintillaEdit
SAMPLE_TEXT = """
Lorem ipsum odor amet, consectetuer adipiscing elit.
Dui enim odio natoque libero accumsan mus maecenas himenaeos.
Sapien est turpis maecenas diam turpis ultrices tempus.
"""
def run() -> None:
"""Start application."""
app = QApplication()
window = BScintillaEdit()
window.setLineEndVisible(True)
window.setLineNumbersVisible(True)
window.setLineWrapped(True)
window.setText(SAMPLE_TEXT)
window.resize(300, 300)
window.show()
app.exec()
if __name__ == "__main__":
run()
License
This project uses:
- the code from the Scintilla project as a submodule installed in
src/core_lib/scintilla- all the code under
src/core_lib/scintillais covered by the scintilla license, a Historical Permission Notice and Disclaimer type of license
- all the code under
- the extra Qt 5 Compatibility Module
- because the PySide6 package doesn't include this module, the
Qt6Core5Compatshared library is deployed within the wheel - the Qt 5 Compatibility Module is available under these licenses:
- commercial licenses from The Qt Company,
- the GNU Lesser General Public License, version 3, or
- the GNU General Public License, version 2
- because the PySide6 package doesn't include this module, the
All the other code from this project is licensed under the MIT License.
This software is not related to the QScintilla or PyQt projects.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bscintillaedit-0.0.8.tar.gz.
File metadata
- Download URL: bscintillaedit-0.0.8.tar.gz
- Upload date:
- Size: 1.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0a74e5d6b1f51247e2b4b3bdb7fd50d901e04ed01bd4108ca9fb34aa00eec23
|
|
| MD5 |
4b206f052bf89c32f8d6f6226d1b5e30
|
|
| BLAKE2b-256 |
12327a1bbea1125704359dca2b10d60c50e188cc7dfa9337386381eab0a8d9dd
|
File details
Details for the file bscintillaedit-0.0.8-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: bscintillaedit-0.0.8-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 957.0 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd9c90e693c712911d37856d6200f8245d33e1ccf2aab9e7484914b51195b279
|
|
| MD5 |
905bc700cf12ca3a939da392db222569
|
|
| BLAKE2b-256 |
8993d455818a2c5a5155a70014b85f0278791b9f21e68074238c7138c856a767
|