skillfed

PyRMVtransport

Python library to make use of transport information from opendata.rmv.de.

pyrmvtransport v0.3.3 73.7K downloads/30d#14,934 on PyPI12
Permissive license MIT DORMANT released

What it is and what it does

PyRMVtransport is an async Python client for querying departure data from the RMV public transit network in Germany. It wraps the opendata.rmv.de API, allowing you to fetch departures for a given station, filter by transport type, and limit result counts. The library uses httpx for async HTTP requests and lxml for parsing, making it suitable for integration into async applications that need transit information.

The package is dormant—its last release was in November 2021 and the repository shows no recent activity. While it has low install friction and no known vulnerabilities, its reliance on an external data source and lack of recent maintenance mean you should verify that the API contract has not changed before deploying to production.

Use it for:

  • Build a real-time departure board for a specific RMV station in a web or desktop application.
  • Integrate live transit data into a travel planning tool for the Rhein-Main region.
  • Monitor and log departures for a station over time to analyze schedule patterns.
  • Create alerts or notifications when specific transport lines depart from a station.
  • Populate a transit dashboard with current RMV schedule information.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Queries real-time and scheduled transport departure data from the RMV public transit network in Germany via async HTTP calls.

Yes, if you are building a tool for the RMV network and can verify that the opendata.rmv.de API remains unchanged. The low install friction, permissive MIT license, and lack of known vulnerabilities make it a reasonable choice. However, the dormant maintenance status and gap since the last release mean you should test thoroughly against the live API and be prepared to fork or patch if the data source has evolved.

Install

pyrmvtransport on PyPI

pip

pip install pyrmvtransport

uv

uv add pyrmvtransport

poetry

poetry add pyrmvtransport

Installing PyRMVtransport

Before you install

Low install friction with pure-Python wheels and minimal dependencies. Dormant since November 2021 with no commits in nearly two years; relies on an external data source whose stability is outside the package's control.

License in practice

MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute this code freely provided you retain the license notice.

Quickstart

pip install PyRMVtransport

import asyncio
from PyRMVtransport import RMVtransport

async def main():
    rmv = RMVtransport()
    data = await rmv.get_departures(station_id="3006907", max_journeys=5)
    print(data)

asyncio.run(main())

Requires Python >=3.7; opendata.rmv.de must be accessible and operational.

Verify before relying

  • Whether the opendata.rmv.de API remains stable and unchanged since the last release in 2021.
  • Compatibility with modern versions of httpx and lxml given the dormant maintenance status.
  • Whether station IDs and product codes remain valid in the current RMV system.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.7)
Install friction low — pure-Python wheel
Runtime dependencies 3 — async-timeout, lxml, httpx
Maintenance dormant — 1,743 days since the last release
Last repo commit
First released
Downloads 73,745/month — #14,934 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: PyRMVtransport-0.3.3-py3-none-any.whl

License :: OSI Approved :: MIT License

Tags

rmv transit departuresgerman public transport apirhein-main verkehrsverbund dataasync bus train scheduleopendata.rmv.de client
transit-dataasync-http

More Internet packages