• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

SpamScope / mail-parser / 45074081320
99%

Build:
DEFAULT BRANCH: develop
Ran 22 Nov 2026 09:49PM UTC
Jobs 1
Files 31
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Nov 2026 09:47PM UTC coverage: 99.432% (+0.07%) from 99.364%
45074081320

push

github

web-flow
feat: MIME tree and message structure drawing (#188)

Add MailParser.mime_tree and mime_tree_json: a flat list with one entry
per MIME part, in wire order, each naming its parent (ADR 0002). The
tree is built on first read from one small record per part, and is kept
out of mail and mail_json, whose output does not change.

Add mailparser.render_structure(), a text drawing of the main headers,
the delivery path and the MIME tree. Every value taken from the message
is escaped before it reaches the output: control, ANSI, bidirectional,
zero-width and blank characters are made visible.

Add the command-line flags --structure (-st) and --mime-tree.

A multipart boundary that an RFC 2231 charset decodes to a lone
surrogate is now escaped and recorded as a MimeHeaderDefect.

Walk the parts iteratively instead of with Message.walk(): nesting
depth is chosen by the sender.

1039 of 1070 branches covered (97.1%)

5952 of 5986 relevant lines covered (99.43%)

0.99 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
98.09
0.06% mailparser/utils.py
1
99.83
0.03% mailparser/core.py
Jobs
ID Job ID Ran Files Coverage
1 45074081320.1 22 Nov 2026 09:49PM UTC 31
99.43
GitHub Action Run
Source Files on build 45074081320
  • Tree
  • List 31
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #45074081320
  • e0916be4 on github
  • Prev Build on develop (#44630693301)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc