patera-email
Async SMTP e-mail client with Jinja templates for Patera. Part of Patera, a modular async-first Python web framework.
Installation
pip install patera-email
# or, with uv
uv add "patera[email]"
Requires Python 3.13 or newer and patera>=0.121.
Usage
from patera.email import EmailClient, EmailConfig
class Mailer(EmailClient):
pass
class Config(BaseConfig):
...
MAILER: EmailConfig = EmailConfig(
SENDER_NAME_OR_ADDRESS="My app <noreply@example.com>",
SMTP_SERVER="smtp.example.com", SMTP_PORT=587,
USERNAME="user", PASSWORD="secret", USE_TLS=True,
)
See the E-mail section of the Patera documentation for the full guide.
License
MIT. See LICENSE.
Metadata
Release files for patera-email 0.11.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| patera_email-0.11.1.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| patera_email-0.11.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.5 kB
Release files / patera_email-0.11.1.tar.gz
| Download URL | patera_email-0.11.1.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
135a28a3d46ba0bb0ad95f7f2d65fe0715d5d594111cc840994236b016b34ea0
|
|
BLAKE2b-256 checksum How to use checksums |
4ff55d7a73c937f70edf5112cb695b478e738ff1df501e4b254d23a59aa4f655
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / patera_email-0.11.1-py3-none-any.whl
| Download URL | patera_email-0.11.1-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5dccda66c7ad727682c6972efc8ddb98e0adfb529053566841ce345d3eed5e11
|
|
BLAKE2b-256 checksum How to use checksums |
77849a7884d424088de1107c81f7b91be2e1d7be8701c9a686234ad150eedecd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|