lamindb.core

Core library.

Registries:

Record(*args, **kwargs)

Base class for metadata records.

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.

RecordsList(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)

Parameters with values akin to FeatureValue.

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.

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

storage

Storage API.

types

Types.

exceptions

Exceptions.

subsettings

Sub settings.

logger