semvec/pypi-packages huggingface dataset:
term-tree-maker 0.0.1
Tools for rendering Curv file/directory trees and generating terminal screenshots.
License: MIT
Requires Python: >=3.10

# tree-maker

A tool to make a screenshot of a tree of nodes defined in Python code.

## Install via pip/uv

term-tree-maker is published on PyPI. Install it with whichever tool you prefer:

```bash
# using uv
uv pip install term-tree-maker

# or plain pip
python -m pip install --upgrade pip
python -m pip install term-tree-maker
```

## CLI overview

After installing, three console commands are available everywhere on your PATH:

| Command | Description |
|---------|-------------|
| `tree` | Runs the packaged `tree.py` script that generates the text-based tree visualization. All original CLI flags still work. |
| `make-tree-screenshot` | Launches the Konsole/gnome-screenshot workflow to capture the tree output into PNGs (wraps `make-tree-screenshot.sh`). |
| `make-png-from-ssh` | Convenience wrapper for invoking the screenshot workflow from an SSH session (wraps `make-png-from-ssh.sh`). |

Each command accepts the same arguments as its original script. Example:

```bash
tree --chunk-lines-amount 70 --chunk-count
make-tree-screenshot output/my-tree
make-png-from-ssh
```

> **Note:** The first-time desktop environment preparation (`install.sh`) is still required on the target GNOME machine. See [`CONTRIBUTING.md`](.github/CONTRIBUTING.md) for the full setup checklist.

## Installation

- From the Gnome console (physically at the machine or over RDP):

```bash
cd <this directory>
[ -f $PWD/make-tree-screenshot.sh ] && echo "✅ good you're in the right dir: $PWD" || echo "ERROR: you're in the wrong dir"
```

The above just verifies that we are in the right directory because `install.sh` won't work otherwise.  It writes config files the current value of `$PWD`.


```bash
./install.sh && echo "✅ Installed tree-maker" >&1 || ( echo "❌ Failed to install tree-maker" >&2 && exit 1 )
```

- Append this to your `~/.bashrc` to make it easier to run:

```bash
#
# allow gnome wayland desktop apps to be started from ssh sessiosn
#
export QT_QPA_PLATFORM=wayland
```

```bash
source ~/.bashrc
```

## Usage

- From an SSH session into the server where the tree-maker is installed:

```bash
[user@server] cd <this directory>
[user@server] ./make-png-from-ssh.sh
[user@server] it2dl tree.png   # download the tree image to your local machine
[user@server] imgcat tree.png  # display the tree image in your local terminal
```

- Or, even easier, just run this from an ssh session:

```bash
[user@server] ./make-png-from-ssh.sh
```
pygha_tools 0.1.1
Python Tools for GitHub Actions
License: MIT
Requires Python: >=3.9
Keywords: actions, ci, github, markdown, summary

# GitHub Actions Summary

A Python library for creating rich markdown summaries in GitHub Actions.

## Installation
```bash
pip install github-actions-summary
```

## Usage
```python
from github_actions_summary import Summary, Text, Link, TextStyle, HeadingKind

summary = Summary()
summary.addHeading('Test Results', HeadingKind.H1)\
       .addCodeBlock('console.log("hello")', 'js')\
       .addTable([
           ['File', 'Status'],
           [Text('foo.js', style=TextStyle.BOLD), '✅ Pass'],
           ['bar.js', '❌ Fail']
       ])\
       .addLink('View report', 'https://example.com/report')\
       .write()
```

## Features

- Builder pattern for fluent API
- Rich text formatting (bold, italic, underlined)
- Headings (H1-H6, Setext)
- Code blocks with syntax highlighting
- Tables with styled cells
- Links with optional styling
- Horizontal dividers
- Blank lines for spacing

## License

MIT