rds2py: R Serialization Formats in Python¶
rds2py is designed to parse, extract, and write R data formats (RDS and RData) directly in Python. It provides native, out-of-the-box integration with the BiocPy ecosystem, allowing seamless roundtripping of complex S4 datasets like SummarizedExperiment, SingleCellExperiment, and GenomicRanges.
This library is built on top of Aaron Lun’s rds2cpp library.
Installation¶
rds2py is available on PyPI:
pip install rds2py
To enable full conversion support for Bioconductor/BiocPy classes, consider installing the optional dependencies:
pip install rds2py[optional]