Skip to main content

$ 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)

Source distribution for spool 1.0.0
File Size Uploaded
spool-1.0.0.tar.gz 15.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spool 1.0.0
File Interpreter ABI Platform
spool-1.0.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.9.9

2 release files

0.9.8

2 release files

0.9.7

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page