pyrosbag - PyPI
https://pypi.org/project/pyrosbag09.01.2017 · ROS Bag Python Controller. Programmatically control ROS Bag files with Python. Also look at rosbag_pandas , also available on PyPI, for an good package which allows you to work with the data directly. Documentation: https://pyrosbag.readthedocs.io.