TWMetro
TWMetro is a Python library that provides an interface to access and retrieve status information about the Tyne and Wear Metro system in the UK.
Currently Supported Features
- Retrive a list of all Metro lines and their coordinate points
- Retrieve a list of all Metro stations
- Retrieve the status of all Metro trains
- Retrieve a list of all Metro incidents
Installation
You can install the TWMetro library using pip:
pip install TWMetro
Usage
from TWMetro import TWMetro
client = TWMetro("your_jwt_token_here")
# Get all Metro lines
lines = client.get_lines()
# Get all Metro stations
stations = client.get_metrostations()
# Get all Metro train status
trains = client.get_trainstatus()
# Get all Metro incidents
incidents = client.get_warnings()
# Get all metro lines
lines = client.get_metrolines()
Metadata
Release files for TWMetro 0.0.2
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 |
|---|---|---|---|---|
| twmetro-0.0.2.tar.gz | 30.7 kB | With provenance | Details for twmetro-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| twmetro-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for twmetro-0.0.2-py3-none-any.whl |
Total release size: 39.5 kB
Release files / twmetro-0.0.2.tar.gz
| Download URL | twmetro-0.0.2.tar.gz |
|---|---|
| Size | 30.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9333c6a485cd5102f44ee595f038a8ed8db7d2aa98ad91b8321dc9ce9f7b80c1
|
|
BLAKE2b-256 checksum How to use checksums |
774d509917a91df355eef1c95e75e458a36640626756838d24f718ca11282740
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Dec 17, 2025.
Transparency logRelease files / twmetro-0.0.2-py3-none-any.whl
| Download URL | twmetro-0.0.2-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4fbc61aa2de026544493ce8b1a39dd0590036e2e5827b476882c7f297816b297
|
|
BLAKE2b-256 checksum How to use checksums |
d239ac8f45c2842ec6b8d3515732ee646ee3f6144dba8fab35128ffe7330a617
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Dec 17, 2025.
Transparency logSecurity for TWMetro 0.0.2
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
Both files in this release have been uploaded with provenance metadata.
Attestation for twmetro-0.0.2.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 Dec 17, 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.