Skip to main content

Python client for HAFAS public transport APIs

Project description

pyHaFAS

A python client for HaFAS public transport APIs.

#pyhafas on matrix.org

Installation

You only need to install the pyhafas package, for example using pip:

$ pip install pyhafas

That’s it!

Development setup

For development is recommended to use a venv.

$ python3 -m venv .venv
$ source .venv/bin/activate
$ python setup.py develop

Background

There's a company called HaCon that sells a public transport management system called HAFAS. It is used by companies all over Europe to serve routing and departure information for apps. All those endpoints are similar, with the same terms and API routes, but have slightly different options, filters and sets of enabled features.

Related

Contributing

If you have a question, found a bug or want to propose a feature, have a look at the issues page.

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

pyhafas-0.6.1.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

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

pyhafas-0.6.1-py3-none-any.whl (47.3 kB view details)

Uploaded Python 3

File details

Details for the file pyhafas-0.6.1.tar.gz.

File metadata

  • Download URL: pyhafas-0.6.1.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.8

File hashes

Hashes for pyhafas-0.6.1.tar.gz
Algorithm Hash digest
SHA256 a4c61c9685b3b1a62c1e329ee7f58c694e54778a74b209eb8072f1027029032f
MD5 628021da844b83f57212cb41a64ed5d1
BLAKE2b-256 ae53a0c299eface3541bd6cd8c622b181f193acd9c0eceb1f38319ccc6808dec

See more details on using hashes here.

File details

Details for the file pyhafas-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: pyhafas-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 47.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.8

File hashes

Hashes for pyhafas-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 993f19df4b02851a0b88c6ae4019f708e7858f9cafa151cec0976bc3a02b3d0d
MD5 070e24b83a3cf6d178cafe8275177987
BLAKE2b-256 2d1b7e23953fd8db9eb19bafbb6273e546acfcf43d8ad33ec1f505f0c6e60153

See more details on using hashes here.

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