SpamExperts / se-mailbox

Additional functionality around the standard library mailbox module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SpamExperts Mailbox Package

Documentation Status https://coveralls.io/repos/SpamExperts/se-mailbox/badge.svg?branch=master&service=github Updates Requirements Status

Additional mailbox functionality.

Features

  • filelock.Filelock offers a file locking mechanism that has context-manager support so
    you can use it in a with statement.
  • smaildir.Maildir offers support for maildir mailbox. It uses scandir() instead of listdir(). It also provides a new iter_folders() method that works like list_folders(), put provides a generator instead of returning a list.
  • se_mailbox.QuotaMixin implements the Maildir++ quota size system, as described here: http://www.inter7.com/courierimap/README.maildirquota.html. Quotas are not enforced - this would be good to add
  • se_mailbox.SubclassableMaildir implements a mailbox.Maildir class that is more easily subclassed.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

About

Additional functionality around the standard library mailbox module

License:GNU General Public License v2.0


Languages

Language:Python 92.9%Language:Makefile 7.1%