Pyinfra: Automate Infrastructure Using Python

https://pyinfra.com/

pyinfra turns Python code into shell commands and runs them on your servers. Execute ad-hoc commands and write declarative operations. Target SSH servers, local machine and Docker containers. Fast and scales from one server to thousands.

Think ansible but Python instead of YAML, and a lot faster.

{
"by": "InitEnabler",
"descendants": 217,
"id": 40211655,
"kids": [
40212701,
40212449,
40215908,
40213558,
40212747,
40214789,
40212984,
40215385,
40218145,
40212897,
40214563,
40213946,
40218169,
40228934,
40213688,
40212026,
40221021,
40213530,
40232291,
40220186,
40213062,
40213061,
40221616,
40215062,
40219627,
40215879,
40220525,
40213268,
40212008,
40219060,
40212023,
40212761,
40221893,
40212588,
40214189,
40214753,
40213412,
40222378
],
"score": 644,
"time": 1714488885,
"title": "Pyinfra: Automate Infrastructure Using Python",
"type": "story",
"url": "https://pyinfra.com/"
}
{
"author": null,
"date": null,
"description": "pyinfra turns Python code into shell commands and runs them on your servers",
"image": "https://pyinfra.com/static/logo_readme.png",
"logo": null,
"publisher": null,
"title": "pyinfra",
"url": "https://pyinfra.com/"
}
{
"url": "https://pyinfra.com/",
"title": "pyinfra",
"description": "pyinfra turns Python code into shell commands and runs them on your servers. Execute ad-hoc commands and write declarative operations. Target SSH servers, local machine and Docker containers. Fast and scales...",
"links": [
"https://pyinfra.com/"
],
"image": "https://pyinfra.com/static/logo_readme.png",
"content": "<div>\n <article>\n <p>pyinfra turns Python code into shell commands and runs them on your servers. Execute ad-hoc commands and write declarative operations. Target SSH servers, local machine and Docker containers. Fast and scales from one server to thousands.</p>\n <p>Think <code>ansible</code> but Python instead of YAML, and a lot faster.</p>\n </article>\n </div>",
"author": "",
"favicon": "https://pyinfra.com/static/logo_small.png",
"source": "pyinfra.com",
"published": "",
"ttr": 10,
"type": "website"
}