Tagged articles

docopt

6 articles · Page 1 of 1
MaGe Linux Operations
MaGe Linux Operations
Nov 9, 2018 · Operations

Python Tool for Automating Multi-Server Commands and rsync-Style File Sync

This article introduces a Python 3.5 script that streamlines the management of dozens of servers by enabling batch remote command execution, multithreaded file upload/download with an rsync-like mechanism, strict or non-strict modes, and cross-platform support for both Linux and Windows, all driven by docopt and paramiko.

Cross-PlatformParamikoServer Automation
0 likes · 6 min read
Python Tool for Automating Multi-Server Commands and rsync-Style File Sync
MaGe Linux Operations
MaGe Linux Operations
Jul 16, 2017 · Operations

Automate Multi‑Server Management with Python: A Practical Ops Tool

This article introduces a Python 3.5 script that automates server configuration, executes remote commands, and transfers files across dozens of Linux and Windows machines using docopt and paramiko, featuring multithreading, strict/relaxed modes, and an rsync‑like transfer mechanism.

ParamikoPythonServer Management
0 likes · 6 min read
Automate Multi‑Server Management with Python: A Practical Ops Tool
MaGe Linux Operations
MaGe Linux Operations
May 28, 2017 · Backend Development

Build a Python CLI to Fetch 12306 Train Tickets in Seconds

This tutorial walks you through creating a Python command‑line tool named “tickets” that, using virtualenv, docopt, and prettytable, retrieves real‑time train ticket information from China’s 12306 service by specifying departure, destination, and date, and displays the results in a formatted table.

CLIdocoptprettytable
0 likes · 3 min read
Build a Python CLI to Fetch 12306 Train Tickets in Seconds