🚀 Socket Launch Week 🚀 Day 1: Introducing .NET Support in Socket.Learn More
Socket
Sign inDemoInstall
Socket

pyhafas

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pyhafas

Python client for HAFAS public transport APIs

0.6.1
PyPI
Maintainers
2

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.

  • hafas-client – JavaScript client for the HAFAS API.
  • public-transport-enabler – Unleash public transport data in your Java project.
  • Friendly Public Transport Format – A format for APIs, libraries and datasets containing and working with public transport data.
  • db-hafas – JavaScript client for the DB HAFAS API.

Contributing

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts