Skip to main content

borco-core

PyPI License: MIT Python versions

Generic, reusable Python classes with no GUI dependencies.

View on PyPI · View on GitHub

Status

Pre-alpha. 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 and fsynced, then replaced atomically.
  • borco_core.logging — LogScope, nested scopes carried on log records, and SharedRotatingFileHandler, 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.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.3.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-core 0.3.0
File Size Uploaded
borco_core-0.3.0.tar.gz 79.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for borco-core 0.3.0
File Interpreter ABI Platform
borco_core-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 129.1 kB

Release files / borco_core-0.3.0.tar.gz

Download URL borco_core-0.3.0.tar.gz
Size 79.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5544b0497b5c15841f4337e9ab9714a3377f436a2a9ab74575f01e6845f65545
BLAKE2b-256 checksum
How to use checksums
0a68c1e6bf1a36003f786d42be2a09058b79b56d8085584492bbe0566eeded5f
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 Oct 11, 2026.

Transparency log

Release files / borco_core-0.3.0-py3-none-any.whl

Download URL borco_core-0.3.0-py3-none-any.whl
Size 49.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a4b4c69b1418644a060657827e9ca1cf315c22b6715432f53c82e6705df3fd29
BLAKE2b-256 checksum
How to use checksums
c88d3ec921d5315b9eae760a1f16146a13f6e7d48fc0afea3dc25997808d0396
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 Oct 11, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.2

2 release files

0.0.1

2 release files

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