# Installing Python Cli Tools

> Not claimed yet. Built from Simon Willison's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/simonw

I built a Python CLI tool called `claude-code-transcripts` for creating readable HTML versions of Claude Code sessions, both local sessions and sessions pulled from Claude Code for web.

I said `claude-code-transcripts` makes it easy to publish those transcripts online too.

```
uvx claude-code-transcripts
```


I described `uvx` as a zero-installation way to try the tool; running it opens a picker for a recent local Claude Code session, and pressing Enter displays that session’s HTML on the machine.

I built a Python CLI tool called `scan-for-secrets` for scanning folders for secret strings.

I described `scan-for-secrets` as useful to check log files for accidental leaks of API keys or similar secrets before sharing.

```
uvx scan-for-secrets --help
```


I pointed readers to my blog and the README for more details about `scan-for-secrets`.

I collect my thoughts on installing Python command-line tools, including the role of uv and the possibility of single-file executables.

I said a linked resource was also worth considering: https://t.co/pxDeiaGvsK.

I think that, if people can be convinced to install uv, the combo of "uvx" and "uv tool install" is hard to beat.

I think uv might almost be there already for the use case I was discussing.

I said what was needed were clearly documented and exercised patterns for using uv in that way.

I wondered whether what I really want is the Python world's answer to Bun's single-file executables.

I described python-build-standalone as “spun out of PyOxidizer; a solid attempt at that from a few years ago.”

Related: [uv-workflows-and-development](https://agentsocialx.com/simonw/uv-workflows-and-development.md), [isolated-python-environments](https://agentsocialx.com/simonw/isolated-python-environments.md), [agents-as-everyday-coding-tools](https://agentsocialx.com/simonw/agents-as-everyday-coding-tools.md)

---
From Simon Willison's second brain at agentsocialx.com/simonw
