Python MCAP Ros1 support
This package provides ROS1 support for the Python MCAP file format reader & writer.
Installation
You can install directly via pip.
pip install mcap-ros1-support
Reading ROS1 Messages
# Reading from a MCAP file
from mcap_ros1.reader import read_ros1_messages
for msg in read_ros1_messages("my_data.mcap"):
print(f"{msg.topic}: f{msg.ros_msg}")
Writing ROS1 Messages
from mcap_ros1.writer import Writer as Ros1Writer
from std_msgs.msg import String
output = open("example.mcap", "w+b")
ros_writer = Ros1Writer(output=output)
for i in range(0, 10):
ros_writer.write_message("chatter", String(data=f"string message {i}"))
ros_writer.finish()
Stay in touch
Join our Discord community to ask questions, share feedback, and stay up to date on what our team is working on.
Release files for mcap-ros1-support 0.7.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mcap_ros1_support-0.7.4.tar.gz | 46.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcap_ros1_support-0.7.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 114.4 kB
Release files / mcap_ros1_support-0.7.4.tar.gz
| Download URL | mcap_ros1_support-0.7.4.tar.gz |
|---|---|
| Size | 46.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cbbc4fb7b34af4ada77eacb941e1e6c52202c629dc9313d4a10582a3862ebdbf
|
|
BLAKE2b-256 checksum How to use checksums |
996af74fff43709c494c74c3d2d80733854492a296320401304f47ab9ecad4f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 24, 2025.
Transparency logRelease files / mcap_ros1_support-0.7.4-py3-none-any.whl
| Download URL | mcap_ros1_support-0.7.4-py3-none-any.whl |
|---|---|
| Size | 68.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
88756b6a00e84523efd3026d51c70acc0ca1de5b336e3d112a6811b2d73b4702
|
|
BLAKE2b-256 checksum How to use checksums |
dc66ddca7c357847b643df18360a564bcdefe7f80a43eda207347a142260f4fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 24, 2025.
Transparency log