ingot-mail
The mail of Ingots applications. An addon of Ingots.
Status: pre-alpha: the skeleton, its project with the settings, the logging and the mail units; nothing is sent yet.
For Consumers
Install
uv add ingot-mail
Integrate
An application of Ingots has its own configs, settings, logging and project; each takes the class of the addon among its bases:
# app/project.py
import typing as t
from ingot_mail import MailProject
from ingot_mail.logging import MailLoggingUnit
from ingot_mail.settings import MailSettingsUnit
from ingot_mail.settings.configs import MailConfigs
from ingots.puer import Slot
class AppConfigs(MailConfigs):
pass
class AppSettingsUnit(MailSettingsUnit):
configs = Slot(AppConfigs)
class AppLoggingUnit(MailLoggingUnit):
project: "AppProject"
class AppProject(MailProject):
env_configs_prefix = "APP"
settings = Slot(AppSettingsUnit)
logging = Slot(AppLoggingUnit)
With other addons, their classes join the same bases:
class AppConfigs(MailConfigs, MongoDbConfigs), and so on, as the
addon guide
of Ingots shows. An application with this addon alone may inherit
MailProject and nothing more.
The application runs through its own __main__.py:
# app/__main__.py
import sys
from ingots.defaults.logging import configure_startup_logging
from ingots.puer.cli import CommandRunner
from .project import AppProject
configure_startup_logging()
sys.exit(CommandRunner(AppProject).run())
uv run python -m app settings list # the configs, MAIL_* among them
uv run python -m app logging info # the loggers, ingot_mail among them
Configs
Set as environment variables with the prefix of the project
(APP_MAIL_LOGGING_LEVEL), in a --configs-file or with --config.
| Name | Default | Meaning |
|---|---|---|
MAIL_LOGGING_LEVEL |
INFO |
the level of the logger of the addon, ingot_mail |
Development
Requires uv and make; uv fetches the
interpreters it needs.
make # the target list
make check # everything CI runs: lint, test, coverage, wheel-test, cl-check
make format # black
make all # build the sdist and the wheel into dist/
- Every change users should know about adds a news fragment to
changelog.d/(see its README). - A release is a pull request setting the version (
uv version X.Y.Z) and collating the changelog (make cl-build VERSION=X.Y.Z), then the tagvX.Y.Zonmain: thereleaseworkflow publishes the tested build to TestPyPI, tests it as installed from there, then publishes it to PyPI. Run by hand, it rehearses on TestPyPI only.
Metadata
Release files for ingot-mail 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ingot_mail-0.1.0.tar.gz | 9.2 kB | With provenance | Details for ingot_mail-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ingot_mail-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for ingot_mail-0.1.0-py3-none-any.whl |
Total release size: 19.5 kB
Release files / ingot_mail-0.1.0.tar.gz
| Download URL | ingot_mail-0.1.0.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab0b7208a69c9cd1a07fdba4a538eac40bee3248d151ab916ca5b531ed839fa6
|
|
BLAKE2b-256 checksum How to use checksums |
a6d4d08a1fe78a7934898d2c4556a15183eef5926b97a13b2892bd68997b0b77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logRelease files / ingot_mail-0.1.0-py3-none-any.whl
| Download URL | ingot_mail-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ec9682f03ec4fa329dce7bf4df7630bdf98caa4cc66f0cf5f651c3c93b17f5dd
|
|
BLAKE2b-256 checksum How to use checksums |
c60e1e7b2180209751de870ed826cfd8ef1b58d3f3272ab2df97d56944937758
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logSecurity for ingot-mail 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for ingot_mail-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.