This project has been archived by its maintainers, and is no longer receiving any updates.
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.
Release files for bscintillaedit 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bscintillaedit-0.0.8.tar.gz | 1.8 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bscintillaedit-0.0.8-cp312-cp312-win_amd64.whl | CPython 3.12 | CPython 3.12 | Windows x86-64 | Details |
Total release size: 2.8 MB
Release files / bscintillaedit-0.0.8.tar.gz
| Download URL | bscintillaedit-0.0.8.tar.gz |
|---|---|
| Size | 1.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e0a74e5d6b1f51247e2b4b3bdb7fd50d901e04ed01bd4108ca9fb34aa00eec23
|
|
BLAKE2b-256 checksum How to use checksums |
12327a1bbea1125704359dca2b10d60c50e188cc7dfa9337386381eab0a8d9dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / bscintillaedit-0.0.8-cp312-cp312-win_amd64.whl
| Download URL | bscintillaedit-0.0.8-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 957.0 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
cd9c90e693c712911d37856d6200f8245d33e1ccf2aab9e7484914b51195b279
|
|
BLAKE2b-256 checksum How to use checksums |
8993d455818a2c5a5155a70014b85f0278791b9f21e68074238c7138c856a767
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|