← Back to all products
$19
Signature Generator
Generate professional HTML email signatures from templates for consistent team branding.
JSONMarkdownPython
📄 Product Preview
Try the interactive reader and demo tools below, or get the full product with all content unlocked.
📖 Interactive Reader (Free Preview) ⚙ Try Demo Tools 📦 Download Free Sample📁 File Structure 10 files
signature-generator/
├── LICENSE
├── README.md
├── examples/
│ └── signature_config.json
├── free-sample.zip
├── guide/
│ ├── 01_features.md
│ ├── 02_quick-start.md
│ ├── 03_available-templates.md
│ └── 04_license.md
├── index.html
└── src/
└── signature_generator.py
📖 Documentation Preview README excerpt
Signature Generator
Generate professional HTML email signatures from templates and config data. Consistent branding across your whole team — batch mode included.
Features
- 4 built-in templates — Professional, Minimal, Bold, and Startup styles
- Table-based HTML — Compatible with every email client (yes, even Outlook)
- Social links — Twitter, LinkedIn, GitHub, website, and custom URLs
- Batch mode — Generate signatures for your entire team from a JSON config
- Custom branding — Brand colors, taglines, pronouns, and logo URLs
- XSS-safe — All user input is HTML-escaped before rendering
- Single-file output — Each signature is a self-contained HTML snippet
Requirements
- Python 3.10+
- No external dependencies (stdlib only)
Quick Start
# Generate a signature using the default template
python src/signature_generator.py --config examples/signature_config.json
# Use a specific template
python src/signature_generator.py --config examples/signature_config.json --template minimal
# Save to file
python src/signature_generator.py --config examples/signature_config.json --output my_sig.html
# List available templates
python src/signature_generator.py --list-templates
# Batch mode — generate for all team members
python src/signature_generator.py --config examples/signature_config.json --output-dir sigs/
Config File Format
{
"name": "Alex Johnson",
"title": "Senior Developer",
"company": "Acme Corp",
"email": "alex@acme-corp.example.com",
"phone": "+1 (555) 123-4567",
"website": "https://acme-corp.example.com",
"pronouns": "they/them",
"tagline": "Building the future, one commit at a time",
"brand_color": "#2563EB",
"social": [
{"platform": "twitter", "url": "https://twitter.com/example"},
{"platform": "linkedin", "url": "https://linkedin.com/in/example"},
{"platform": "github", "url": "https://github.com/example"}
]
}
Available Templates
... continues with setup instructions, usage examples, and more.
📄 Code Sample .py preview
src/signature_generator.py
#!/usr/bin/env python3
"""
Signature Generator — Email Arsenal (DataNest)
Generates professional HTML email signatures from templates and config data.
Supports multiple team members, social links, and custom branding.
Usage:
python signature_generator.py --config signature.json
python signature_generator.py --config signature.json --output sig.html
python signature_generator.py --template minimal --config signature.json
Dependencies: Python 3.10+ stdlib only
License: MIT
"""
from __future__ import annotations
import argparse
import html
import json
import logging
import sys
from dataclasses import dataclass, field
from pathlib import Path
from typing import Any
# ---------------------------------------------------------------------------
# Constants
# ---------------------------------------------------------------------------
logger = logging.getLogger("signature_generator")
# Available signature templates
TEMPLATES = {
"professional": "professional",
"minimal": "minimal",
"bold": "bold",
"startup": "startup",
}
# ---------------------------------------------------------------------------
# Data models
# ---------------------------------------------------------------------------
@dataclass
class SocialLink:
"""A social media or web link for the signature."""
platform: str
# ... 321 more lines ...