Metadata-Version: 2.5
Name: rehuco-agent
Version: 0.4.0
Summary: rehuco PySide6 desktop GUI
Project-URL: Homepage, https://borco.github.io/rehuco/
Project-URL: Repository, https://github.com/borco/rehuco/tree/master/packages/rehuco-agent
Project-URL: Issues, https://github.com/borco/rehuco/issues
Author-email: Ioan Calin <iborco@gmail.com>
License-Expression: MIT
License-File: LICENSE
Keywords: desktop,gui,pyside6,qt,rehu,rehuco,resource-management
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: X11 Applications :: Qt
Classifier: Intended Audience :: End Users/Desktop
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Desktop Environment
Requires-Python: >=3.14
Requires-Dist: beautifulsoup4>=4.13.0
Requires-Dist: borco-core>=0.4.0
Requires-Dist: borco-pyside>=0.4.0
Requires-Dist: cbor2>=6.1.3
Requires-Dist: fastjsonschema>=2.21
Requires-Dist: humanize>=4.16.0
Requires-Dist: markdown>=3.7
Requires-Dist: markdownify>=1.2.0
Requires-Dist: mistletoe>=1.4.0
Requires-Dist: pi-heif>=1.0
Requires-Dist: pillow
Requires-Dist: pyside6-addons>=6.9
Requires-Dist: pyside6-essentials>=6.9
Requires-Dist: pyside6-qtads>=5.0.0.2
Requires-Dist: pyside6-scintilla>=5.6.3.7
Requires-Dist: python-dateutil>=2.9.0
Requires-Dist: rehuco-core>=0.4.0
Requires-Dist: rehuco-node>=0.4.0
Requires-Dist: requests>=2.32.0
Requires-Dist: selenium>=4.30
Description-Content-Type: text/markdown

# rehuco-agent

[![PyPI](https://img.shields.io/pypi/v/rehuco-agent)](https://pypi.org/project/rehuco-agent/)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://github.com/borco/rehuco/blob/master/LICENSE)
[![Python versions](https://img.shields.io/pypi/pyversions/rehuco-agent)](https://pypi.org/project/rehuco-agent/)

*PySide6 desktop GUI for [rehuco](https://borco.github.io/rehuco/): edit a resource's `.rehu`, browse the folders
that hold them, and play a tutorial's videos.*

[View on PyPI](https://pypi.org/project/rehuco-agent/) · [View on GitHub](https://github.com/borco/rehuco)

## Status

**Alpha.** In daily use on a real library: the editor, the catalog browser and the video player all work.
The file formats still change between releases, sometimes with no migration, so keep backups of anything you
point it at. The [release milestones](https://github.com/borco/rehuco/milestones) say what ships next.

## What it is

`rehuco-agent` is [rehuco](https://borco.github.io/rehuco/) itself, as far as anything you can run
goes: a desktop editor for the `.rehu` sidecar that describes one resource, a browser over the folders that hold
them, and a player for a tutorial's videos. Developed and used daily on Windows; CI runs the tests on Windows,
macOS and Linux.

![The rehuco-agent editor with a reference-images resource open: edit fields and a read-only viewer alongside description, checksums, content images, files, and an app-wide log dock](https://raw.githubusercontent.com/borco/rehuco/master/docs/assets/images/rehuco-agent--documents.png)

![The Root Catalog panel's column view of a root's folders with a details pane for the selected item, above a Browsers panel listing the catalog's records in a filterable table](https://raw.githubusercontent.com/borco/rehuco/master/docs/assets/images/rehuco-agent--browser-and-root-catalog.png)

- **Single-instance launcher** — double-click a `.rehu` file to open it in the running instance
- **Viewer and editor** — common fields, a Markdown description, and the resource's screenshots as a
  thumbnail strip with a double-click lightbox; a reference pack also shows its own images, inside its archives
  and loose in its folders
- **Fields filled from a dropped page** — drop an ArtStation or Udemy URL, or one a user's own scraper script
  reads, and review the result as an ordinary edit before saving
- **Editing that saves atomically** — with unrecognized fields left untouched, and a file from a newer
  format version opened read-only rather than rewritten
- **Checksums** — generate and verify them for one resource or a whole folder, skipping files checked recently
- **A workspace that persists** — per-file panel layout and session restore
- **Root catalog and browsers** — open a `.rehuco` naming your folders, scan them into a cache, and browse it
  in filterable tables, with a column view of the folders and a preview of whatever is selected
- **Follows the disk** — a record added or edited outside the app is read into the catalog without a Scan, and an
  open document says when its file changed
- **Plays a tutorial's videos** — double-click one in the Files panel: seek bar, speed, keyboard, previous and
  next through the whole tutorial, and it opens on the video you watched last, paused where you stopped; with VLC
  installed, the same dock can decode with VLC's own library
- **Images out to other apps** — drag or copy an image from the app into a file manager, an image editor or a browser
- **Rebindable shortcuts** — a Shortcuts page in Settings, with conflict detection
- **Task queue** — background jobs (checksum sweeps, imports, scrapes) run through a
  queue dock with per-job progress, state, and log
- **Log dock** — an app-wide log and a per-resource log, both filterable
- **Settings** — a docked Settings page for checksums, images, identity, scrapers, the Root Catalog, and more
- **System tray** — an optional tray icon that closes the window to the tray instead of quitting

## Goals

`rehuco-agent` aims to be:

- **MIT licensed** — usable in open-source or closed-source projects freely
- **PySide6 native** — built on Qt via PySide6 and the pyqtads docking framework
- **Single-instance** — one running app per user; additional launches forward their arguments in

## Installation

```bash
pip install rehuco-agent
```

Requires Python 3.14+; PySide6 6.9+ is installed automatically as a dependency. Windows, macOS and Linux installers
are attached to each [GitHub release](https://github.com/borco/rehuco/releases).

## License

[MIT](https://github.com/borco/rehuco/blob/master/LICENSE)
