Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/home-assistant-ecosystem/python-opendata-transport
Python client for interacting with transport.opendata.ch
https://github.com/home-assistant-ecosystem/python-opendata-transport
home-assistant iot public-transportation smart-home switzerland
Last synced: 8 days ago
JSON representation
Python client for interacting with transport.opendata.ch
- Host: GitHub
- URL: https://github.com/home-assistant-ecosystem/python-opendata-transport
- Owner: home-assistant-ecosystem
- License: mit
- Created: 2017-08-21T14:20:48.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-09-28T22:18:52.000Z (about 1 month ago)
- Last Synced: 2024-10-21T04:51:05.342Z (17 days ago)
- Topics: home-assistant, iot, public-transportation, smart-home, switzerland
- Language: Python
- Homepage:
- Size: 93.8 KB
- Stars: 11
- Watchers: 3
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.txt
- License: LICENSE
Awesome Lists containing this project
README
python-opendata-transport
=========================A Python client for interacting with `transport.opendata.ch `_.
This module is the base for the integration into `Home Assistant `_
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 `_.
.. 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 lastest 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.