Files
mail-intake/pyproject.toml
Vishesh 'ironeagle' Bangotra 9e534ed961 feat(auth): introduce credential store abstraction and refactor Google auth
- Add generic CredentialStore abstraction for credential persistence
- Introduce pickle- and Redis-backed credential store implementations
- Refactor Google OAuth provider to delegate persistence to CredentialStore
- Make auth providers generic over credential type for stricter contracts
- Update package documentation to reflect credential lifecycle vs persistence split
- Add credentials module to public API surface
- Harden .gitignore to exclude credential and token artifacts

This release removes node-local persistence assumptions, enables
distributed-safe authentication, and formalizes credential storage as
a first-class extension point.
2026-01-10 16:45:38 +05:30

91 lines
1.9 KiB
TOML

[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mail-intake"
version = "0.0.2"
description = "Structured mail ingestion and correspondence parsing with provider adapters (Gmail-first)."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [
{ name = "Aetos Skia", email = "dev@aetoskia.com" }
]
maintainers = [
{ name = "Aetos Skia", email = "dev@aetoskia.com" }
]
keywords = [
"email",
"gmail",
"mail",
"ingestion",
"automation",
"job-search",
"correspondence",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Communications :: Email",
"Topic :: Software Development :: Libraries",
]
dependencies = [
# Gmail API stack
"google-api-python-client>=2.120.0",
"google-auth>=2.28.0",
"google-auth-oauthlib>=1.2.0",
# Parsing
"beautifulsoup4>=4.12.0",
"lxml>=5.1.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-cov>=4.1.0",
"ruff>=0.3.0",
"mypy>=1.8.0",
"types-beautifulsoup4",
]
docs = [
"mkdocs>=1.5.0",
"mkdocs-material>=9.5.0",
]
[project.urls]
Homepage = "https://git.aetoskia.com/aetos/mail-intake"
Documentation = "https://git.aetoskia.com/aetos/mail-intake#readme"
Repository = "https://git.aetoskia.com/aetos/mail-intake.git"
Issues = "https://git.aetoskia.com/aetos/mail-intake/issues"
Versions = "https://git.aetoskia.com/aetos/mail-intake/tags"
[tool.setuptools]
packages = { find = { include = ["mail_intake*"] } }
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.mypy]
python_version = "3.10"
strict = true
ignore_missing_imports = true