lamindb.core

Core library.

Registries:

Record(*args, **kwargs)

Metadata record.

BasicRecord(*args, **kwargs)

Basic metadata record.

Registry(name, bases, attrs, **kwargs)

Metaclass for Record.

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

Sets of records returned by queries.

QueryManager(*args, **kwargs)

Manage queries through fields.

RecordList(records)

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

FeatureManager(host)

Feature manager.

ParamManager(host)

Param manager.

LabelManager(host)

Label manager.

IsVersioned()

Base class for versioned models.

CanCurate()

Base class providing Record-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.

ParamValue(*args, **kwargs)

Parameter values.

FeatureValue()

Non-categorical features values.

InspectResult(validated_df, validated, ...)

Result of inspect.

ValidateFields()

fields

Fields.

Curators:

BaseCurator()

Curate a dataset.

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

Curation flow for a DataFrame object.

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

Curation flow for AnnData.

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

Curation flow for a MuData object.

SOMACurator(experiment_uri, var_index[, ...])

Curation flow for tiledbsoma.

CurateLookup(categoricals[, slots, ...])

Lookup categories from the reference instance.

Settings & context:

Settings(git_repo)

Settings.

Context()

Run context.

Data loaders:

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

Map-style collection for use in data loaders.

Modules:

loaders

Loaders in lamindb.Artifact.load.

datasets

Test datasets.

storage

Storage API.

exceptions

Exceptions.

subsettings

Sub settings.

logger