aiomail-7: log a truncated body when a 200 token response has no access_token instead of silently discarding it. aiomail-8: connect() no longer sleeps after the last failed retry attempt. aiomail-9: _discard_mail now distinguishes its own task.cancel() from an external cancellation via asyncio.shield, so connect() no longer resists cancellation. aiomail-10: the digit-run fallback now matches contiguous \d+ runs instead of mashing digits across punctuation within a whitespace token (e.g. a date). aiomail-11: README's dynamic-matching example uses email.utils.parseaddr since a real From header is not a bare address. Also compresses essay docstrings to one-line-plus-nuance with zero behavior change (re-verified against the same negative controls). Signed-off-by: disqualifier <dev@disqualifier.me>
20 lines
434 B
TOML
20 lines
434 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "aiomail"
|
|
version = "0.1.8"
|
|
description = "async IMAP one-time-code retrieval with password/OAuth2 auth and dynamic matching"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"aioimaplib>=1.0",
|
|
"beautifulsoup4>=4.11",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
oauth = ["aiohttp>=3.9"]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/aiomail"]
|