attachment-downloader-1.2.4
توضیحات
Simple tool for downloading email attachments for all emails in a given folder using an IMAP client.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | attachment-downloader-1.2.4 |
| نام | attachment-downloader |
| نسخه کتابخانه | 1.2.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | James Ridgway |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/jamesridgway/attachment-downloader |
| آدرس اینترنتی | https://pypi.org/project/attachment-downloader/ |
| مجوز | MIT |
Attachment Downloader
=====================
Simple tool for downloading email attachments for all emails in a given
folder using an IMAP client.
Install:
::
$ pip install attachment-downloader
Usage:
::
Usage: attachment-downloader [options]
Options:
-h, --help show this help message and exit
--host=HOST IMAP Host
--username=USERNAME IMAP Username
--password=PASSWORD IMAP Password
--imap-folder=IMAP_FOLDER
IMAP Folder to extract attachments from
--subject-regex=SUBJECT_REGEX
Regex that the subject must match against
--date-after=DATE_AFTER
Select messages after this date
--date-before=DATE_BEFORE
Select messages before this date
--filename-template=FILENAME_TEMPLATE
Attachment filename (jinja2) template.
--output=DOWNLOAD_FOLDER
Output directory for attachment download
--delete Delete downloaded emails from Mailbox
--delete-copy-folder=DELETE_COPY_FOLDER
IMAP folder to copy emails to before deleting them
Example:
::
$ attachment-downloader --host imap.example.com --username mail@example.com --password pa55word \\
--imap-folder invoices --output ~/Downloads
For full instructions and documentation visit: https://github.com/jamesridgway/attachment-downloader
نیازمندی
| مقدار | نام |
|---|---|
| ==1.1 | assertpy |
| ==0.9.8 | imbox |
| ==1.0.2 | iso8601 |
| ==3.0.3 | jinja2 |
| ==2.8.2 | python-dateutil |
| ==2.17.0 | pylint |
| ==7.2.2 | pytest |
| ==3.0.0 | pytest-cov |
| ==2021.3 | pytz |
نحوه نصب
نصب پکیج whl attachment-downloader-1.2.4:
pip install attachment-downloader-1.2.4.whl
نصب پکیج tar.gz attachment-downloader-1.2.4:
pip install attachment-downloader-1.2.4.tar.gz