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 latest releases might only be present in the unstable channel.

$ 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.

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_opendata_transport-0.6.2-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for python_opendata_transport-0.6.2.tar.gz
Algorithm Hash digest
SHA256 6631dbf85a52d68c90fe287159276a300ca979ab0865db75aa66d4d4c2023711
MD5 8c00b8a9abbede2f1a771636f1c99a13
BLAKE2b-256 1163ebbf428967ea9278e5a3e997f6efb31f8284d315fe7ea2c1f382eb2322bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_opendata_transport-0.6.2.tar.gz:

Publisher: publish-to-pypi.yml on home-assistant-ecosystem/python-opendata-transport

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for python_opendata_transport-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d2c9816753d5fdec57fe9da0a45d054bb2571a6705fb86b3752cc701bc48cf8e
MD5 e61fd7d747628ef8e321c20ede6b54cd
BLAKE2b-256 395475a2ad783263dd44fb50b50d2e0636b756477c64101ff3eca487aecaa235

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_opendata_transport-0.6.2-py3-none-any.whl:

Publisher: publish-to-pypi.yml on home-assistant-ecosystem/python-opendata-transport

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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