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

SpamScope / mail-parser
99%

Build:
DEFAULT BRANCH: develop
Repo Added 09 Mar 2017 12:37PM UTC
Files 31
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

LAST BUILD ON BRANCH develop
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 4.1.2
  • 4.1.3
  • 4.1.4
  • 4.10.0
  • 4.11.0
  • 4.2.0
  • 4.2.1
  • 4.3.0
  • 4.4.0
  • 4.5.0
  • 4.6.0
  • 4.6.1
  • 4.6.2
  • 4.6.3
  • 4.6.4
  • 4.6.5
  • 4.7.0
  • 4.8.0
  • 4.9.0
  • attributeerror_bugfix
  • bugfix/issue_#175
  • bugfix/issue_#177
  • claude/improve-header-regex-vCFLu
  • dependabot/github_actions/dot-github/workflows/pypa/gh-action-pypi-publish-1.13.0
  • dependabot/uv/certifi-2026.10.19
  • dependabot/uv/cryptography-46.0.7
  • dependabot/uv/httpcore2-2.10.0
  • dependabot/uv/httpx2-2.12.0
  • dependabot/uv/idna-3.15
  • dependabot/uv/pygments-2.20.0
  • dependabot/uv/uv-0.11.15
  • dependabot/uv/uv-0.13.4
  • dependabot/uv/virtualenv-21.14.13
  • develop
  • feature/185-subject-unfolding
  • feature/add-uv
  • feature/codex-security-reviewer
  • feature/general-improvements
  • feature/issue_#139
  • feature/message-structure
  • fix-ported-string-header-objects
  • fix/getaddresses-strict-kwarg-compat
  • fix/issue-808-getaddresses-strict
  • fix/quoted-printable-attachment-literal
  • hotfix/1.1.9
  • improve/rfc-standards
  • issue146
  • issue_#136
  • issue_133
  • issue_152
  • master
  • new-outlook
  • project-url-source
  • py315
  • remove-ipaddress-from-setup.cfg
  • sec-issue
  • security-bug
  • security-issues
  • security-policy
  • security-subagent
  • update
  • upgrade
  • upgrade-libraries
  • v1.1.10
  • v1.1.6
  • v1.1.7
  • v1.1.8
  • v1.1.9
  • v1.2.0
  • v1.2.1
  • v1.2.2
  • v1.2.3
  • v1.2.4
  • v1.2.5
  • v1.2.6
  • v2.0.1
  • v2.1.0
  • v3.0.0
  • v3.0.1
  • v3.1.0
  • v3.10.0
  • v3.11.0
  • v3.12.0
  • v3.13.0
  • v3.14.0
  • v3.15.0
  • v3.2.0
  • v3.2.1
  • v3.2.2
  • v3.2.3
  • v3.2.4
  • v3.2.5
  • v3.2.6
  • v3.2.7
  • v3.3.0
  • v3.3.1
  • v3.3.2
  • v3.3.3
  • v3.4.0
  • v3.4.1
  • v3.5.0
  • v3.5.1
  • v3.6.0
  • v3.6.1
  • v3.7.0
  • v3.7.1
  • v3.8.0
  • v3.8.1
  • v3.9.0
  • v3.9.1
  • v3.9.2
  • v3.9.3

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

Relevant lines Covered
Build:
Build:
5986 RELEVANT LINES 5952 COVERED LINES
0.99 HITS PER LINE
Source Files on develop
  • Tree
  • List 31
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
45074081320 develop 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 pe... push 22 Nov 2026 09:49PM UTC web-flow github
99.43
45072886361 feature/message-structure feat: MIME tree and message structure drawing 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,... Pull #188 22 Nov 2026 09:37PM UTC fedelemantuano github
99.43
44630693301 develop Security policy (#187) * Added SECURITY.md * Upgraded libraries push 19 Nov 2026 10:41PM UTC web-flow github
99.36
44629260481 security-policy Merge 8d11696c7 into 21108bf02 Pull #187 19 Nov 2026 10:32PM UTC web-flow github
99.36
43710472505 4.11.0 Merge branch 'release/4.11.0' push 15 Nov 2026 11:48AM UTC fedelemantuano github
99.36
43710467384 master Merge branch 'release/4.11.0' push 15 Nov 2026 11:47AM UTC fedelemantuano github
99.36
43710453255 develop Merge branch 'release/4.11.0' into develop push 15 Nov 2026 11:47AM UTC fedelemantuano github
99.36
43709887461 develop fix: unfold Subject headers before decoding (#186) Remove CRLF and LF folds only from Subject values while preserving raw evidence and original decoding-failure diagnostics. Leave shared header decoding unchanged. RFC review: RFC 5322 sections 2... push 15 Nov 2026 11:40AM UTC web-flow github
99.36
43709610427 feature/185-subject-unfolding fix: unfold Subject headers before decoding Remove CRLF and LF folds only from Subject values while preserving raw evidence and original decoding-failure diagnostics. Leave shared header decoding unchanged. RFC review: RFC 5322 sections 2.2.3, 3... Pull #186 15 Nov 2026 11:37AM UTC fedelemantuano github
99.36
41137233169 4.10.0 Merge branch 'release/4.10.0' push 30 Oct 2026 10:21PM UTC fedelemantuano github
99.36
See All Builds (485)
  • Repo on GitHub
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