$ spool_
Spool allows you to generate test mails specified in YAML.
Installation
pip install .
Usage
spool --help
Example configuration file:
---
# mails.yml
# Optional defaults for keys mails
defaults:
sender: foo@example.com
recipents: Bar <bar@example.com>, baz@example.com
# Optional variables which can be used below
vars:
message: |
Hello world,
Foo bar baz ...
Kind regards,
Foo
# Mails to generate/send
mails:
- name: Test Mail
description: Hello world test mail
headers:
X-Mailer: Spool Mailer
text_body: '{{ message }}'
Send/generate mail(s):
# Send mails to/trought a relay smtp server
spool --verbose --relay localhost:2525 example/simple.yml
# Send mails directly to remote smtp server
spool --verbose example/simple.yml
# Use Google's dns servers for MX rr lookup
spool --verbose --nameserver 8.8.8.8 example/simple.yml
For further examples visit the documentation.
Metadata
Release files for spool 1.0.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 |
|---|---|---|---|---|
| spool-1.0.0.tar.gz | 15.3 kB | Without provenance | Details for spool-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spool-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for spool-1.0.0-py3-none-any.whl |
Total release size: 28.2 kB
Release files / spool-1.0.0.tar.gz
| Download URL | spool-1.0.0.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
73b1eea981609e44006db2b3c6afb1be84958952d30e42f82e8e5ddcb4342a0d
|
|
BLAKE2b-256 checksum How to use checksums |
d87ed1195ee6167962a1c849f397ab602d9dd791c1ee68253c3d03d968cd7ba7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.13.0
|
Release files / spool-1.0.0-py3-none-any.whl
| Download URL | spool-1.0.0-py3-none-any.whl |
|---|---|
| Size | 13.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3dc924ef6ff1603f0493bb4fca48bdbf0669e4980c83c9a751673f458b9607c1
|
|
BLAKE2b-256 checksum How to use checksums |
231a90a2cbeab6f36ad0a57e639d3262b00e79428e6489f4b76f4df5fa3a7689
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.13.0
|
Security for spool 1.0.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.