def all_databases(client, exclude=['local']):
	"""
	Yield all databases except excluded (default
	excludes 'local').
	"""
	return (
		client[db_name]
		for db_name in client.list_database_names()
		if db_name not in exclude
	)