RT Journal Article SR Electronic T1 Pynapple: a toolbox for data analysis in neuroscience JF bioRxiv FD Cold Spring Harbor Laboratory SP 2022.12.06.519376 DO 10.1101/2022.12.06.519376 A1 Guillaume Viejo A1 Daniel Levenstein A1 Sofia Skromne Carrasco A1 Dhruv Mehrotra A1 Sara Mahallati A1 Gilberto R Vite A1 Henry Denny A1 Lucas Sjulson A1 Francesco P Battaglia A1 Adrien Peyrache YR 2022 UL http://biorxiv.org/content/early/2022/12/07/2022.12.06.519376.abstract AB Datasets collected in neuroscientific studies are of ever-growing complexity, often combining high dimensional time series data from multiple data acquisition modalities. Handling and manipulating these various data streams in an adequate programming environment is crucial to ensure reliable analysis, and to facilitate sharing of reproducible analysis pipelines. Here, we present Pynapple, a lightweight python package designed to process a broad range of time-resolved data in systems neuroscience. The core feature of this package is a small number of versatile objects that support the manipulation of any data streams and task parameters. The package includes a set of methods to read common data formats and allows users to easily write their own. The resulting code is easy to read and write, avoids low-level data processing and other error-prone steps, and is fully open source. Libraries for higher-level analyses are developed within the Pynapple framework but are contained within in a collaborative repository of specialized and continuously updated analysis routines. This provides flexibility while ensuring long-term stability of the core package. In conclusion, Pynapple provides a common framework for data analysis in neuroscience.HighlightsAn open-source framework for data analysis in systems neuroscience.Easy-to-use object-oriented programming for data manipulation.A lightweight and standalone package ensuring long-term backward compatibility.Competing Interest StatementThe authors have declared no competing interest.