Python API for interacting with transport.opendata.ch.
Project description
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 Supercacher Package Index.
$ pip3 install python_opendata_transport
On a Fedora-based system or on a CentOS/RHEL 8 machine with has EPEL enabled.
$ 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.
$ nix-env -iA nixos.python39Packages.python-opendata-transport
Usage
The file example.py contains an example about how to use this module.
Development
For development is recommended to use a venv.
$ python3 -m venv .
$ source bin/activate
$ python3 setup.py develop
License
python-opendata-transport is licensed under MIT, for more details check LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for python_opendata_transport-0.2.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67454790a607a706c1c3016b32d039251cb49bb7f4e7ae888c29868b3a0a128a |
|
MD5 | a95f7a926378e8466f927919ddfa8858 |
|
BLAKE2b-256 | 598c83ba0a03440291f02a5949566fb83b4c0bdd503c521c5d7d7e8cc57d2f97 |
Hashes for python_opendata_transport-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35ffb52377d652b10617470fa1174142eb7a367d2d641eb9e99f1e077b8047e0 |
|
MD5 | c19c37d30e49d39e7a54ec21b0c920ac |
|
BLAKE2b-256 | 0cc985746456b6ebb8a3d3cb839bf986ecbffa9cd2c87c48bb6ebe6729e985fe |