./mail/py-imapclient, Convience IMAP client for Python

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.0.1, Package name: py311-imapclient-3.0.1, Maintainer: pkgsrc-users

IMAPClient is an easy-to-use, Pythonic and complete IMAP client library
on top of the standard library.

- Arguments and return values are natural Python types.
- IMAP server responses are fully parsed and readily usable.
- IMAP unique message IDs (UIDs) are handled transparently.
- Internationalised mailbox names are transparently handled.
- Time zones are correctly handled.
- Convenience methods are provided for commonly used functionality.
- Exceptions are raised when errors occur.


Required to run:
[lang/py-six] [lang/python310]

Master sites:

Filesize: 238.498 KB

Version history: (Expand)


CVS history: (Expand)


   2024-01-18 17:00:46 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-imapclient: also needs TOOL_DEPENDS
   2024-01-18 16:59:37 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-imapclient: updated to 3.0.1

3.0.1

chore(deps-dev): bump black from 23.10.0 to 23.11.0
Fix missing test files

3.0.0

Breaking Changes

Remove support for Python 2
chore: remove support for Python 3.4 & 3.5. Support Python 3.10
chore: remove support for Python 3.6. Support Python 3.11

New Features

Default contexts should use SERVER_AUTH not CLIENT_AUTH
New function uid_expunge, which requires the capability UIDPLUS.

Other Changes

chore: setup black for CI
chore: setup flake8, fix issues, & add to CI
Update version, release notes and authors for 2.3.0
Add some minor fixes
fix: broken get() & getboolean()
Remove configparser deprecation warnings
chore: convert from optparse to argparse
Fix typos in docs' index file
Update documentation links
Remove usage of deprecated imp module
Update actions to current versions
Fix license in setup.py
Add use of the isort linter
chore: remove envdir settings from tox.ini
Initial framework for adding type-hints and added type-hints to version.py
chore: add dependabot.yml to enable automatic PRs
chore: add initial pylint check
chore: resolve formatting issues so black==23.7.0 check passes
Adding type-hints to some files.
Bump flake8 from 4.0.1 to 6.1.0
Bump black from 22.3.0 to 23.7.0
Resolve some pylint issues
Add type-hints to more files
More type-hints
chore: remove pop_with_default() function
chore: add type-hints to response_*.py
Removed SPECIAL-USE capability check
chore: rename type-var to lessen possible confusion
chore: convert namedtuple to dataclass
Add type-hints to setup.py and imapclient/config.py. Also use argparse.Namespace \ 
instead of Bunch
chore(deps-dev): bump black from 23.7.0 to 23.9.1
chore: add type-hints to imapclient/interact.py
chore(deps-dev): bump pylint from 2.17.5 to 3.0.0
Move to mypy==1.6.0 and resolve issues
chore(deps-dev): bump mypy from 1.5.1 to 1.6.0
chore(deps-dev): bump pylint from 3.0.0 to 3.0.1
Add readthedocs configuration file
chore(deps-dev): bump black from 23.9.1 to 23.10.0
chore(deps-dev): bump pylint from 3.0.1 to 3.0.2
Config for Github generated release notes
chore(deps-dev): bump mypy from 1.6.0 to 1.6.1
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 12:54:34 by Nia Alarie | Files touched by this commit (356)
Log message:
mail: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles were unfetchable (possibly fetched
conditionally?):

./mail/qmail/distinfo netqmail-1.05-TAI-leapsecs.patch
   2021-10-07 16:25:52 by Nia Alarie | Files touched by this commit (357)
Log message:
mail: Remove SHA1 hashes for distfiles
   2021-02-13 22:46:26 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-imapclient: updated to 2.2.0

Version 2.2.0
=============

Changed
-------
- Performance improvements
  - 2x faster _maybe_int_to_bytes for Python 2
  - Fix _proc_folder_list quadratic runtime
  - Faster utf7 encode. ~40% faster for input with a mix of unicode and
    ASCII chars.
  - Cache regex in _process_select_response
- poll() when available to surpass 1024 file descriptor limit with select()
- Use next instead of six.next as imapclient doesn't claim Python 2.5 support.
- Moved "Logged in/out" traces from INFO to DEBUG level
- Run tests on Python 3.8 and 3.9
- Support the Deleted special folder used by Outlook
- Clean up timeout handling
- Run the Black code formatter over the entire project

Added
-----
- MULTIAPPEND and LITERAL+ support
- Use ptpython for interactive shell if available
- Allow any custom SASL mechanism to be provided. This allows mechanisms such
  as EXTERNAL, GSSAPI or SCRAM-SHA-256 to be used in the same way as with
  imaplib.
- Add SASL OAUTHBEARER support
- add optional timeout parameter to IMAP4_TLS.open

Fixed
-----
- fixed special folder searching
- Catch the right exception in folder_status
- test_imapclient: Fix LoggerAdapter version check
- Fix config file parsing for None attributes
- Fix useless ref cycle in lexer
- Protocol parsing: Prevent converting numbers with leading zeroes to int.
- Prevent UnicodeDecodeError in IMAPlibLoggerAdapter
- Fix invalid string escape sequences
- Ensure timeout is used on Python 2.7.  _create_socket isn't used with the
  Python 2 version of imaplib so the open method has been overrided to make it
  consistent across Python version.
- Fix IMAP4_TLS for imaplib in Python 3.9+
   2020-11-01 21:54:11 by Joerg Sonnenberger | Files touched by this commit (4)
Log message:
Add py-imapclient-2.1.0:

IMAPClient is an easy-to-use, Pythonic and complete IMAP client library
on top of the standard library.

- Arguments and return values are natural Python types.
- IMAP server responses are fully parsed and readily usable.
- IMAP unique message IDs (UIDs) are handled transparently.
- Internationalised mailbox names are transparently handled.
- Time zones are correctly handled.
- Convenience methods are provided for commonly used functionality.
- Exceptions are raised when errors occur.