Skip to main content

Lanes Engine

Project description

๐Ÿง™ LANES-ENGINE โ€” Python CLI Orchestration Engine (v1.2.0)

lanes-engine is a terminal-native, highly parallel 15-lane email delivery engine written in Python leveraging asyncio. It divides massive recipient lists equally across 15 async workers executing concurrently in batches of 20 with live dashboard output, checkpoint-based resume controls, and non-interactive failure retry via resend --failed-only.


๐ŸŽจ Visual Console Theme

    โœฆ  ยท  โœง  ยท  โœฆ  ยท  โœง  ยท  โœฆ
   โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
   โ•‘  โ–ˆโ–ˆโ•—      โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—                 โ•‘
   โ•‘  โ–ˆโ–ˆโ•‘     โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•                 โ•‘
   โ•‘  โ–ˆโ–ˆโ•‘     โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—                 โ•‘
   โ•‘  โ–ˆโ–ˆโ•‘     โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•  โ•šโ•โ•โ•โ•โ–ˆโ–ˆโ•‘                 โ•‘
   โ•‘  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘                 โ•‘
   โ•‘  โ•šโ•โ•โ•โ•โ•โ•โ•โ•šโ•โ•  โ•šโ•โ•โ•šโ•โ•  โ•šโ•โ•โ•โ•โ•šโ•โ•โ•โ•โ•โ•โ•โ•šโ•โ•โ•โ•โ•โ•โ•                 โ•‘
   โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
       "We route the mail through chaos"
    โœง  ยท  โœฆ  ยท  โœง  ยท  โœฆ  ยท  โœง
  • 24-bit gradient banner (cyan โ†’ magenta, line-by-line)
  • Async typewriter banner animation on cold start
  • Braille spinner during session load + connection pre-warm
  • Hooded wizard ASCII mascot drawn at start of every command
  • Per-lane live status glyphs (โ— sending, โ— done, โ—‹ idle)
  • Confetti burst when the campaign finishes

๐Ÿš€ Core Features

  1. 15 Parallel Async Lanes: Distributes recipient lists equally across 15 lanes using an asynchronous round-robin queue.
  2. File-Driven Input: Zero database requirements. Just drop email.txt and senders.csv.
  3. Live Dashboard Metrics: Gradient progress bar, per-lane glyphs, processing speed, failure count.
  4. Auto-Retry (resend --failed-only): After any run, the engine writes lanes-session.json (template + recipients). Re-run failed emails non-interactively with one command.
  5. Fast Cold Start: Backend connection pre-warmed in parallel with file parsing; premailer is lazy-loaded only when HTML mode is enabled.
  6. No Web Bloat: Strictly a CLI engine built for speed.

๐Ÿ“ Input Format Requirements

1. email.txt

Place this in your working directory. Use Subject: as the first line header. Supports template rendering via {{placeholder}}:

Subject: Welcome {{name}} to Scholarly!

Hello {{name}},

Your journey through the lanes begins now.

โ€” MQ Team

2. senders.csv

Contains the recipient email list and fields for templating:

email,name
alex@gmail.com,Alex
sara@gmail.com,Sara
john@gmail.com,John

โš™๏ธ Installation & Commands

Install from PyPI:

pip install lanes-engine

1. Initialize Templates

Create initial email.txt and senders.csv mock templates in your current directory:

lanes-engine init

2. Run Campaign Processing

Parse the local templates and start the 15 parallel workers:

lanes-engine send

3. Check Latest Summary

Read the final log report from the latest run:

lanes-engine status

4. Open Detailed Performance Breakdown

Displays per-lane success/error counts and detailed failure stream error messages:

lanes-engine report

5. Auto-Resend Failed Emails (Non-Interactive)

Re-runs only the recipients that failed in the most recent session, using the saved lanes-session.json. No prompts, no interactive recycle loop:

lanes-engine resend --failed-only

You can chain --no-banner to skip the startup animation in CI/scripted environments:

lanes-engine resend --failed-only --no-banner

๐Ÿ“„ License

MIT ยฉ Lanes Wizard

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lanes_engine-2.0.0.tar.gz (33.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lanes_engine-2.0.0-py3-none-any.whl (36.2 kB view details)

Uploaded Python 3

File details

Details for the file lanes_engine-2.0.0.tar.gz.

File metadata

  • Download URL: lanes_engine-2.0.0.tar.gz
  • Upload date:
  • Size: 33.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for lanes_engine-2.0.0.tar.gz
Algorithm Hash digest
SHA256 597db866c9f7e1cb4faaa2507d166b42cf3fcf367dbe3ad9455ca3d901385631
MD5 979ac184f3403b77deb98cac7bf49045
BLAKE2b-256 206fbf8a6a946bae7a094790bc3b7985c9fbef09be6888f93fe25287ed34708a

See more details on using hashes here.

File details

Details for the file lanes_engine-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: lanes_engine-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 36.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for lanes_engine-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa56001888785f3485938a5395d8213ed95fa051649f4b4d023bf0f5ae2a1735
MD5 1dba8f2e1802c83a0ec703ecb10a3990
BLAKE2b-256 8a91971827f6ced779ec66015cee782e638f22f8b07b6b2c979a351e786d6f65

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page