BSD Ports

mail/py-mail-parser 4.6.5 FreeBSD

Wrapper for email standard library

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
aa8bcdf1ed
License
APACHE20
Categories
mail, python
Package size
72.2 KiB, 365.4 KiB installed

Description

mail-parser is not only a wrapper for email Python Standard Library. It give you an easy way to pass from raw mail to Python object that you can use in your code. It's the key module of SpamScope.

mail-parser can parse Outlook email format (.msg) with msgconvert from mail/p5-Email-Outlook-Message.

mail-parser takes as input a raw email and generates a parsed object. The properties of this object are the same name of RFC headers: bcc, cc, date, delivered_to, from_ (not from because is a keyword of Python), message_id, received, reply_to, subject, to.

There are other properties to get: body, body html, body plain, headers, attachments, sender IP address, to domains, timezone.

In the other systems

SystemPortVersion
FreeBSDmail/py-mail-parser4.6.5
NetBSDmail/py-mail-parser4.6.4
DragonFlymail/py-mail-parser3.15.0_1
MidnightBSDmail/py-mail-parser4.4.0

Install

Binary package:

pkg install py312-mail-parser

From the ports tree:

cd /usr/ports/mail/py-mail-parser/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-mail-parser>0:mail/py-mail-parser

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest4.6.54.6.53.15.03.15.0_14.6.5
FreeBSD:14:quarterly4.6.54.6.5n/a3.15.0_14.6.5
FreeBSD:15:latest4.6.54.6.5n/a3.15.0_13.15.0_1
FreeBSD:15:quarterly4.6.54.6.5n/an/an/a
FreeBSD:16:latest4.6.54.6.5n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 19
Run dependencies 47

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
mail_parser-4.6.5.tar.gz2.909009e+06184100c23e136bd167b490791d4089f6294893cda5d5a88c5dd4999f559a4123
Master sites 1
  • PYPI

Commit history 5

DateCommitCreditsLog message
aa8bcdf1ed Po-Chuan Hsieh mail/py-mail-parser: Update to 4.6.5
Changes: https://github.com/SpamScope/mail-parser/releases
9d2e4796db Po-Chuan Hsieh mail/py-mail-parser: Update to 4.6.4
Changes: https://github.com/SpamScope/mail-parser/releases
314bb11891 Po-Chuan Hsieh mail/py-mail-parser: Update to 4.6.2
Changes: https://github.com/SpamScope/mail-parser/releases
8cf76a9720 Po-Chuan Hsieh mail/py-mail-parser: Remove unnecessary substitution
15f4596113 Yuri Victorovich mail/py-mail-parser: update 3.15.0 → 4.4.0
PR: 296624 Approved by: [email protected] (maintainer's timeout; 20 days)