Skip to main content

Build Status Code style: black Coverage Status

Brigade

Brigade is a pure Python automation framework intented to be used directly from Python. While most automation frameworks use their own DSL which you use to describe what you want to have done, Brigade lets you control everything from Python.

One of the benefits we want to highlight with this approach is the ease of troubleshooting, if something goes wrong you can just use your existing debug tools directly from Python (just add a line of import pdb & pdb.set_trace() and you're good to go). Doing the same using a DSL can be quite time consuming.

What Brigade brings to the table is that it takes care of dealing with your inventory and manages the job of dispatching the tasks you want to run against your nodes and devices. The framework provides a very simple way to write plugins if you aren't happy with the ones we ship. Of course if you have written a plugin you think can be useful to others, please send us your code and test cases as a pull request.

Install

While Brigade still supports Python 2.7 the recommended version is 3.6. Install it with pip.

pip install brigade

Documentation

Read the Brigade documentation online or review it's code here

Examples

You can find some examples and already made tools here

Bugs & New features

If you think you have bug or would like to request a new feature, please register a GitHub account and open an issue.

Contact & Support

While we are happy to help, the GitHub issues are intended for bugs and discussions about new features. If are struggling to get something to work but don't believe its due to a bug in Brigade, the place to ask questions is in the #brigade channel in the networktoCode Slack team.

Contributing to Brigade

If you want to help the project, the Contribution Guidelines is the best place to start.

Metadata

Release files for brigade 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for brigade 1.0.0
File Size Uploaded
brigade-1.0.0.tar.gz 22.7 kB Details

Release files / brigade-1.0.0.tar.gz

Download URL brigade-1.0.0.tar.gz
Size 22.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f9356879152b4c93a0cbf212fc5a9ba9db3ee2ac8f7831ffafb67625b449216f
BLAKE2b-256 checksum
How to use checksums
906ec23ea06b9baafcb2137c680c9fb4146e058c16fda5c91f5b30315a60b9fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.3

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page