itranvias_api 🚍
Python API wrapper for the city of A Coruña public transport ran by Cia. Tranvías de La Coruña, S.A..
📜 Documentation
Documentation can be found here.
For the time being there is only one submodule: itranvias_api.queryitr which implements all (that I know of) functionality in the official iTranvías client, using the "queryitr" API used by it, found at https://itranvias.com/queryitr_v3.php.
🔧 Installation
Just run:
pip install itranvias_api
🖥️ CLI client
I have written a very simple, very basic POC, CLI client using this library, it is avaliable as itranvias-cli once the package is installed.
Usage:
usage: itranvias-cli [-h] {stop,line} ...
Get real-time bus information for the city of A Coruña.
positional arguments:
{stop,line}
stop Get next buses for a specific stop.
line Get buses and stops 'diagram' for a specific line and route.
options:
-h, --help show this help message and exit
⚠️ Disclaimer
This project is not endorsed by, directly affiliated with, maintained by, sponsored by or in any way officially related with la Xunta de Galicia, Concello da Coruña, Cia. Tranvías de La Coruña, S.A., SISTEMAS OLTON, S.L. or any of the companies and entities involved in the official iTranvías app.
This software is provided 'as is' without any warranty of any kind. The user of this software assumes all responsibility and risk for its use. I shall not be liable for any damages or misuse of this software. Please use the code and information in this repo responsibly.
Metadata
Release files for itranvias-api 0.1.1
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 |
|---|---|---|---|---|
| itranvias_api-0.1.1.tar.gz | 23.7 kB | With provenance | Details for itranvias_api-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| itranvias_api-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for itranvias_api-0.1.1-py3-none-any.whl |
Total release size: 49.3 kB
Release files / itranvias_api-0.1.1.tar.gz
| Download URL | itranvias_api-0.1.1.tar.gz |
|---|---|
| Size | 23.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
754e7a7f6c9a1d9d6d111397020d266c0e562ae00b3c257369bb99910f649202
|
|
BLAKE2b-256 checksum How to use checksums |
222ac09177f7f82e92855db0b615370a472606eb499d822b9b3f96532646b213
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 22, 2025.
Transparency logRelease files / itranvias_api-0.1.1-py3-none-any.whl
| Download URL | itranvias_api-0.1.1-py3-none-any.whl |
|---|---|
| Size | 25.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b3568e315872377248403f4913a0a5141092277962f9d924acea9960eea5eed0
|
|
BLAKE2b-256 checksum How to use checksums |
2d2219138afdc452ce3c808e9f6cdd53164b25c61ed22c5c7a001668386adf22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 22, 2025.
Transparency logSecurity for itranvias-api 0.1.1
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for itranvias_api-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 22, 2025.
Transparency logA 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.