Skip to main content

sawmill-plugin-slang

Sawmill plugin for slang

Quick Start

# Install in development mode
make install

# Run tests
make test

# Lint
make lint

Development

Start by filling in the TODO items in src/sawmill_plugin_slang/plugin.py. Work on hooks in this order:

  1. get_severity_levels — Define your tool's severity levels (already has a working default)
  2. can_handle — Detect your tool's log files by name or content
  3. load_and_parse — Parse log files into Message objects
  4. get_filters — Add pre-defined filters for common patterns
  5. extract_file_reference — Extract source file references from messages
  6. get_grouping_fields — Add custom grouping dimensions (optional)

Add real log output to examples/sample.log to use in tests.

How Sawmill Finds Your Plugin

Sawmill discovers plugins via Python entry points. The entry point is declared in pyproject.toml under [project.entry-points."sawmill.plugins"]. Running pip install -e . registers it. Confirm with sawmill --list-plugins.

Testing

make test

Tests are in tests/. The contract tests (test_plugin_contract.py) validate plugin structure and pass immediately. The other tests will start passing as you implement the plugin hooks.

Metadata

Release files for sawmill-plugin-slang 0.2.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-plugin-slang 0.2.0
File Size Uploaded Provenance Actions
sawmill_plugin_slang-0.2.0.tar.gz 20.5 kB With provenance Details for sawmill_plugin_slang-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sawmill-plugin-slang 0.2.0
File Interpreter ABI Platform Actions
sawmill_plugin_slang-0.2.0-py3-none-any.whl Python 3 none any Details for sawmill_plugin_slang-0.2.0-py3-none-any.whl

Total release size: 28.0 kB

Release files / sawmill_plugin_slang-0.2.0.tar.gz

Download URL sawmill_plugin_slang-0.2.0.tar.gz
Size 20.5 kB
Tags Source
SHA-256 checksum
How to use checksums
68bc65d64e3870c07dde6d25113c8cf3f51f688feb6bc6bfa116e4608f105634
BLAKE2b-256 checksum
How to use checksums
eafc97090515d5aa1b5f9139d3de1f51f881ae98b0e0e992380fdde8c3be76f2
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 4, 2026.

Transparency log

Release files / sawmill_plugin_slang-0.2.0-py3-none-any.whl

Download URL sawmill_plugin_slang-0.2.0-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c213927e2a2f45fd44d866cdcda112c6aec5f4d44165cb40426464efeea5531
BLAKE2b-256 checksum
How to use checksums
0338779070cf324360eaf1fe726121a1779995df799d0e7666c3c95e12b22a45
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 4, 2026.

Transparency log

Security for sawmill-plugin-slang 0.2.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_plugin_slang-0.2.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 4, 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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

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