--- layout: default navsection: sdk navmenu: Python title: Examples ... In these examples, the site prefix is @aaaaa@. h2. Initialize SDK
import arvados
api = arvados.api("v1")
h2. create
result = api.collection().create(body={"collection": {"name": "create example"}}).execute()
h2. delete
result = api.collections().delete(uuid="aaaaa-4zz18-ccccccccccccccc").execute()
h2. get
result = api.collections().get(uuid="aaaaa-4zz18-ccccccccccccccc").execute()
h2. list
result = api.collections().list(filters=[["uuid", "=", "aaaaa-bbbbb-ccccccccccccccc"]]).execute()
h2. update
result = api.collections().update(uuid="aaaaa-4zz18-ccccccccccccccc", body={"collection": {"name": "update example"}}).execute()
h2. Get current user
result = api.users().current().execute()