Metadata-Version: 2.4
Name: python_opendata_transport
Version: 0.6.2
Summary: Python API for interacting with transport.opendata.ch.
Project-URL: Homepage, https://github.com/home-assistant-ecosystem/python-opendata-transport
Project-URL: Download URL, https://github.com/home-assistant-ecosystem/python-opendata-transport/releases
Author-email: Fabian Affolter <fabian@affolter-engineering.ch>
License: MIT
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Utilities
Requires-Python: >=3.13
Requires-Dist: aiohttp<4,>=3.8.5
Requires-Dist: urllib3
Provides-Extra: test
Requires-Dist: pytest-asyncio>=0.21; extra == 'test'
Requires-Dist: pytest>=9; extra == 'test'
Description-Content-Type: text/x-rst

python-opendata-transport
=========================

A Python client for interacting with `transport.opendata.ch <http://transport.opendata.ch/>`_.

This module is the base for the integration into `Home Assistant <https://home-assistant.io>`_
and is simply retrieving the details about a given connection between two stations.

This module is not official, developed, supported or endorsed by opendata.ch.

Installation
------------

The module is available from the `Python Package Index <https://pypi.python.org/pypi>`_.

.. code:: bash

    $ pip3 install python_opendata_transport

On a Fedora-based system or on a CentOS/RHEL 8 machine with has EPEL enabled.

.. code:: bash

    $ sudo dnf -y install python3-opendata-transport

For Nix or NixOS users is a package available. Keep in mind that the latest releases might only
be present in the ``unstable`` channel.

.. code:: bash

    $ nix-env -iA nixos.python3Packages.python-opendata-transport

Usage
-----

The file ``example.py`` contains an example about how to use this module.

License
-------

``python-opendata-transport`` is licensed under MIT, for more details check LICENSE.
