Coffeepy prevents the system from sleeping
Prevent your computer from sleeping
Monitor system stats and prevent system sleep when significant activity is detected.
Python module to prevent macOS system sleep using the caffeinate(1) command
Prevent sleep/suspend when there are (active) SSH or NFS clients.
Caffeination makes sure your computer does not go to sleep.