Skip to main content

PyDublinBus

Python Interface for the Dublin Bus RTPI API.

Example usage

Time table:

>>> from pydublinbus import DublinBusRTPI
>>> mybus=DublinBusRTPI(stopid='312')
>>> mybus.bus_timetable()
[{'due_in': '6', 'route': '26'},
 {'due_in': '8', 'route': '25B'},
 {'due_in': '15', 'route': '67'},
 {'due_in': '22', 'route': '66B'},
 {'due_in': '23', 'route': '25A'},
 {'due_in': '31', 'route': '66A'},
 {'due_in': '38', 'route': '25B'},
 {'due_in': '39', 'route': '66'},
 {'due_in': '41', 'route': '26'},
 {'due_in': '41', 'route': '25'},
 {'due_in': '45', 'route': '67'},
 {'due_in': '46', 'route': '25A'}]

Time table filtered by route

>>> from pydublinbus import DublinBusRTPI
>>> mybus=DublinBusRTPI(stopid='312', route='25A')
>>> from pprint import pprint
>>> mybus.bus_timetable()
[{'due_in': '20', 'route': '25A'},
 {'due_in': '43', 'route': '25A'}]

Raw json data:

>>> from pydublinbus import DublinBusRTPI
>>> mybus=DublinBusRTPI(stopid='312')
>>> mybus.get_rtpi_data()

Metadata

Release files for pydublinbus 0.0.4

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

Source distribution (sdist)

Source distribution for pydublinbus 0.0.4
File Size Uploaded Provenance Actions
pydublinbus-0.0.4.tar.gz 2.4 kB Without provenance Details for pydublinbus-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pydublinbus 0.0.4
File Interpreter ABI Platform Actions
pydublinbus-0.0.4-py3-none-any.whl Python 3 none any Details for pydublinbus-0.0.4-py3-none-any.whl

Total release size: 5.9 kB

Release files / pydublinbus-0.0.4.tar.gz

Download URL pydublinbus-0.0.4.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ac1f87fef117750d0a935fc94a3b00be336551bb32d1f57090ffcbdc7be645d5
BLAKE2b-256 checksum
How to use checksums
12e09b0ab1c69e61b68f36bb76b913b07899b5f29d85c8980aedc988b8b92e4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.3

Release files / pydublinbus-0.0.4-py3-none-any.whl

Download URL pydublinbus-0.0.4-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
67b9682cd21aa967166f00d8690165b30b3665f5f400237fad7d9c91c7b46436
BLAKE2b-256 checksum
How to use checksums
e5bfc63167f7db9b5c1f188287deee231259ba42e614cb520fb3b2fe069081df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.3

Security for pydublinbus 0.0.4

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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