pyhafas

Python client for HAFAS public transport APIs


License
MIT
Install
pip install pyhafas==0.3.0

Documentation

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.