Skip to main content

rehuco-core

PyPI License: MIT Python versions

Shared library for rehuco: data models, .rehu file I/O, and legacy .tc reading.

View on PyPI · View on GitHub

Status

Early. It does real work: it is what the desktop editor reads and writes files with. But it is developed for that one consumer, the .rehu format is still moving, and the API changes without notice. See GitHub Issues for what's in progress.

What it is

rehuco-core is the non-GUI half of rehuco: everything the desktop editor needs to read and write a resource's .rehu sidecar, with no Qt dependency.

It provides:

  • Data models — the .rehu document, its common fields, and per-type plugin blocks
  • File I/O — atomic read and write, with unknown fields preserved verbatim
  • Format versioning — a per-file version, migrations applied on load, and read-only handling of a file written by a newer version
  • Legacy .tc reading — parsing the predecessor format and converting it to .rehu, with backups and rollback

Goals

rehuco-core aims to be:

  • MIT licensed — usable in open-source or closed-source projects freely
  • Dependency-light — no GUI dependencies; installable on headless servers and low-spec NAS hardware
  • Typed — fully annotated public API with a py.typed marker for type-checker integration

Installation

pip install rehuco-core

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rehuco_core-0.1.0.tar.gz (135.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rehuco_core-0.1.0-py3-none-any.whl (90.8 kB view details)

Uploaded Python 3

File details

Details for the file rehuco_core-0.1.0.tar.gz.

File metadata

  • Download URL: rehuco_core-0.1.0.tar.gz
  • Upload date:
  • Size: 135.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for rehuco_core-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2e74321ae07a5dcd2558683e4c3e5ffc162bc797aba31be5877b31530afa3b8f
MD5 9a0e898205f83dd55f080e866b944b36
BLAKE2b-256 1fb3369814a64f6c2836ecf839b1a2ec07aed0f29b8f481bfaba24bca47c2084

See more details on using hashes here.

Provenance

The following attestation bundles were made for rehuco_core-0.1.0.tar.gz:

Publisher: publish-packages.yml on borco/rehuco

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rehuco_core-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: rehuco_core-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 90.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for rehuco_core-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1be3ae068f401d9dd99e9c370e001ad054f3301aa1ee8555dea69ecd752a5b0d
MD5 32c12855408fb198878044c344da3c69
BLAKE2b-256 19ba4a7b665d7b5e59eeabedc31d455c81cdde87f7da701d7611157882da0587

See more details on using hashes here.

Provenance

The following attestation bundles were made for rehuco_core-0.1.0-py3-none-any.whl:

Publisher: publish-packages.yml on borco/rehuco

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page