DEV Community

Jeffrey.Feillp
Jeffrey.Feillp

Posted on

I Open Sourced a Python Automation Template Pack — Source Available

I Open Sourced a Python Automation Template Pack

I've been writing Python automation scripts for years. Over time, I developed a set of reusable templates that I use in almost every project. I'm now making them available.

What's Inside

1. File Batch Processor

from file_processor import FileProcessor
p = FileProcessor()
p.rename(pattern="*.jpg", new_name="photo_{counter}")
p.convert(input_dir="./raw", output_dir="./processed")
Enter fullscreen mode Exit fullscreen mode

2. Web Scraper with Retry Logic

from scraper import Scraper
s = Scraper(rate_limit=2, retries=3, proxy_file="proxies.txt")
data = s.scrape(urls, output="data.json")
Enter fullscreen mode Exit fullscreen mode

3. Selenium Automation Base

from browser import Browser
b = Browser(headless=True)
b.fill_form(url="https://example.com/login", data=credentials)
b.screenshot("page.png")
Enter fullscreen mode Exit fullscreen mode

4. Config-Driven Script Runner

# config.yaml
input: "./data"
output: "./results"
threads: 4
verbose: true

# The script reads this automatically
python run.py --config config.yaml
Enter fullscreen mode Exit fullscreen mode

5. Logging & Error Handler

A drop-in module that adds file logging, console output, and crash recovery to any script.

Pricing

$29 USDT (TRC-20) — All 5 templates with full source code and examples.

TNeUMpbwWFcv6v7tYHmkFkE7gC5eWzqbrs
Enter fullscreen mode Exit fullscreen mode

Product page: https://telegra.ph/Python-Automation-Templates--29-USDT-04-29

Top comments (0)