We would like to add psutil (https://github.com/giampaolo/psutil) as a new dependency for CCTBX. The package is available through conda and pip. This package provides cross-platform tools for getting information about processes and the system. This would make some of the tools in libtbx/introspection.py and libtbx/utils.py more robust and consistent across platforms.
The functionality that is most relevant right now is the ability to get memory usage and the amount of available memory. For some cryo-EM tools, we would like to do this before trying to do certain tasks.
We would like to add psutil (https://github.com/giampaolo/psutil) as a new dependency for CCTBX. The package is available through
conda
andpip
. This package provides cross-platform tools for getting information about processes and the system. This would make some of the tools in libtbx/introspection.py and libtbx/utils.py more robust and consistent across platforms.The functionality that is most relevant right now is the ability to get memory usage and the amount of available memory. For some cryo-EM tools, we would like to do this before trying to do certain tasks.
Thoughts and comments?