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.5.0

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.5.0
File Size Uploaded Provenance Actions
sawmill_parser-0.5.0.tar.gz 213.3 kB With provenance Details for sawmill_parser-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 302.2 kB

Release files / sawmill_parser-0.5.0.tar.gz

Download URL sawmill_parser-0.5.0.tar.gz
Size 213.3 kB
Tags Source
SHA-256 checksum
How to use checksums
dae0f54948c11360c89c750ad38caf757b727815802d7c4776bad34faad87615
BLAKE2b-256 checksum
How to use checksums
e549d23ba54c7e1ec38c63485fe70d6b74b8e31dc76067902600cb6a26ed7839
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.5.0-py3-none-any.whl

Download URL sawmill_parser-0.5.0-py3-none-any.whl
Size 88.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e9e2bafde451d29005757910d36779b08704a7c4419246e18c38545d7f55f708
BLAKE2b-256 checksum
How to use checksums
df3e9af7f1115bec17802c3e99ba5086dd8b1d8dc9c70f080679bd21b6c14eb6
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.5.0

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.5.0.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