Skip to main content

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 Python 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_opendata_transport-0.2.2.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file python_opendata_transport-0.2.2.tar.gz.

File metadata

  • Download URL: python_opendata_transport-0.2.2.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.2

File hashes

Hashes for python_opendata_transport-0.2.2.tar.gz
Algorithm Hash digest
SHA256 67454790a607a706c1c3016b32d039251cb49bb7f4e7ae888c29868b3a0a128a
MD5 a95f7a926378e8466f927919ddfa8858
BLAKE2b-256 598c83ba0a03440291f02a5949566fb83b4c0bdd503c521c5d7d7e8cc57d2f97

See more details on using hashes here.

File details

Details for the file python_opendata_transport-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: python_opendata_transport-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.2

File hashes

Hashes for python_opendata_transport-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 35ffb52377d652b10617470fa1174142eb7a367d2d641eb9e99f1e077b8047e0
MD5 c19c37d30e49d39e7a54ec21b0c920ac
BLAKE2b-256 0cc985746456b6ebb8a3d3cb839bf986ecbffa9cd2c87c48bb6ebe6729e985fe

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page