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.

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.3.0.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: python_opendata_transport-0.3.0.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.10.0

File hashes

Hashes for python_opendata_transport-0.3.0.tar.gz
Algorithm Hash digest
SHA256 0a9ccc329d82dd43a25276bd11c52e703fcf2afec066591a53c4097d69eda22f
MD5 af278a62d9207b916fef12193b0a7817
BLAKE2b-256 1a639e155e494e8b3d0ad061ec4fe93553a82ef141bf0775378ef6254130da18

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_opendata_transport-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.10.0

File hashes

Hashes for python_opendata_transport-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 97ecad625d40a1b34876aa5af1221cc6a41ae940778b4482f1bf362e66878a0f
MD5 c07bddf7294c9e3232777d178d5bab57
BLAKE2b-256 2f2b83bf2056f392fdfc23e4172576c4bb903b0a3fb44a6466d75a778dab90d0

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