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.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sawmill_parser-0.6.2.tar.gz | 221.7 kB | With provenance | Details for sawmill_parser-0.6.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sawmill_parser-0.6.2-py3-none-any.whl | Python 3 | none | any | Details for sawmill_parser-0.6.2-py3-none-any.whl |
Total release size: 313.5 kB
Release files / sawmill_parser-0.6.2.tar.gz
| Download URL | sawmill_parser-0.6.2.tar.gz |
|---|---|
| Size | 221.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
393a1103de0cdddec8bb2446565e415c05774889821b1dde25bd5d7400ad8d1e
|
|
BLAKE2b-256 checksum How to use checksums |
771d26d149de0843526abeb82ac4db3e47af16db80726fd319144f6863247058
|
| 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 logRelease files / sawmill_parser-0.6.2-py3-none-any.whl
| Download URL | sawmill_parser-0.6.2-py3-none-any.whl |
|---|---|
| Size | 91.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f17b8f4ce8b3f8ca24961be5435f35d8ed11ebc4fd2c94aafbf08850ba448473
|
|
BLAKE2b-256 checksum How to use checksums |
5efd37f9486127c521172a3f8ef648b413b1b3c47453034903e89f9a4997fdb9
|
| 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 logSecurity for sawmill-parser 0.6.2
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.
Attestation for sawmill_parser-0.6.2.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 logA 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.