RRick van Hattemfix(widgets): restore the Bar fill's default gradient
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat: parallel execution verbs with reliable progress bars (#327) * feat(parallel): shared plumbing for the parallel verbs * feat(parallel): display layer with keep-alive plain display * feat(parallel): MultiBar-backed per-task display * feat(parallel): sync engine and ordered map over threads * feat(parallel): pin error, timeout and interrupt contracts * test(parallel): process and interpreter pools with auto-chunking * feat(parallel): lazy ordered imap and completion-order imap_unordered * feat(parallel): starmap, tqdm-style aliases and as_completed * feat(parallel): reusable Pool layer * feat(parallel): asyncio engine and amap * feat(parallel): aimap, gather drop-in and AsyncPool * feat(parallel): run() shell helper * feat(parallel): @parallel decorator * feat(parallel): public API exports * docs(parallel): howto, reference and README section * test(parallel): close coverage gaps to 100% branch * fix(ci): version-gate coverage, subinterpreter pickling and Windows argv quoting * test(perf): guard import laziness and parallel coordinator scaling * fix(lint): parenthesize the laziness probe for ISC004 (ruff 0.16) | 17 天前 | |
docs: accuracy and editorial pass over docs and docstrings Correct factual claims found in review (force=True gate semantics, width allocator, poll-interval types, unit_scale is IEC base-1024, terminal detection ordering, dead easy_install install path), rewrite the cookiecutter-era CONTRIBUTING instructions for ruff/pytest/uv and GitHub Actions, dedupe explanations repeated across pages, trim template filler from the widget pages and docstrings, and normalize punctuation to ASCII per house style. | 18 天前 | |
chore: release 4.6.0 | 17 天前 | |
feat: parallel execution verbs with reliable progress bars (#327) * feat(parallel): shared plumbing for the parallel verbs * feat(parallel): display layer with keep-alive plain display * feat(parallel): MultiBar-backed per-task display * feat(parallel): sync engine and ordered map over threads * feat(parallel): pin error, timeout and interrupt contracts * test(parallel): process and interpreter pools with auto-chunking * feat(parallel): lazy ordered imap and completion-order imap_unordered * feat(parallel): starmap, tqdm-style aliases and as_completed * feat(parallel): reusable Pool layer * feat(parallel): asyncio engine and amap * feat(parallel): aimap, gather drop-in and AsyncPool * feat(parallel): run() shell helper * feat(parallel): @parallel decorator * feat(parallel): public API exports * docs(parallel): howto, reference and README section * test(parallel): close coverage gaps to 100% branch * fix(ci): version-gate coverage, subinterpreter pickling and Windows argv quoting * test(perf): guard import laziness and parallel coordinator scaling * fix(lint): parenthesize the laziness probe for ISC004 (ruff 0.16) | 17 天前 | |
docs: accuracy and editorial pass over docs and docstrings Correct factual claims found in review (force=True gate semantics, width allocator, poll-interval types, unit_scale is IEC base-1024, terminal detection ordering, dead easy_install install path), rewrite the cookiecutter-era CONTRIBUTING instructions for ruff/pytest/uv and GitHub Actions, dedupe explanations repeated across pages, trim template filler from the widget pages and docstrings, and normalize punctuation to ASCII per house style. | 18 天前 | |
docs: accuracy and editorial pass over docs and docstrings Correct factual claims found in review (force=True gate semantics, width allocator, poll-interval types, unit_scale is IEC base-1024, terminal detection ordering, dead easy_install install path), rewrite the cookiecutter-era CONTRIBUTING instructions for ruff/pytest/uv and GitHub Actions, dedupe explanations repeated across pages, trim template filler from the widget pages and docstrings, and normalize punctuation to ASCII per house style. | 18 天前 | |
docs(readme): benchmark-race hero, animated demos, Markdown conversion Rewrite the README as Markdown with a measured-data wow layout and wire up the assets and gates that keep it honest: - README.md replaces README.rst: centered badge row, animated benchmark race hero, feature sections with animated SVG demos (colors, logs, multibar, parallel execution, pv-style CLI), verified stability numbers, retained reference content - benchmarks: measure plain progressbar2 and progressbar2[fast] separately in scenarios A and C, add speedups to requirements, refresh results/report/chart against current develop - scripts/render_race.py: deterministic race SVG generated from results.json, byte-drift gated in tox docs-demos next to render_demos --check - new registry demos readme/colors, readme/parallel and readme/cli with capture tests, README code blocks test-synced to the example sources - render_demos: drop rows that MultiBar clears so removed bars no longer linger as stale duplicate frames - fix(bar): NullBar.finish() now flips _finished, so a NullBar inside a MultiBar context cannot hang the exit wait (regression test included) - tox: new readme env builds the sdist and runs twine check --strict (with readme_renderer[md]) in CI | 16 天前 | |
docs: accuracy and editorial pass over docs and docstrings Correct factual claims found in review (force=True gate semantics, width allocator, poll-interval types, unit_scale is IEC base-1024, terminal detection ordering, dead easy_install install path), rewrite the cookiecutter-era CONTRIBUTING instructions for ruff/pytest/uv and GitHub Actions, dedupe explanations repeated across pages, trim template filler from the widget pages and docstrings, and normalize punctuation to ASCII per house style. | 18 天前 | |
docs: accuracy and editorial pass over docs and docstrings Correct factual claims found in review (force=True gate semantics, width allocator, poll-interval types, unit_scale is IEC base-1024, terminal detection ordering, dead easy_install install path), rewrite the cookiecutter-era CONTRIBUTING instructions for ruff/pytest/uv and GitHub Actions, dedupe explanations repeated across pages, trim template filler from the widget pages and docstrings, and normalize punctuation to ASCII per house style. | 18 天前 | |
docs: accuracy and editorial pass over docs and docstrings Correct factual claims found in review (force=True gate semantics, width allocator, poll-interval types, unit_scale is IEC base-1024, terminal detection ordering, dead easy_install install path), rewrite the cookiecutter-era CONTRIBUTING instructions for ruff/pytest/uv and GitHub Actions, dedupe explanations repeated across pages, trim template filler from the widget pages and docstrings, and normalize punctuation to ASCII per house style. | 18 天前 | |
docs: accuracy and editorial pass over docs and docstrings Correct factual claims found in review (force=True gate semantics, width allocator, poll-interval types, unit_scale is IEC base-1024, terminal detection ordering, dead easy_install install path), rewrite the cookiecutter-era CONTRIBUTING instructions for ruff/pytest/uv and GitHub Actions, dedupe explanations repeated across pages, trim template filler from the widget pages and docstrings, and normalize punctuation to ASCII per house style. | 18 天前 | |
added basic (still broken) typing tests | 2 年前 | |
docs: accuracy and editorial pass over docs and docstrings Correct factual claims found in review (force=True gate semantics, width allocator, poll-interval types, unit_scale is IEC base-1024, terminal detection ordering, dead easy_install install path), rewrite the cookiecutter-era CONTRIBUTING instructions for ruff/pytest/uv and GitHub Actions, dedupe explanations repeated across pages, trim template filler from the widget pages and docstrings, and normalize punctuation to ASCII per house style. | 18 天前 | |
docs: accuracy and editorial pass over docs and docstrings Correct factual claims found in review (force=True gate semantics, width allocator, poll-interval types, unit_scale is IEC base-1024, terminal detection ordering, dead easy_install install path), rewrite the cookiecutter-era CONTRIBUTING instructions for ruff/pytest/uv and GitHub Actions, dedupe explanations repeated across pages, trim template filler from the widget pages and docstrings, and normalize punctuation to ASCII per house style. | 18 天前 | |
fix(widgets): restore the Bar fill's default gradient Bar declared fg=colors.gradient and bg=None as plain class attributes that nothing reads: the color machinery only consults _gradient_colors, which stayed all-None, so the default bar fill rendered colorless on every terminal while Percentage and SimpleProgress (via ColoredMixin) colored correctly. The fill now sweeps the red to green gradient with progress, as the dead attributes always intended. Fallout handled with it: - render_demos: classify progress lines against SGR-stripped text. PERCENT_RE finds no word boundary in '...39m100%' and BAR_RE cannot match a fill with color codes woven through it, so the colored 100% finish line misclassified as log output and the log-window demos never showed their bars completing. - tests: same stripping for the BAR_RE-based assertions, a regression test for the gradient default, and a colors-opted-out test keeping the no-colors branch covered. - 35 demo SVGs re-rendered with the gradient fill, and the benchmark race's plain progressbar2 lane now colors its fill the same way the real default does. | 16 天前 |