Home Books Browse by series All books Agentic AI Engineering Series From Spreadsheets to Code Data Science Foundations Series The Applied Python Library Blog Download Data About Us Contact Browse Library →
Python For Automation & Scripting cover
Book 2 of the The Applied Python Library series

Python For Automation & Scripting

From Local Scripts to Scheduled, Production-Grade Infrastructure Automation

by Nolan Whitfield

Build automation you can trust in production.

Automation doesn't simply make work faster—it multiplies both your successes and your mistakes. A poorly designed script may fail once. The same script running automatically every day can create a serious outage. This book teaches you how to design automation that is safe, resilient, and production-ready from the very beginning.

You'll build Foreman, a complete automation platform that grows chapter by chapter into a supervised infrastructure automation service capable of running unattended.

You'll learn how to:

  • Create safe and idempotent file operations with professional command-line interfaces.
  • Automate data processing, REST APIs, and responsible web scraping with built-in validation.
  • Schedule recurring jobs correctly using cron and systemd while preventing overlapping executions.
  • Manage remote Linux servers over SSH with staged deployments and rollback strategies.
  • Automate AWS infrastructure using secure, least-privilege practices and cost-aware provisioning.
  • Build resilient systems with retries, circuit breakers, structured logging, dry-run execution, and monitoring.
  • Package and deploy automation tools as supervised production services.
  • Complete two comprehensive capstone projects: Sentinel, a server monitoring and backup platform, and Ledger, a cloud cost anomaly detection system.

Rather than hiding complexity behind libraries, this book teaches the engineering principles that make automation reliable at scale. Every safeguard is built intentionally so you understand exactly what protects your infrastructure when something eventually goes wrong.

Designed for Python developers who want to move beyond simple scripts and build automation systems suitable for real production environments.

Pages230
ISBNB0H8QHQK49
PublisherWaskey Press
FormatPaperback & Kindle
Share this book

Reader reviews

No reviews yet — be the first to share your thoughts.

Leave a review

Share your experience with this book. Reviews are moderated before publication to keep discussions useful and respectful.

Reviews are moderated and appear once approved.

You might also like

View all books →
Buy on Amazon →