borco-core
Generic, reusable Python classes with no GUI dependencies.
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 code. It is currently developed inside the
rehuco monorepo and will later move to its own repository. If you use
borco-core from PyPI, this move will be handled automatically.
What it is
borco-core holds small, general-purpose building blocks that carry no GUI (PySide/Qt) dependency, so they
are usable on headless servers and low-spec hardware. Qt-dependent counterparts live in borco-pyside.
Currently provides:
borco_core.atomic_write— crash-safe file writes: a temporary sibling, flushed andfsynced, then replaced atomically.borco_core.logging—LogScope, nested scopes carried on log records, andSharedRotatingFileHandler, a rotating log file several processes can append to.borco_core.shared_read—shared_read_open, reading a file without blocking its rename on Windows.borco_core.file_holders— which processes hold a file open (Windows Restart Manager).borco_core.folder_holders— which processes hold a folder or anything under it open, a shell standing in it among them (Windows, by walking every open handle).borco_core.process_control— bringing a process's window to the front, or ending the process (Windows).borco_core.path_presence— whether a remembered path is still there (present, gone or offline) without blocking on a switched-off network host.borco_core.text_search— searching text the way a person types it: case- and accent-insensitive, every word matched,"quoted runs"kept whole.borco_core.platforms— Windows registry, file association and shell context menus; Linux XDG desktop entries, MIME packages and icon-theme installation.
Installation
pip install borco-core
Metadata
Release files for borco-core 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| borco_core-0.4.0.tar.gz | 99.5 kB | With provenance | Details for borco_core-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| borco_core-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for borco_core-0.4.0-py3-none-any.whl |
Total release size: 161.5 kB
Release files / borco_core-0.4.0.tar.gz
| Download URL | borco_core-0.4.0.tar.gz |
|---|---|
| Size | 99.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
30bab0fd8e4649d59a27df378b54d294e685419fb6290300dad53167985cdc31
|
|
BLAKE2b-256 checksum How to use checksums |
47ad7e25112152593f8d40bec610188a52febc3e7e7b25bd71349b21073be096
|
| 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 logRelease files / borco_core-0.4.0-py3-none-any.whl
| Download URL | borco_core-0.4.0-py3-none-any.whl |
|---|---|
| Size | 61.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f1fd559a0a7f658d8f3bcc13bcb8cefa47b2d20d6b02cc0ebd805198e62346db
|
|
BLAKE2b-256 checksum How to use checksums |
6cbc7e108eb400bea268375d1f6d3fe8302a307705ec00db494694c89d0c1547
|
| 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 logSecurity for borco-core 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.
Attestation for borco_core-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 logA 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.