Hacker News new | ask | show | jobs
by git-pull 3053 days ago
Fabric.

http://www.fabfile.org/

Works over SSH. Uses pure Python. No need to deploy and configure minions/agents/etc.

Fabric also benefits from being highly composable. Since it's python, you can parametrize and reuse functions and create class-based tasks [1]

Want to use Fabric with python 3? Here is a fork with Python 3 support: https://github.com/mathiasertl/fabric/

If you use fabtools, I maintain a fork of it for fabric3: https://github.com/develtech/fabtools/tree/fabric3

[1] http://docs.fabfile.org/en/1.14/usage/tasks.html#task-subcla...

1 comments

I've been writing so much boring backend Java for so long... Some Python would be a sorely needed breath of fresh air. Thanks for pointing me in this direction. I might just play around with it on my homelab for the fun of it!