Skip to main content

borco-pyside

PyPI License: MIT Python versions

Generic, reusable PySide6/Qt classes and utilities.

View on PyPI · View on GitHub

Status

Alpha. In daily use by rehuco, but its API changes as rehuco needs it to. This package is not rehuco-specific — it is a home for generic, reusable Qt code. It is currently developed inside the rehuco monorepo and will later move to its own repository. If you use borco-pyside from PyPI, this move will be handled automatically.

What it is

borco-pyside holds general-purpose building blocks that depend on PySide6/Qt. GUI-free counterparts live in borco-core. It is the successor of an earlier standalone PySide utility library.

Currently provides:

  • borco_pyside.core — application-lifecycle primitives: ApplicationSingleton (single-instance guard forwarding argv to the first process), ConnectionList, SimpleProperty/TypedProperty.
  • borco_pyside.dialogs — a modeless, dockable dialog framework: DockableDialog, DockableDialogFrame, DockableDialogManager.
  • borco_pyside.file_browser — reveal_in_file_browser, showing a path in Explorer, Finder or the Linux file manager.
  • borco_pyside.logging — logging for a GUI app: LogBridge, LogModel, LogWidget, LogView, plus console setup via setup_console_logging.
  • borco_pyside.platforms — platform-specific modules, each imported only on its own platform (e.g. platforms.windows.window_activation).
  • borco_pyside.qtads — generic helpers for pyside6-qtads (QtAds): QtAdsFocusTracker (which dock is current, per manager), QtAdsMaximizeHandler (a maximize toggle on every dock's tab), QtAdsAutoHideButtonSuppressor, QtAdsLayout (save and restore a dock layout), QtAdsEmptyingGuard, QtAdsPinSideHandler, QtAdsFloatingShowGuard, QtAdsLoneTabHider, tab_close_button, tab_label, tab_maximize_button.
  • borco_pyside.recycle_bin — moving a file to the Recycle Bin / Trash through send2trash, behind one RecycleBin singleton; refuses with NoRecycleBinError when no bin is reachable for the path (on Windows, decided per drive up front via SHQueryRecycleBinW) rather than deleting permanently.
  • borco_pyside.shortcuts — shortcuts as declared Commands with a scope, a Keymap of the user's overrides, conflict detection, and a CommandRegistry that re-keys bound actions when the keymap changes.
  • borco_pyside.theming — theme switching, SVG recoloring, and themed action icons: ThemeManager, ThemeMenu, ThemeModel, ActionIconThemeHandler.
  • borco_pyside.widgets — reusable widgets: CardListEditor (items edited as draggable cards), ItemListEditor, MessageBanner, Rating, RichTextView, RowBandDelegate, StringListEditor, UnboundedSpinBox, and other small building blocks.

Installation

pip install borco-pyside

Metadata

Release files for borco-pyside 0.4.0

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

Source distribution (sdist)

Source distribution for borco-pyside 0.4.0
File Size Uploaded Provenance Actions
borco_pyside-0.4.0.tar.gz 391.1 kB With provenance Details for borco_pyside-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for borco-pyside 0.4.0
File Interpreter ABI Platform Actions
borco_pyside-0.4.0-py3-none-any.whl Python 3 none any Details for borco_pyside-0.4.0-py3-none-any.whl

Total release size: 639.3 kB

Release files / borco_pyside-0.4.0.tar.gz

Download URL borco_pyside-0.4.0.tar.gz
Size 391.1 kB
Tags Source
SHA-256 checksum
How to use checksums
23a6c3d8f970b4626545f10abb26c40520f12e0c4ad83774c7ea50ef8d082bce
BLAKE2b-256 checksum
How to use checksums
c3adbb34c477a7285ab3d6aac90443ce237991f51e44668aff34bee792a63721
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 12, 2026.

Transparency log

Release files / borco_pyside-0.4.0-py3-none-any.whl

Download URL borco_pyside-0.4.0-py3-none-any.whl
Size 248.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
64f8d88fea591ae4be162598ef75d37d3060a93bd2eb1a40d63f71989289da3c
BLAKE2b-256 checksum
How to use checksums
048b85ea02270345acb2942c42d40131a0c6e2b3fa73df52b6d4d2af1f2b4e1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 12, 2026.

Transparency log

Security for borco-pyside 0.4.0

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for borco_pyside-0.4.0.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 12, 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.

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