Skip to main content

A Pytest plugin to generate a Markdown report for AI Agents

Project description

pytest-agent-digest

A pytest plugin that generates compact Markdown digests designed for consumption by AI agents and LLMs. Instead of the standard terminal output, pytest-agent-digest produces structured Markdown that is typically ≥20% smaller in token count than raw pytest output — keeping your context window budget under control.

PyPI Python

Quick start

# Install
pip install pytest-agent-digest

# Print Markdown digest to stdout (replaces normal output)
pytest --agent-digest=term

# Write digest to test-results.md (normal output preserved)
pytest --agent-digest=file

# Both at once
pytest --agent-digest=term --agent-digest=file

Documentation

Full documentation is available at https://callowayproject.github.io/pytest-agent-digest, including:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest_agent_digest-0.3.2.tar.gz (145.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_agent_digest-0.3.2-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file pytest_agent_digest-0.3.2.tar.gz.

File metadata

  • Download URL: pytest_agent_digest-0.3.2.tar.gz
  • Upload date:
  • Size: 145.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pytest_agent_digest-0.3.2.tar.gz
Algorithm Hash digest
SHA256 b6b442869d4856797635f32001c3f03efac2d264e8a9c6b272e9b87cac40e9f1
MD5 e5cae065cd96fb90dd71694e7967adf6
BLAKE2b-256 26503422269f15c2cd2d2a77137a4e75144f7758d09833310bb81bfac7d00c55

See more details on using hashes here.

File details

Details for the file pytest_agent_digest-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: pytest_agent_digest-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pytest_agent_digest-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 37d00e70f5d1b098be2c27694f0b3376e0eb5f4cee2c46a323de5584c97091b5
MD5 383d817f453dd18d46d2ab4db824328c
BLAKE2b-256 2cf8487b929c9b61c2a0defc44c9120673e8fd463aac726136171bdf839923b5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page