Skip to main content

Sawmill - Cutting through the noise

Sawmill

A plugin-driven terminal log analyser

Sawmill filters, groups and waives messages from structured tool logs such as Vivado and Slang output. A batch CLI gates CI pipelines on log content; a terminal UI handles interactive triage. Plugins own the parsing, so any log format can be supported.

Install

uv tool install sawmill-parser sawmill-plugin-vivado

Or from a clone:

source sourceme     # creates .venv with uv and installs dev extras

Usage

sawmill vivado.log                              # open one log in the TUI
sawmill init                                    # create .sawmill/manifest.toml
sawmill init --target pnr 'build/pnr/*.log'     # add a target
sawmill view                                    # TUI over every target
sawmill check --report build/report.json        # CI gate: exit 1 on unwaived failures
sawmill report --format junit -o build/sawmill.xml
sawmill rules unused                            # rules that matched nothing
sawmill plugins list

Targets and rules live in a checked-in .sawmill/ directory: a manifest.toml naming the targets (plugin plus log globs) and rule files under .sawmill/rules/ that waive expected messages.

Full documentation, including the manifest and rule formats, CLI reference, TUI guide, CI integration and plugin authoring, is at https://sjalloq.github.io/sawmill.

Plugins

Plugin Repository
vivado https://github.com/sjalloq/sawmill-plugin-vivado
slang https://github.com/sjalloq/sawmill-plugin-slang

Plugins register through the sawmill.plugins entry point and are auto-detected from log content. tools/sawmill-plugin-generator scaffolds a new one.

Development

source sourceme
pytest tests/ -v
pre-commit run --all-files

License

MIT

Metadata

Release files for sawmill-parser 0.6.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sawmill-parser 0.6.4
File Size Uploaded Provenance Actions
sawmill_parser-0.6.4.tar.gz 222.5 kB With provenance Details for sawmill_parser-0.6.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sawmill-parser 0.6.4
File Interpreter ABI Platform Actions
sawmill_parser-0.6.4-py3-none-any.whl Python 3 none any Details for sawmill_parser-0.6.4-py3-none-any.whl

Total release size: 314.7 kB

Release files / sawmill_parser-0.6.4.tar.gz

Download URL sawmill_parser-0.6.4.tar.gz
Size 222.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0236252798c1a84ef66f1585d7486dc06efb18877238da5ad5848b7b3da9c1e0
BLAKE2b-256 checksum
How to use checksums
7fe208670452a8518e55d7a2a74551c65bab8a5ccc885749097264f3018e0fc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Release files / sawmill_parser-0.6.4-py3-none-any.whl

Download URL sawmill_parser-0.6.4-py3-none-any.whl
Size 92.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
01f54f59a75c0e657a70cc17cfd5d376c5bd30102a013f4c97d5c6a1b4cad665
BLAKE2b-256 checksum
How to use checksums
2c7d3b6ab817de7b7224a483fd5bac6fedf43283a7cf449ea030f9a8338eeb65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Security for sawmill-parser 0.6.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for sawmill_parser-0.6.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page