Skip to main content

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.

Metadata

Release files for pyhafas 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyhafas 0.6.1
File Size Uploaded
pyhafas-0.6.1.tar.gz 1.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyhafas 0.6.1
File Interpreter ABI Platform
pyhafas-0.6.1-py3-none-any.whl Python 3 none any Details

Total release size: 2.0 MB

Release files / pyhafas-0.6.1.tar.gz

Download URL pyhafas-0.6.1.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
a4c61c9685b3b1a62c1e329ee7f58c694e54778a74b209eb8072f1027029032f
BLAKE2b-256 checksum
How to use checksums
ae53a0c299eface3541bd6cd8c622b181f193acd9c0eceb1f38319ccc6808dec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.8

Release files / pyhafas-0.6.1-py3-none-any.whl

Download URL pyhafas-0.6.1-py3-none-any.whl
Size 47.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
993f19df4b02851a0b88c6ae4019f708e7858f9cafa151cec0976bc3a02b3d0d
BLAKE2b-256 checksum
How to use checksums
2d1b7e23953fd8db9eb19bafbb6273e546acfcf43d8ad33ec1f505f0c6e60153
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.8

Release history Release notifications | RSS feed

This release

0.6.1 This release

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page