You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: expand documentation and bump version to 0.5.0
- New pages: Installation, Remote Sources, Guides, Troubleshooting
- Examples page restructured as a visual gallery with new screenshots
(diff, highlight, log-scale before/after, archive, interactive SVG)
- Images moved to docs/images/; make_examples_images.sh added
- Use cases section added to README and home page
- API snippets tested; t_scan param made optional with default 0.0
- Home directory replaced with ~ in Scanning… messages
- make_docs_images.sh --size flag corrected to --canvas
- pre-commit: mypy hook uses --all-extras; docs/images/ excluded from large-file check
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
## [0.5.0] - 2026-05-20
11
+
12
+
### Documentation
13
+
14
+
- Documentation greatly expanded: new dedicated pages for Installation, Examples, Remote Sources, Guides, and Troubleshooting; richer use-case descriptions; API page updated with tested code snippets; CLI reference reordered to match `dirplot -h`.
15
+
10
16
### Changed
11
17
12
18
-**`read-meta` renamed to `meta`** — `dirplot read-meta` is now `dirplot meta`. The new command
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,18 @@ uv run pytest tests/test_cli.py
23
23
uv run pytest tests/test_drawing.py::test_cushion_shading -v
24
24
```
25
25
26
+
## Archive test fixtures
27
+
28
+
`tests/fixtures/` contains one pre-built archive per supported format. To regenerate them:
29
+
30
+
```bash
31
+
python scripts/make_fixtures.py
32
+
```
33
+
34
+
The script creates a small sample tree and archives it in every supported format. The RAR fixture is skipped automatically if the `rar` CLI is not found.
35
+
36
+
The pytest `sample_archives` session fixture in `tests/conftest.py` regenerates the same files into a temporary directory at test-session start, so running the script is not required for CI or for running the test suite locally.
37
+
26
38
## Code Style
27
39
28
40
This project uses [ruff](https://docs.astral.sh/ruff/) for linting and formatting, and [mypy](https://mypy.readthedocs.io/) for type checking. Pre-commit hooks run these automatically on each commit.
[](https://www.buymeacoffee.com/deeplook)
9
10
10
11
**dirplot** creates nested treemap images for directory trees. It can display them in the system image viewer or inline in the terminal (iTerm2 and Kitty protocols, auto-detected). It also animates git history, watches live filesystems, and scans remote sources.
@@ -15,28 +16,18 @@ dirplot map . # treemap of current directory, opens in system viewer
Copy file name to clipboardExpand all lines: docs/API.md
+12-5Lines changed: 12 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
# Python API
2
2
3
+
← [Home](index.md)
4
+
3
5
> **Note:** The programmatic Python API is still evolving and may change between releases without notice. Pin a specific version if you depend on it. The CLI interface is stable.
4
6
5
7
The public API centres on `build_tree`, `create_treemap`, and `create_treemap_svg`:
@@ -59,17 +61,17 @@ from dirplot.scanner import tree_metrics, tree_metrics_dict
59
61
root = build_tree(Path("/path/to/project"))
60
62
61
63
# Human-readable string (same as CLI output)
62
-
print(tree_metrics(root, t_scan=0.0))
64
+
print(tree_metrics(root))
63
65
64
66
# Sort extensions by total bytes instead of file count
Each remote backend exposes a `build_tree_*` function that returns the same `Node` type accepted by `create_treemap`. See [EXAMPLES.md](EXAMPLES.md) for full per-backend documentation and authentication details.
105
+
Each remote backend exposes a `build_tree_*` function that returns the same `Node` type accepted by `create_treemap`. See [EXAMPLES.md](examples.md) for full per-backend documentation and authentication details.
`tests/fixtures/` contains one pre-built archive per format. They are
129
-
generated by:
130
-
131
-
```bash
132
-
python scripts/make_fixtures.py
133
-
```
134
-
135
-
The script creates a small sample tree and archives it in every supported format. The RAR fixture is skipped automatically if the `rar` CLI is not found.
136
-
137
-
The pytest `sample_archives` session fixture in `tests/conftest.py` regenerates
138
-
the same files into a temporary directory at test-session start, so running the
139
-
script is not required for CI or for running the test suite locally.
140
-
141
128
## Intentionally unsupported formats
142
129
143
130
**`.deb` (Debian/Ubuntu packages)** — a `.deb` file is an `ar` archive whose
0 commit comments