Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Library for creating evergreen configurations

Project description -- A python based Evergreen project config generation library


Based on shrub, is a library for programatically building Evergreen project configurations described here.


The following snippet will create a set of parallel tasks reported under a single display task. It would generate json used by generate.tasks:

        n_tasks = 10
        c = Configuration()

        task_names = []
        task_specs = []

        for i in range(n_tasks):
            name = "aggregation_multiversion_fuzzer_{0:03d}".format(i)
            t = c.task(name)
                CommandDefinition().function("do setup"),
                CommandDefinition().function("do multiversion setup"),
                CommandDefinition().function("run jstestfuzz").vars({
                    "jstestfuzz_var": "--numGeneratedFiles 5",
                    "npm_command": "agg-fuzzer",
                CommandDefinition().function("run tests").vars({
                    "continue_on_failure": "false",
                    "resmoke_args": "--suites=generational_fuzzer",
                    "should_shuffle": "false",
                    "task_path_suffix": "false",
                    "timeout_secs": "1800",

        dt = DisplayTaskDefinition("aggregation_multiversion_fuzzer")\


Run tests

pip install tox

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, version 0.2.3
Filename, size File type Python version Upload date Hashes
Filename, size (17.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size (11.6 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 SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page