lamindb.core.storage

Storage API.

Valid suffixes.

lamindb.core.storage.VALID_SUFFIXES = <class 'lamindb.core.storage._valid_suffixes.VALID_SUFFIXES'>

Valid suffixes. .. autoattribute:: COMPOSITE .. autoattribute:: SIMPLE

Array accessors.

class lamindb.core.storage.AnnDataAccessor(connection, storage, filename, artifact=None)

Cloud-backed AnnData.

Attributes

property closed
property obs_names
property var_names

Methods

close()

Closes the connection.

add_column(where, col_name, col)

Add a new column to .obs or .var of the underlying AnnData object.

to_dict()
to_memory()
class lamindb.core.storage.SpatialDataAccessor(storage, name, artifact=None)

Cloud-backed SpatialData.

For now only allows to access tables.

class lamindb.core.storage.BackedAccessor(connection, storage)

h5py.File or zarr.Group accessor.