lamindb.core#

Core library.

Registries:

Registry(*args, **kwargs)

Registry base class.

QuerySet([model, query, using, hints])

Sets of records returned by queries.

QueryManager(*args, **kwargs)

Manage queries through fields.

RecordsList(records)

Is ordered, can't be queried, but has .df().

Data()

Base class for Artifact & Collection.

FeatureManager(host)

Feature manager (features).

LabelManager(host)

Label manager (labels).

IsTree()

Base class providing view_tree function.

IsVersioned()

Base class for versioned models.

CanValidate()

Base class providing Registry-based validation.

HasParents()

Base class for hierarchical methods.

InspectResult(validated_df, validated, ...)

Result of inspect.

fields

Fields.

Annotators:

DataFrameAnnotator(df[, columns, ...])

Annotation flow for a DataFrame object.

AnnDataAnnotator(adata, var_index[, ...])

Annotation flow for an AnnData object.

MuDataAnnotator(mdata, var_index[, ...])

Annotation flow for a MuData object.

AnnotateLookup(categorials[, slots, using])

Lookup categories from the reference instance.

Classes:

Settings(git_repo)

Settings.

MappedCollection(path_list[, layers_keys, ...])

Map-style collection for use in data loaders.

run_context()

Global run context.

Modules:

datasets

Test collections.

storage

Storage tools.

types

Types.

exceptions

Exceptions.