util

fabric.util.get_local_user()

Return the local executing username, or None if one can’t be found.

New in version 2.0.