Skip to main content

Make it so.

Project description

“Make it so.”Captain Jean-Luc Picard
Build status Documentation status Latest PyPI version Python versions supported

The idea of Ansible with the execution of Make.

With Picard, you define a set of targets, each with a recipe that leaves it in a desired state, e.g. a compiled executable or a running service. Targets may depend on each other, e.g. “this executable depends on that source file” or “this service depends on that host”, in a directed acyclic graph. Like Make, Picard executes the recipes for targets in dependency order.

Like Ansible, Picard comes with many sophisticated recipes out-of-the-box that behave like rsync: they find the differences between a target’s present state and its goal state, and execute just the changes necessary to transition from the first to the second.

Make is limited to considering targets on the local filesystem, while Ansible can consider more general targets and states, e.g. the existence and configuration of remote machines. Ansible’s input is a rigid declarative template (based on Jinja), while Make’s input is an executable script that builds the abstract definitions of the targets and gets to leverage functions and variables. Picard tries to combine the best of both worlds in pure Python.

Help

Please see the documentation on Read the Docs.

If you have any questions, please ask me in the issues, by email, over Twitter, or however you want to reach me. I’ll be happy to help you, because it will help me make this documentation better for the next reader.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for picard.py, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size picard.py-0.1.3-py3-none-any.whl (31.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size picard.py-0.1.3.tar.gz (12.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page