18800: Add docstring to arvados.__init__ 19830-pysdk-util-docs
authorBrett Smith <brett.smith@curii.com>
Mon, 20 Nov 2023 21:31:17 +0000 (16:31 -0500)
committerBrett Smith <brett.smith@curii.com>
Tue, 21 Nov 2023 13:23:46 +0000 (08:23 -0500)
This is mostly intended to help orient people reading the web
documentation.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

sdk/python/arvados/__init__.py

index 8a7a151ee0d6f63170cf0ce880de3c3e56a573ba..e90f3812982063cf078e2804cc28931121378709 100644 (file)
@@ -1,6 +1,23 @@
 # Copyright (C) The Arvados Authors. All rights reserved.
 #
 # SPDX-License-Identifier: Apache-2.0
+"""Arvados Python SDK
+
+This module provides the entire Python SDK for Arvados. The most useful modules
+include:
+
+* arvados.api - After you `import arvados`, you can call `arvados.api.api` as
+  `arvados.api` to construct a client object.
+
+* arvados.collection - The `arvados.collection.Collection` class provides a
+  high-level interface to read and write collections. It coordinates sending
+  data to and from Keep, and synchronizing updates with the collection object.
+
+* arvados.util - Utility functions to use mostly in conjunction with the API
+  client object and the results it returns.
+
+Other submodules provide lower-level functionality.
+"""
 
 import logging as stdliblog
 import os