{
"info": {
"author": "Xavier Dupr\u00e9",
"author_email": "xavier.dupre@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: Education",
"Topic :: Scientific/Engineering"
],
"description": "\n.. _l-README:\n\nREADME\n======\n\n\n.. image:: https://travis-ci.org/sdpython/pymmails.svg?branch=master\n:target: https://travis-ci.org/sdpython/pymmails\n:alt: Build status\n\n.. image:: https://ci.appveyor.com/api/projects/status/hqhhdndvayrx0r9k?svg=true\n:target: https://ci.appveyor.com/project/sdpython/pymmails\n:alt: Build Status Windows\n\n.. image:: https://circleci.com/gh/sdpython/pymmails/tree/master.svg?style=svg\n :target: https://circleci.com/gh/sdpython/pymmails/tree/master\n\n.. image:: https://badge.fury.io/py/pymmails.svg\n:target: http://badge.fury.io/py/pymmails\n\n.. image:: http://img.shields.io/github/issues/sdpython/pymmails.png\n:alt: GitHub Issues\n:target: https://github.com/sdpython/pymmails/issues\n\n.. image:: https://img.shields.io/badge/license-MIT-blue.svg\n:alt: MIT License\n:target: http://opensource.org/licenses/MIT\n\n.. image:: https://requires.io/github/sdpython/pymmails/requirements.svg?branch=master\n :target: https://requires.io/github/sdpython/pymmails/requirements/?branch=master\n :alt: Requirements Status\n\n.. image:: https://codecov.io/github/sdpython/pymmails/coverage.svg?branch=master\n:target: https://codecov.io/github/sdpython/pymmails?branch=master\n\n**Links:**\n\n* `GitHub/pymmails `_\n* `documentation `_\n* `Blog `_\n\nDescription\n-----------\n\nThe module was started to grab emails using IMAP and to store them on a local disk.\nI now use it to download to material sent by my students before an oral presentation.\nI receive many of them and it is usually annoying to download them one by one.\nHere is the code I use::\n\n from pymmails import MailBoxImap, EmailMessageRenderer\n\n user = \"your.email\"\n pwd = \"passsword\"\n server = \"imap.your_provider.ext\"\n\n box = MailBoxImap(user, pwd, server)\n render = EmailMessageRenderer()\n box.login()\n for mail in box.enumerate_mails_in_folder(\"saved\", pattern=\"\") :\n mail.dump(render, location=temp, fLOG=fLOG)\n box.logout()\n render.flush()\n\nSome examples of patterns::\n\n pattern='FROM \"xavier\" SINCE 1-Feb-2013'\n pattern='FROM \"xavier\" SINCE 1-Feb-2013 BEFORE 5-May-2013'\n pattern='FROM \"xavier\" SINCE 1-Feb-2013 BEFORE 5-May-2013 UNANSWERED'\n pattern='CC \"jacques\" FROM \"xavier\" DELETED'\n pattern='TEXT \"github\"'\n pattern='LARGER 10000 SMALLER 1000000'\n pattern='SUBJECT \"programmation\"'\n pattern='TO \"student\" FLAGGED'\n pattern='UNSEEN'\n\nDesign\n------\n\nThis project contains various helper about logging functions, unit tests and help generation.\n\n* a source folder: ``src``\n* a unit test folder: ``_unittests``, go to this folder and run ``run_unittests.py``\n* a _doc folder: ``_doc``, it will contains the documentation\n* a file ``setup.py`` to build and to install the module\n* a file ``make_help.py`` to build the sphinx documentation\n\n=======\nHistory\n=======\n\ncurrent - 2018-04-14 - 0.00Mb\n=============================\n\n* `1`: rename flake8 into code_style (2018-04-14)\n\n0.2.237 - 2017-08-20 - 0.03Mb\n=============================\n",
"description_content_type": "",
"docs_url": null,
"download_url": "https://github.com/sdpython/pymmails/",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "http://www.xavierdupre.fr/app/pymmails/helpsphinx/index.html",
"keywords": "pymmails",
"license": "MIT",
"maintainer": "",
"maintainer_email": "",
"name": "pymmails",
"package_url": "https://pypi.org/project/pymmails/",
"platform": "",
"project_url": "https://pypi.org/project/pymmails/",
"project_urls": {
"Download": "https://github.com/sdpython/pymmails/",
"Homepage": "http://www.xavierdupre.fr/app/pymmails/helpsphinx/index.html"
},
"release_url": "https://pypi.org/project/pymmails/0.2.290/",
"requires_dist": null,
"requires_python": "",
"summary": "A module to download emails from an IMAP4 server",
"version": "0.2.290"
},
"last_serial": 4712991,
"releases": {
"0.2.237": [
{
"comment_text": "",
"digests": {
"md5": "425bfdc43d540fbbd33af4ac6889bd76",
"sha256": "e277678fddd6d4a2f7a8eff20bd783412e5e872e43ad9e582a69c86b1cc7e087"
},
"downloads": -1,
"filename": "pymmails-0.2.237-py3-none-any.whl",
"has_sig": false,
"md5_digest": "425bfdc43d540fbbd33af4ac6889bd76",
"packagetype": "bdist_wheel",
"python_version": "3.6",
"requires_python": null,
"size": 32268,
"upload_time": "2017-08-20T17:35:40",
"url": "https://files.pythonhosted.org/packages/1f/3c/5a793bbf0d517c7999b8bbb24570100178a5135b17a03a0d56edfddef7b9/pymmails-0.2.237-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "bf5f3e3bb4e4ae26378ffd7866a2740c",
"sha256": "3eb634e391f309a1676004cb70ecfb7a052da6306da470935b347b5ea75fdaaf"
},
"downloads": -1,
"filename": "pymmails-0.2.237.tar.gz",
"has_sig": false,
"md5_digest": "bf5f3e3bb4e4ae26378ffd7866a2740c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 220947,
"upload_time": "2017-08-20T17:35:29",
"url": "https://files.pythonhosted.org/packages/65/63/aaff2b75f0e776997cd0c94cd7f7766d85c66f1c245432d064a2b4a139ca/pymmails-0.2.237.tar.gz"
}
],
"0.2.290": [
{
"comment_text": "",
"digests": {
"md5": "9d68069df4ecf3f21ece1a15600b56d4",
"sha256": "d8fd4339712eb9bbc7fe7fe81cb651fdffa41d1b69f7904d9e3896c10a925dae"
},
"downloads": -1,
"filename": "pymmails-0.2.290-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9d68069df4ecf3f21ece1a15600b56d4",
"packagetype": "bdist_wheel",
"python_version": "3.7",
"requires_python": null,
"size": 32325,
"upload_time": "2019-01-18T17:12:11",
"url": "https://files.pythonhosted.org/packages/be/fb/704d21f88e8ea0b624a92d90431aad5231a3ab7ded147c6ade7c1f5abbec/pymmails-0.2.290-py3-none-any.whl"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "9d68069df4ecf3f21ece1a15600b56d4",
"sha256": "d8fd4339712eb9bbc7fe7fe81cb651fdffa41d1b69f7904d9e3896c10a925dae"
},
"downloads": -1,
"filename": "pymmails-0.2.290-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9d68069df4ecf3f21ece1a15600b56d4",
"packagetype": "bdist_wheel",
"python_version": "3.7",
"requires_python": null,
"size": 32325,
"upload_time": "2019-01-18T17:12:11",
"url": "https://files.pythonhosted.org/packages/be/fb/704d21f88e8ea0b624a92d90431aad5231a3ab7ded147c6ade7c1f5abbec/pymmails-0.2.290-py3-none-any.whl"
}
]
}