インターネット上のデータの操作¶
この章ではインターネット上で一般的に利用されているデータ形式の操作をサポートするモジュール群について記述します。
email--- 電子メールと MIME 処理のためのパッケージemail.message: Representing an email messageemail.parser: Parsing email messagesemail.generator: Generating MIME documentsemail.policy: Policy Objectsemail.errors: Exception and Defect classesemail.headerregistry: Custom Header Objectsemail.contentmanager: Managing MIME Contentemail: 使用例email.message.Message:compat32API を使用した電子メールメッセージの表現email.mime: Creating email and MIME objects from scratchemail.header: 国際化されたヘッダーemail.charset: 文字集合の表現email.encoders: エンコーダーemail.utils: Miscellaneous utilitiesemail.iterators: イテレータ
json--- JSON エンコーダーとデコーダーmailbox--- 様々な形式のメールボックスを操作するmimetypes--- ファイル名を MIME タイプへマップするbase64--- Base16, Base32, Base64, Base85 データのエンコードbinascii--- バイナリ と ASCII 間の変換quopri--- MIME quoted-printable データのエンコードとデコード