Skip to main content

A email parser library, making it easy to extract a signature, reply, or quote block from a text-formatted email.

Project description

# Email Reply Parser for Python

## Summary

Email Reply Parser is a port of GitHub’s Email Reply Parser library, making it easy to fragment email.

[![Build Status](https://secure.travis-ci.org/zapier/email-reply-parser.png?branch=master)](https://travis-ci.org/zapier/email-reply-parser)

## Installation

Using pip, use command:

pip install email_reply_parser

## Tutorial

### How to parse an email message

Step 1: Import email reply parser package

from email_reply_parser import EmailReplyParser

Step 2: Provide email message as type String

EmailReplyParser.read(email_message)

### How to only retrieve the reply message

Step 1: Import email reply parser package

from email_reply_parser import EmailReplyParser

Step 2: Provide email message as type string using parse_reply class method.

EmailReplyParser.parse_reply(email_message)

Project details


Download files

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

Files for email-reply-parser, version 0.1.5
Filename, size File type Python version Upload date Hashes
Filename, size email_reply_parser-0.1.5.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page