See also
Require a PostgreSQL server to be installed and running.
from fabtools import require
require.postgres.server()
Require the existence of a PostgreSQL user. The password and options provided will only be applied when creating a new user (existing users will not be modified).
from fabtools import require
require.postgres.user('dbuser', password='somerandomstring')
require.postgres.user('dbuser2', password='s3cr3t',
createdb=True, create_role=True, connection_limit=20)