Python library for managing cgroups