# paradeps

## This resolves dependencies into parallelizable execution tiers.  For example, given the inputs:

    a, b, c, d, f

Where a and b depend on f, this will return:

    [{c,d,f}, {a,b}]


## Usage

    from paradeps import Dependent

    class Item(Dep):
       ...

    def process_items_in_parallel(items):
       ...

    items = [Item() for i in range(5)]

    items[0].add_dependency(items[2])
    items[2].add_dependency(items[4])

    tiers = resolve_deps(items)

    for tier in tiers:
        process_items_in_parallel(tier)


## License

Released under the terms of Aferro GPL version 3.0 only.  See `LICENSE.txt` for further details.


## Authors / Contact

Email mailto::leebraid@gmail.com[mailto::leebraid@gmail.com].
