{ "info": { "author": "Raul Morales Delgado", "author_email": "rmoralesdelgado@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: MacOS :: MacOS X", "Programming Language :: Python :: 3" ], "description": "\n
\n\n# espressomaker\n\n`espressomaker` is a Python 3 module that provides a context manager \u2014 and other functionalities \u2014 to modify the power management settings on a MacOS X system so that lengthy tasks (e.g. a machine learning training algorithm) can run uninterruptedly \u2014 without your Mac going to sleep.\n\nMore specifically, `espressomaker` is a wrapper of `caffeinate`, a shell command in MacOS X distributions that allows users to alter the system's sleep behavior. In this sense, `espressomaker` runs `caffeinate` subprocesses from the Python 3 interpreter or the IPython kernel from where it was imported and allows to control your Mac's sleep settings through a simple and intuitive set of Python commands.\n\nEspresso.shot()Espresso.opentab() and Espresso.closetab()Espresso.check()caffeinate processes \u2014 Espresso.killall()