# srt: Parse SubRip files

srt is a tiny Python library for parsing, modifying, and composing SRT files.

# Documentation

- Quickstart
  - Parse an SRT to Python objects
  - Compose an SRT from Python objects
- API documentation
  - `SRTParseError`
  - `Subtitle`
  - `TimestampParseError`
  - `compose()`
  - `make_legal_content()`
  - `parse()`
  - `sort_and_reindex()`
  - `srt_timestamp_to_timedelta()`
  - `timedelta_to_srt_timestamp()`

# Indices and tables

- Index

- Search Page