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.0.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.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for python_opendata_transport-0.6.0.tar.gz
Algorithm Hash digest
SHA256 468477417b35215d8334c00e8e70dc8eaebb49aa2df3c9095421926931520b11
MD5 5bca37c6163dd3ac9b6558c079f12179
BLAKE2b-256 4630ad11e1966be787f8a1ad2ab1cab9fe6db33f3939fccea835bcecda8b4889

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_opendata_transport-0.6.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for python_opendata_transport-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc51e0bbf2b0b561c5e5fa60fdca953bca3bf284d612b682fe1bee167d97aa55
MD5 295009467459d69548e06762ca05f0a3
BLAKE2b-256 93c91f77f97d1ae208c679ee0f6663f0a14fef23133c54e43db85bd5f0b88545

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_opendata_transport-0.6.0-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