Manage your TileDB Cloud Notebooks programmatically with the TileDB Cloud Python API
The TileDB Cloud Python API provides tools to access, manage, and share notebooks stored in the TileDB Cloud service.
Before accessing notebooks, you’ll need to log in to TileDB Cloud:
The TileDB Cloud Python API provides two ways to upload notebooks: you can provide a filename to upload, or you can provide the notebook’s contents as a string.
Likewise, notebooks can be downloaded and either saved as a file or kept as a string in memory:
Notebooks are stored as TileDB arrays, so sharing can be managed just like any other array.
Use array.list_shared_with
to see who has what kind of access to a notebook:
To share a notebook with another user, share the array. In most cases, you will want to provide a user or organization with read
or write
access to the array:
Use unshare_array
to revoke access (“unshare”) a notebook from a user or namespace:
To make a notebook public, share it with the special public
namespace:
To make a public notebook private again, revoke access from the public
namespace: