Skip to main content

Assorted CLI utilities for Bosco’s workflows (dev, media, macOS, LLM helpers).

Project description

bhtool

Assorted CLI utilities that are handy in Bosco’s day-to-day work—version bumps, file conversions, process helpers, macOS shortcuts, LLM-assisted movie renaming, and other small odds and ends. Python ≥3.13.

Install options

Option Description
uvx bhtool … Run from PyPI on demand (no clone). Example:uvx bhtool --help, uvx bhtool run cursor.
uv tool install bhtool Install**b** / bhtool globally from PyPI (released versions).
uv sync then uv run bhtool … Use the project venv from a checkout (no global install).
uv tool install . Install**b** / bhtool globally from the current directory (pinned copy).
uv tool install --editable . Install**b** / bhtool globally in editable mode from a checkout (code changes apply without reinstall).

Commands

Command Description
bumpver Bump version inpyproject.toml, commit, push; PyPI publish is on by default (--no-publish to skip)
run Open macOS applications by partial name (e.g.uvx bhtool run cursor or b run cursor after a local install)
clr-chmod Remove execute bit from non-shell files; tighten group/other write
npread Print the shape of NumPy.npy files
psword Find processes by name;--kill to terminate
rm-npm Recursively deletenode_modules dirs and package-lock.json files
text Convert between Markdown, HTML, DOCX, and Pug (needspandoc and related tools on PATH)
todict JSON or YAML file, or stdin, → Pythondict(...)-style repr on stdout
movies uvx bhtool movies (or b movies) — ask an LLM for normalized names; writes movie_mapping.json in the current working directory; --execute applies renames (default is dry-run table)

Movies + LLM

LLM_SERVICE selects the backend (openai, groq, ollama, bedrock, …). Set it in the process environment or in bhtool/.env (loaded from the installed package directory). Model defaults come from microeval’s config for that service.


jtools

Node CLI: pug formatting, agent config copy. Usage: jtools <subcommand>

Install: cd jtools && npm install — dependencies only; this package is not published, so run it from that directory (or npm link after install).

Run (after install): npx jtools <subcommand> resolves the local jtools binary (same as node_modules/.bin/jtools). Examples: npx jtools format-pug, npx jtools copy-agent.

Subcommand Description
format-pug Format pug in./index.html
copy-agent Copy~/.claude/CLAUDE.md./AGENT.md

Project details


Download files

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

Source Distribution

bhtool-0.2.1.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

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

bhtool-0.2.1-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file bhtool-0.2.1.tar.gz.

File metadata

  • Download URL: bhtool-0.2.1.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for bhtool-0.2.1.tar.gz
Algorithm Hash digest
SHA256 6bc2e0104ccf601f398809d25936c659d442f4e2af63357aeddcdf47a03862a7
MD5 70e6511033d2af4543e753e31ffd0e4c
BLAKE2b-256 fa7250cfc0c7b084676938521e8bb5a15eaa8c94d82195d09889cefa8bfee445

See more details on using hashes here.

File details

Details for the file bhtool-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: bhtool-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for bhtool-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b97ed44742578d8a601f8a9479f93bbe7c6d7f2dd7ff09e2b39848b3a183d8a2
MD5 940fcd9a84b3a196174124457cd5969a
BLAKE2b-256 700ed3d8d0275fbd73347c830cac413fba5b71a5d7d63c8c187e0b067a6de267

See more details on using hashes here.

Supported by

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