rotifer.db.parallel#

Cursors that fetch data using parallel processes.

This module provides the transport layer used by most remote cursors: SimpleParallelProcessCursor splits the input identifiers into batches and downloads them concurrently with concurrent.futures.ProcessPoolExecutor, while GeneNeighborhoodCursor extends the same strategy to the genome-centric workflow of gene neighborhood retrieval.

Classes

GeneNeighborhoodCursor([column, before, ...])

Parallel transport for gene neighborhood cursors.

SimpleParallelProcessCursor([progress, ...])

Split input into batches and fetch data using parallel processes.