File: README.rst

package info (click to toggle)
python-opendata-transport 0.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 112 kB
  • sloc: python: 320; makefile: 7
file content (41 lines) | stat: -rw-r--r-- 1,147 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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 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.