pyefa3
Python-Library for accessing online train connection APIs (Elektronische Fahrplanauskunft).
A list of supported regions can be found here.
Installation
Just install it from the Python Package Index:
pip install pyefa3
Usage
from pyefa.classes import Station
from pyefa.networks import DING
origin_station = Station()
origin_station.name = "Theater"
origin_station.place = "Ulm"
destination_station = Station()
destination_station.name = "Universität Süd"
destination_station.place = "Ulm"
efa_api = DING()
result = efa_api.tripRequest(origin_station, destination_station, apitype="xml")
print(result)
machine_readable = result.asdict()
Install from source
The Python-Modules beautifulsoup4 and colorama are required.
Just clone the repository and run:
python setup.py install
Documentation
Documentation is available via docstrings.
pydoc clifa
pydoc clifa.classes
# and so on
Metadata
Release files for pyefa3 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyefa3-0.2.3.tar.gz | 17.5 kB | Without provenance | Details for pyefa3-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyefa3-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for pyefa3-0.2.3-py3-none-any.whl |
Total release size: 35.8 kB
Release files / pyefa3-0.2.3.tar.gz
| Download URL | pyefa3-0.2.3.tar.gz |
|---|---|
| Size | 17.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56faae45a9edd0293d1f8a2c9cec5925d2e0f9faad5fa654db8e1645889e689c
|
|
BLAKE2b-256 checksum How to use checksums |
edf322ed1a64f719d9c2b4474e22ed0d458bfedb3623c21dc4dc9dc1296ed310
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.10
|
Release files / pyefa3-0.2.3-py3-none-any.whl
| Download URL | pyefa3-0.2.3-py3-none-any.whl |
|---|---|
| Size | 18.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
11d9e776437be46aa723f5251d8a26d7316d61b84acf0a70c5b58397feb21325
|
|
BLAKE2b-256 checksum How to use checksums |
14cf18ef3980f76f8bce7943fc96c819a110f85fd33c987874510f38fc16ce20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.10
|
Security for pyefa3 0.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.