Skip to main content

HToolbox

HToolbox is a collection of small command-line utilities and helpers for development workflows.

Installation

Install from PyPI:

pip install htoolbox

Or install from source:

git clone git@github.com:RabbitWhite1/htoolbox.git $HOME/.htoolbox
cd $HOME/.htoolbox && pip install .

You can also install with uv:

uv tool install .

Components

vscode (codeit)

Starts VS Code server on a remote host and helps set up SSH forwarding for local access.

docker

Provides a Docker-based development environment image and usage notes.

downloader

Batched video downloader with rich progress output.

tmuxer

Creates and configures tmux sessions/windows/panes from CLI flags or config files.

ballast

Adaptive CPU + memory load generator that keeps total system usage near a target percentage.

hgnomectl

Controls GNOME Wayland screen power, including over SSH, without changing power management settings or the lock state.

hpower

Read-only Linux component power monitor with English Rich tables. The installed hpower command is implemented in hpower.py.

hpower                         # refresh the table every 2 seconds
hpower --once                  # print one sample and exit
hpower --interval 5             # sample every 5 seconds
hpower --no-gpu                 # never invoke nvidia-smi
sudo "$(command -v hpower)"     # read root-only CPU RAPL counters, too

To run from this checkout without installing it:

~/.htoolbox/.venv/bin/python ~/.htoolbox/hpower.py --once
sudo ~/.htoolbox/.venv/bin/python ~/.htoolbox/hpower.py

The table shows CPU package power, NVIDIA GPU power, their measured subtotal, battery charge/discharge power, and external supply status. RAPL package aliases and subdomains are not counted twice. Battery power is separate from the component subtotal. Missing sensors show N/A; display, memory, storage, fans, other devices, and conversion losses are not measured separately, so the subtotal is not whole-system consumption or charger input power.

CPU power needs readable Linux RAPL counters, usually requiring root. GPU power requires the NVIDIA driver's nvidia-smi. Sleeping GPUs are skipped by default; --wake-gpu allows querying them and may increase power usage. A GPU query that times out is disabled for the rest of that run. In an interactive terminal the table updates in place; redirected output prints successive tables. Press Ctrl+C to stop. The tool changes no power settings or permissions.

singularity (smagic)

Wrapper script for common singularity command workflows.

hscan

Single-file helper script in htoolbox/hscan for quick scanning tasks.

logging.py

Shared logging utilities in htoolbox/logging.py.

tag_version

Release helper in tag_version that bumps the version in pyproject.toml and prints git tag/push commands.

Metadata

Release files for htoolbox 0.10.10

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

Source distribution (sdist)

Source distribution for htoolbox 0.10.10
File Size Uploaded Provenance Actions
htoolbox-0.10.10.tar.gz 39.0 kB With provenance Details for htoolbox-0.10.10.tar.gz

Built distribution (wheel)

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

Total release size: 87.8 kB

Release files / htoolbox-0.10.10.tar.gz

Download URL htoolbox-0.10.10.tar.gz
Size 39.0 kB
Tags Source
SHA-256 checksum
How to use checksums
510a985b8361af3688067f2cd74b8603766849b3c180d2ba5b7a2ca60d5266a4
BLAKE2b-256 checksum
How to use checksums
090909e1be1aff944ce8938c6c2371154d468dc412c92e24d274e6c95c6928fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 9, 2026.

Transparency log

Release files / htoolbox-0.10.10-py3-none-any.whl

Download URL htoolbox-0.10.10-py3-none-any.whl
Size 48.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
316b3e4b96109497c9961e96d4e1e38f8904431c6140dd38683c8cf416eb191e
BLAKE2b-256 checksum
How to use checksums
efbe6fe9b93f154520f8ff41fe11aa74c20314231e41d6600794baefe4a7d43d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 9, 2026.

Transparency log

Security for htoolbox 0.10.10

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 htoolbox-0.10.10.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 9, 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.

Release history Release notifications | RSS feed

This release

0.10.10 This release

2 release files Full provenance

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