def get_projects(user):
    return list(Node.find_for_user(
        user,
        (
            Q('category', 'eq', 'project') &
            Q('is_registration', 'eq', False) &
            Q('is_deleted', 'eq', False) &
            Q('is_collection', 'eq', False)
        )
    ))
Return a list of user's projects, excluding registrations and folders.
dataset/ETHPy150Open CenterForOpenScience/osf.io/website/profile/utils.py/get_projects