h2. Initialize SDK
-<pre>
+{% codeblock as python %}
import arvados
api = arvados.api("v1")
-</pre>
+{% endcodeblock %}
h2. create
-<pre>
+{% codeblock as python %}
result = api.collections().create(body={"collection": {"name": "create example"}}).execute()
-</pre>
+{% endcodeblock %}
h2. delete
-<pre>
+{% codeblock as python %}
result = api.collections().delete(uuid="aaaaa-4zz18-ccccccccccccccc").execute()
-</pre>
+{% endcodeblock %}
h2. get
-<pre>
+{% codeblock as python %}
result = api.collections().get(uuid="aaaaa-4zz18-ccccccccccccccc").execute()
-</pre>
+{% endcodeblock %}
h2. list
-<pre>
+{% codeblock as python %}
result = api.collections().list(filters=[["uuid", "=", "aaaaa-bbbbb-ccccccccccccccc"]]).execute()
-</pre>
+{% endcodeblock %}
h2. update
-<pre>
+{% codeblock as python %}
result = api.collections().update(uuid="aaaaa-4zz18-ccccccccccccccc", body={"collection": {"name": "update example"}}).execute()
-</pre>
+{% endcodeblock %}
h2. Get current user
-<pre>
+{% codeblock as python %}
result = api.users().current().execute()
-</pre>
+{% endcodeblock %}