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).

IsVersioned()

Base class for versioned models.

CanValidate()

Base class providing Registry-based validation.

HasParents()

Base class for hierarchical registries (ontologies).

TracksRun()

Base class tracking latest run, creating user, and created_at timestamp.

TracksUpdates()

Base class tracking previous runs and updated_at timestamp.

InspectResult(validated_df, validated, ...)

Result of inspect.

fields

Fields.

Annotators:

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

Annotation flow for a DataFrame object.

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

Annotation flow for AnnData.

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

Annotation flow for a MuData object.

AnnotateLookup(categoricals[, 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.