---
sidebar:
  hidden: true
title: roboto.formats
---
Decoding of topic data stored in MCAP and Parquet files, reading only the fields a caller selects.

[`FieldSelection`](/docs/reference/python-sdk/roboto/formats#roboto.formats.FieldSelection) names a field to read by its path through a file's schema. To read the selected fields from MCAP files, use [`mcap`](/docs/reference/python-sdk/roboto/formats/mcap); to read them from Parquet files, use [`parquet`](/docs/reference/python-sdk/roboto/formats/parquet). Methods such as [`get_data()`](/docs/reference/python-sdk/roboto/domain/topics#roboto.domain.topics.Topic.get_data) and [`get_data()`](/docs/reference/python-sdk/roboto/domain/topics#roboto.domain.topics.MessagePath.get_data) read topic data through this package, so most code never calls it.

## Submodules

- [roboto.formats.fields](/docs/reference/python-sdk/roboto/formats/fields)
- [roboto.formats.mcap](/docs/reference/python-sdk/roboto/formats/mcap)
- [roboto.formats.parquet](/docs/reference/python-sdk/roboto/formats/parquet)

## Package Contents

- [FieldSelection](/docs/reference/python-sdk/roboto/formats/fields#roboto.formats.fields.FieldSelection) (class): A field to read out of a data file, identified by its path through the file's schema.
