Skip to main content

hyrin (Python + Textual)

Candidate CLI for Hyrin interview sessions. Drives pairing, chat, local tool execution, and codebase-state capture for the interviewer.

Install (candidate)

Recommended — provisions Python 3.12 in an isolated environment:

uv tool install --python 3.12 hyrin

Alternative (requires Python ≥ 3.12 already installed):

pipx install hyrin

Plain pip works but pollutes site-packages; not recommended:

pip install hyrin

Tested on macOS and Linux. Windows is not supported in v1.0.

Uninstall

uv tool uninstall hyrin     # if installed via uv
pipx uninstall hyrin        # if installed via pipx
pip uninstall hyrin         # if installed via pip

Run

hyrin <PAIRING_CODE> [--cwd <PATH>]

Default: --cwd = current directory.

Develop

cd cli
python -m pip install -e ".[dev]"
python -m pytest -v

hyrin/ holds the package; tests/ holds pytest + Textual Pilot tests.

Architecture

  • client/ — protocol-only (httpx, websockets, pydantic). No Textual imports.
  • tools/ — local FS + run_command execution gated through safety.py.
  • ui/ — Textual widgets and CSS. No transport imports.
  • app.py — the only place transports meet UI; owns the state machine.

See docs/superpowers/specs/2026-04-16-textual-cli-rewrite-design.md for the full design.

Releasing

CLI releases are fully automated by .github/workflows/build-and-release.yml. To cut a release:

  1. Bump the version in cli/pyproject.toml.
  2. Commit and tag: git tag cli-vX.Y.Z && git push origin main --tags.

The workflow injects the production server URL via script/inject-prod-url.sh, builds the sdist + wheel, verifies the URL is baked in, and publishes to PyPI via Trusted Publishing.

For local development, the source tree always points at http://localhost:3100. Do not commit changes to cli/hyrin/constants.py that hardcode the production URL — that's the inject script's job.

Metadata

Release files for hyrin 0.4.3

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

Source distribution (sdist)

Source distribution for hyrin 0.4.3
File Size Uploaded Provenance Actions
hyrin-0.4.3.tar.gz 127.8 kB With provenance Details for hyrin-0.4.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hyrin 0.4.3
File Interpreter ABI Platform Actions
hyrin-0.4.3-py3-none-any.whl Python 3 none any Details for hyrin-0.4.3-py3-none-any.whl

Total release size: 170.6 kB

Release files / hyrin-0.4.3.tar.gz

Download URL hyrin-0.4.3.tar.gz
Size 127.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e5c09b42903c96aeb21dbf97191a493cb1c10380022cc8ec00e0d8fe144e2613
BLAKE2b-256 checksum
How to use checksums
7e4c2b46b96caaf527a0ee1db63e5c17a12e05ef3bd589c059d2dcee7062db47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 20, 2026.

Transparency log

Release files / hyrin-0.4.3-py3-none-any.whl

Download URL hyrin-0.4.3-py3-none-any.whl
Size 42.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a0da4ae20ee50ca6751e49b063c5a5ba5c3769c1f52581189fc71cf6435f8f8
BLAKE2b-256 checksum
How to use checksums
e6629452804c364a329e97c83a9ccb34fff60340d53eeff5c679cd792a6abbf9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 20, 2026.

Transparency log

Security for hyrin 0.4.3

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 hyrin-0.4.3.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 May 20, 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