18. Internet Data Handling
**************************

This chapter describes modules which support handling data formats
commonly used on the Internet.

* 18.1. "email" — An email and MIME handling package

  * 18.1.1. "email.message": Representing an email message

  * 18.1.2. "email.parser": Parsing email messages

    * 18.1.2.1. FeedParser API

    * 18.1.2.2. Parser class API

    * 18.1.2.3. Additional notes

  * 18.1.3. "email.generator": Generating MIME documents

  * 18.1.4. "email.mime": Creating email and MIME objects from
    scratch

  * 18.1.5. "email.header": Internationalized headers

  * 18.1.6. "email.charset": Representing character sets

  * 18.1.7. "email.encoders": Encoders

  * 18.1.8. "email.errors": Exception and Defect classes

  * 18.1.9. "email.utils": Miscellaneous utilities

  * 18.1.10. "email.iterators": Iterators

  * 18.1.11. "email": Examples

  * 18.1.12. Package History

  * 18.1.13. Differences from "mimelib"

* 18.2. "json" — JSON encoder and decoder

  * 18.2.1. Basic Usage

  * 18.2.2. Encoders and Decoders

  * 18.2.3. Standard Compliance and Interoperability

    * 18.2.3.1. Character Encodings

    * 18.2.3.2. Infinite and NaN Number Values

    * 18.2.3.3. Repeated Names Within an Object

    * 18.2.3.4. Top-level Non-Object, Non-Array Values

    * 18.2.3.5. Implementation Limitations

* 18.3. "mailcap" — Mailcap file handling

* 18.4. "mailbox" — Manipulate mailboxes in various formats

  * 18.4.1. "Mailbox" objects

    * 18.4.1.1. "Maildir"

    * 18.4.1.2. "mbox"

    * 18.4.1.3. "MH"

    * 18.4.1.4. "Babyl"

    * 18.4.1.5. "MMDF"

  * 18.4.2. "Message" objects

    * 18.4.2.1. "MaildirMessage"

    * 18.4.2.2. "mboxMessage"

    * 18.4.2.3. "MHMessage"

    * 18.4.2.4. "BabylMessage"

    * 18.4.2.5. "MMDFMessage"

  * 18.4.3. Exceptions

  * 18.4.4. Deprecated classes and methods

  * 18.4.5. Examples

* 18.5. "mhlib" — Access to MH mailboxes

  * 18.5.1. MH Objects

  * 18.5.2. Folder Objects

  * 18.5.3. Message Objects

* 18.6. "mimetools" — Tools for parsing MIME messages

  * 18.6.1. Additional Methods of Message Objects

* 18.7. "mimetypes" — Map filenames to MIME types

  * 18.7.1. MimeTypes Objects

* 18.8. "MimeWriter" — Generic MIME file writer

  * 18.8.1. MimeWriter Objects

* 18.9. "mimify" — MIME processing of mail messages

* 18.10. "multifile" — Support for files containing distinct parts

  * 18.10.1. MultiFile Objects

  * 18.10.2. "MultiFile" Example

* 18.11. "rfc822" — Parse RFC 2822 mail headers

  * 18.11.1. Message Objects

  * 18.11.2. AddressList Objects

* 18.12. "base64" — RFC 3548: Base16, Base32, Base64 Data Encodings

* 18.13. "binhex" — Encode and decode binhex4 files

  * 18.13.1. 註解

* 18.14. "binascii" — Convert between binary and ASCII

* 18.15. "quopri" — Encode and decode MIME quoted-printable data

* 18.16. "uu" — Encode and decode uuencode files
