tiledbsoma 2.1.0


pip install tiledbsoma

  Latest version

Released: Oct 17, 2025

Project Links

Meta
Author: TileDB, Inc.
Maintainer: TileDB, Inc.
Requires Python: >=3.9

Classifiers

Intended Audience
  • Developers
  • Information Technology
  • Science/Research

Topic
  • Scientific/Engineering :: Bio-Informatics

Operating System
  • Unix
  • POSIX :: Linux
  • MacOS :: MacOS X
  • Microsoft :: Windows

Programming Language
  • Python
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13

Overview

This is a Python implementation of the SOMA API specification for interacting with the Unified Single-cell Data Model.

Installation

TileDB-SOMA is available on PyPI and Conda, and can be installed via pip or mamba as indicated below.

python -m pip install tiledbsoma
mamba install -c conda-forge -c tiledb tiledbsoma-py

To install a specific version:

$ python -m pip install git+https://github.com/single-cell-data/TileDB-SOMA.git@0.0.6#subdirectory=apis/python

To update to the latest version:

$ python -m pip install --upgrade tiledbsoma

In case of illegal instruction errors when running on older architectures --- e.g. Opteron, non-AVX2 --- the issue is that the pre-compiled binaries available at Conda or PyPI aren't targeted for all processor variants over time. You can install from source, as shown below.

To see if this is the issue, on Linux:

grep avx2 /proc/cpuinfo

If this comes up empty for your system, you'll definitely need to build from source to run TileDB-SOMA on that system.

From source

  • Clone this repo
  • cd into your checkout and then cd apis/python
  • python -m pip install .
  • Or, if you wish to modify the code and run it, python -m pip install -v -e .
  • If the TileDB and TileDB-SOMA libraries are locally installed to a custom directory, such as /usr/local, set the path with environment variables TILEDB_PATH and TILEDBSOMA_PATH, TILEDB_PATH=/usr/local python -m pip install -v -e .
  • Optionally, if you prefer, you can run that inside venv:
    $ python -m venv venv
    $ . ./venv/bin/activate
    $ python -m pip install -v -e .
    
  • In either case:
    make data
    python -m pytest tests
    
  • A note about the spdlog package: If you encounter an install-time error like fatal error: spdlog/spdlog.h: No such file or directory you should additionally recursively remove /usr/local/lib/cmake/spdlog , since the system uninstall of spdlog fails to remove this properly.

Status

Please see https://github.com/single-cell-data/TileDB-SOMA/issues.

platform_config format

When accessing SOMA APIs, TileDB-specific settings can be configured with the platform_config parameter. The options accepted by TileDB SOMA are described here, using TypeScript interface syntax:

interface PlatformConfig {
  tiledb?: TDBConfig;
}

interface TDBConfig {
  create?: TDBCreateOptions;
}

interface TDBCreateOptions {
  dims?: { [dim: string]: TDBDimension };
  attrs?: { [attr: string]: TDBAttr };
  allows_duplicates?: bool;

  offsets_filters?: TDBFilter[];
  validity_filters?: TDBFilter[];

  capacity?: number;
  cell_order?: string;
  tile_order?: string;
}

interface TDBDimension {
  filters?: TDBFilter[];
  tile?: number;
}

interface TDBAttr {
  filters?: TDBFilter[];
}

/**
 * Either the name of a filter (in which case it will use
 * the default arguments) or a specification with filter args.
 */
type TDBFilter = string | TDBFilterSpec;

interface TDBFilterSpec {
  /** The name of the filter. */
  _name: string;
  /** kwargs that are passed when constructing the filter. */
  [kwarg: string]: any;
}

Information for developers

Please see the TileDB-SOMA wiki.

2.1.0 Oct 17, 2025
2.1.0rc0 Oct 16, 2025
2.0.0 Oct 06, 2025
2.0.0rc1 Oct 06, 2025
2.0.0rc0 Sep 27, 2025
1.17.1 Jul 28, 2025
1.17.0 May 21, 2025
1.17.0rc0 May 16, 2025
1.16.2 Apr 28, 2025
1.16.2rc2 Apr 25, 2025
1.16.2rc1 Apr 23, 2025
1.16.2rc0 Apr 12, 2025
1.16.1 Mar 18, 2025
1.16.0 Mar 10, 2025
1.16.0rc0 Feb 21, 2025
1.15.7 Feb 05, 2025
1.15.6 Feb 03, 2025
1.15.5 Jan 24, 2025
1.15.4 Jan 22, 2025
1.15.3 Jan 10, 2025
1.15.2 Dec 20, 2024
1.15.1 Dec 19, 2024
1.15.0 Dec 17, 2024
1.15.0rc4 Nov 22, 2024
1.15.0rc3 Oct 30, 2024
1.15.0rc2 Oct 07, 2024
1.15.0rc1 Oct 05, 2024
1.15.0rc0 Oct 04, 2024
1.14.5 Oct 23, 2024
1.14.4 Oct 22, 2024
1.14.3 Oct 08, 2024
1.14.2 Sep 26, 2024
1.14.2rc0 Sep 26, 2024
1.14.1 Sep 18, 2024
1.14.0 Sep 17, 2024
1.13.1 Aug 16, 2024
1.13.0 Aug 06, 2024
1.12.3 Jul 08, 2024
1.12.2 Jul 04, 2024
1.12.1 Jun 23, 2024
1.12.0 Jun 17, 2024
1.11.4 Jun 03, 2024
1.10.2 Apr 29, 2024
1.9.5 Apr 11, 2024
1.8.1 Mar 19, 2024
1.7.3 Mar 07, 2024
1.6.2 Jan 10, 2024
1.5.3 Jan 09, 2024
1.4.4 Oct 18, 2023
1.3.0 Jul 18, 2023
1.2.5 May 30, 2023
1.1.1 Mar 16, 2023
1.0.1 Mar 21, 2023
1.0.0 Mar 13, 2023
0.1.22 Jan 17, 2023
0.1.21 Jan 12, 2023
0.1.20 Jan 12, 2023
0.1.19 Dec 19, 2022
0.1.18 Nov 18, 2022
0.1.17 Nov 16, 2022
0.1.16 Nov 10, 2022
0.1.15 Nov 10, 2022
0.1.14 Nov 04, 2022
0.1.13 Nov 03, 2022
Extras:
Dependencies:
anndata (>=0.10.1)
attrs (>=22.2)
more-itertools
numpy
pandas
pyarrow
scanpy (>=1.9.2)
scipy
somacore (==1.0.29)
typing-extensions (>=4.5.0)