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
| System | Port | Version |
|---|---|---|
| FreeBSD | mail/py-mail-parser | 4.6.5 |
| NetBSD | mail/py-mail-parser | 4.6.4 |
| DragonFly | mail/py-mail-parser | 3.15.0_1 |
| MidnightBSD | mail/py-mail-parser | 4.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 4.6.5 | 4.6.5 | 3.15.0 | 3.15.0_1 | 4.6.5 |
| FreeBSD:14:quarterly | 4.6.5 | 4.6.5 | n/a | 3.15.0_1 | 4.6.5 |
| FreeBSD:15:latest | 4.6.5 | 4.6.5 | n/a | 3.15.0_1 | 3.15.0_1 |
| FreeBSD:15:quarterly | 4.6.5 | 4.6.5 | n/a | n/a | n/a |
| FreeBSD:16:latest | 4.6.5 | 4.6.5 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}hatchling>=1.27: devel/py-hatchling
Runtime 1
msgconvert: mail/p5-Email-Outlook-Message
The full lists below include those, and their dependencies in turn.
Build dependencies 19
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 47
- converters/p5-Text-Unidecode
- devel/gettext-runtime
- devel/libffi
- devel/p5-Algorithm-C3
- devel/p5-Class-C3
- devel/p5-Class-Method-Modifiers
- devel/p5-Data-OptList
- devel/p5-Devel-StackTrace
- devel/p5-Exporter-Tiny
- devel/p5-File-ReadBackwards
- devel/p5-IO-All
- devel/p5-IO-String
- devel/p5-IO-Stringy
- devel/p5-MRO-Compat
- devel/p5-Module-Pluggable
- devel/p5-Module-Runtime
- devel/p5-Moo
- devel/p5-MooX-Types-MooseLike
- devel/p5-OLE-Storage_Lite
- devel/p5-Params-Util
- devel/p5-Role-Tiny
- devel/p5-Sub-Exporter
- devel/p5-Sub-Install
- devel/p5-Sub-Quote
- devel/p5-Throwable
- devel/readline
- lang/p5-List-MoreUtils
- lang/p5-List-MoreUtils-XS
- lang/p5-Try-Tiny
- lang/perl5.42
- lang/python312
- mail/p5-Email-Abstract
- mail/p5-Email-Address
- mail/p5-Email-Address-XS
- mail/p5-Email-Date-Format
- mail/p5-Email-MIME
- mail/p5-Email-MIME-ContentType
- mail/p5-Email-MIME-Encodings
- mail/p5-Email-MessageID
- mail/p5-Email-Outlook-Message
- mail/p5-Email-Sender
- mail/p5-Email-Simple
- mail/p5-MIME-Types
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/p5-XString
Required by 17
- mail/py-mailsuite
- textproc/py-docling
- textproc/py-docling-agent
- textproc/py-docling-analysis-framework
- textproc/py-docling-cvat-tools
- textproc/py-docling-demo
- textproc/py-docling-enhanced-onnx
- textproc/py-docling-eval
- textproc/py-docling-glm-ocr
- textproc/py-docling-graph
- textproc/py-docling-haystack
- textproc/py-docling-hierarchical-pdf
- textproc/py-docling-langchain
- textproc/py-docling-litellm-picture-description
- textproc/py-docling-ocr-mistral
- textproc/py-docling-ocr-onnxtr
- textproc/py-docling-sdg
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| mail_parser-4.6.5.tar.gz | 2.909009e+06 | 184100c23e136bd167b490791d4089f6294893cda5d5a88c5dd4999f559a4123 |
Master sites 1
- PYPI
Commit history 5
| Date | Commit | Credits | Log 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) |