Skip to main content
pipeline status coverage report

Rosbags-dataframe

Rosbags-dataframe a python library to ease the create of pandas dataframes from rosbag messages. It is part of the larger Rosbags ecosystem.

Rosbags-dataframe does not have any dependencies on the ROS software stacks and can be used on its own or alongside ROS1 or ROS2.

Getting started

Rosbags-dataframe is published on PyPI and does not have any special dependencies. Simply install with pip:

pip install rosbags-dataframe

Get a dataframe from a rosbag:

from pathlib import Path

from rosbags.dataframe import get_dataframe
from rosbags.highlevel import AnyReader

with AnyReader([Path('test1.bag'), Path('test2.bag')]) as reader:
    dataframe = get_dataframe(reader, '/gps', ['latitude', 'longitude'])

Documentation

Read the documentation for further information.

Contributing

Thank you for considering to contribute to rosbags-dataframe.

To submit issues or create merge requests please follow the instructions provided in the contribution guide.

By contributing to rosbags-dataframe you accept and agree to the terms and conditions laid out in there.

Development

Clone the repository and setup your local checkout:

git clone https://gitlab.com/ternaris/rosbags-dataframe.git

cd rosbags-dataframe
python -m venv venv
. venv/bin/activate

pip install -r requirements-dev.txt
pip install -e .

This creates a new virtual environment with the necessary python dependencies and installs rosbags-dataframe in editable mode. The rosbags-dataframe code base uses pytest as its test runner, run the test suite by simply invoking:

pytest

To build the documentation from its source run sphinx-build:

sphinx-build -a docs public

The entry point to the local documentation build should be available under public/index.html.

Support

Professional support is available from Ternaris.

Metadata

Release files for rosbags-dataframe 0.10.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rosbags-dataframe 0.10.2
File Size Uploaded
rosbags_dataframe-0.10.2.tar.gz 167.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rosbags-dataframe 0.10.2
File Interpreter ABI Platform
rosbags_dataframe-0.10.2-py3-none-any.whl Python 3 none any Details

Total release size: 175.9 kB

Release files / rosbags_dataframe-0.10.2.tar.gz

Download URL rosbags_dataframe-0.10.2.tar.gz
Size 167.5 kB
Tags Source
SHA-256 checksum
How to use checksums
44cd748119a5398fe77076254665c9ec1ed4b23550e8682c76d4c3b8c9a2c26e
BLAKE2b-256 checksum
How to use checksums
2e5a5232eb34a9339de1b64e63825478077bd6d21f4e258d1987255ba0c6b66a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / rosbags_dataframe-0.10.2-py3-none-any.whl

Download URL rosbags_dataframe-0.10.2-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2c3b1ef1701a06fad15f759f2c823460649b19f67676622541cddcf163c4c37c
BLAKE2b-256 checksum
How to use checksums
f3b4278848132e27dea2f9d10b101e2ace798019817665bf0521a7cbdc956f26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.10.2 This release

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.1

2 release files

0.9.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page