home-tcl-dashboard
Un tableau de bord mural des prochains départs TCL (transports en commun de Lyon) pour les arrêts que vous utilisez, servi par un serveur à la maison et affiché en plein écran sur une tablette.
Essayer la démo, sans rien installer : des horaires enregistrés un soir de semaine, rejoués en direct, et des favoris gardés dans votre navigateur.
- Accueil : jusqu'à 6 arrêts favoris, avec les comptes à rebours, en temps réel ou d'après l'horaire prévu, et un bandeau pour les alertes trafic sur vos lignes.
- Détail d'un arrêt : les prochains départs et les arrêts suivants de la ligne.
- Alertes : les alertes trafic sur vos lignes, ou sur tout le réseau.
- Gérer mes arrêts : ajouter, réordonner et retirer des favoris, depuis n'importe quel appareil du réseau. Les favoris sont partagés : une seule liste pour toute la maison.
- Parcourir : n'importe quelle ligne sur une carte, avec les départs de chacun de ses arrêts.
Le métro et le funiculaire n'ont pas de temps réel : leurs départs viennent de l'horaire GTFS. Les trams et les bus utilisent le temps réel.
| Détail d'un arrêt | Parcourir les lignes |
|---|---|
| Thème nuit, de 20h à 7h | Sur un téléphone |
Prérequis
- Python 3.14 ou plus récent.
- Un compte gratuit data.grandlyon.com avec accès aux jeux de données TCL (le temps réel et les alertes demandent un identifiant).
Installation
Avec pip, depuis PyPI :
pip install home-tcl-dashboard
Dans le dossier d'où vous lancerez le serveur, créez un fichier .env avec
vos identifiants Grand Lyon :
GDL_USER=votre-identifiant
GDL_PWD=votre-mot-de-passe
Puis lancez :
home-tcl-dashboard # http://localhost:8000, sur toutes les interfaces
Le serveur range ses données dans data/, dans le dossier courant, ou dans
le dossier donné par la variable d'environnement TCL_DATA_DIR :
| Fichier | Contenu |
|---|---|
data/GTFS_TCL.ZIP |
l'horaire (~24 Mo), téléchargé une fois par jour |
data/pictos/ |
les pictogrammes officiels des lignes, téléchargés une fois |
data/favourites.json |
les arrêts favoris |
Le premier démarrage télécharge l'horaire et les pictogrammes, il prend donc un moment. Si Grand Lyon est en panne ensuite, le serveur continue avec ce qu'il a déjà.
Ouvrez ensuite http://<serveur>:8000 sur n'importe quel appareil du
réseau. Sur une tablette ou un téléphone, « Ajouter à l'écran d'accueil »
l'ouvre en plein écran, comme une application. L'affichage s'adapte à la
taille de l'écran et passe en thème nuit de 20h à 7h.
Crédits
- Données : SYTRAL Mobilités, via data.grandlyon.com.
- Cartes : Leaflet et les contributeurs d'OpenStreetMap.
- Police : Inter, licence SIL Open Font License
(
static/fonts/OFL.txt).
Metadata
Release files for home-tcl-dashboard 0.2.5
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 |
|---|---|---|---|---|
| home_tcl_dashboard-0.2.5.tar.gz | 1.4 MB | With provenance | Details for home_tcl_dashboard-0.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| home_tcl_dashboard-0.2.5-py3-none-any.whl | Python 3 | none | any | Details for home_tcl_dashboard-0.2.5-py3-none-any.whl |
Total release size: 1.5 MB
Release files / home_tcl_dashboard-0.2.5.tar.gz
| Download URL | home_tcl_dashboard-0.2.5.tar.gz |
|---|---|
| Size | 1.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01ae913e1efc931fb678b590d31a1a8b9d401bdbca6bed9aa958edaeb9069dd4
|
|
BLAKE2b-256 checksum How to use checksums |
5f9f72c0761f9d1ba830a376ffa9522d800d096bcdc3cdc5c3894071cc6c8b53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 16, 2026.
Transparency logRelease files / home_tcl_dashboard-0.2.5-py3-none-any.whl
| Download URL | home_tcl_dashboard-0.2.5-py3-none-any.whl |
|---|---|
| Size | 87.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b0f2eb0bd61042f77899415aa48a98988151c502f7491b3707e09cba06d7833d
|
|
BLAKE2b-256 checksum How to use checksums |
2b00b1d94d76ceb3ea4ac51ab50108856b49b4010535f6e8f6a3a69580376368
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 16, 2026.
Transparency logSecurity for home-tcl-dashboard 0.2.5
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 home_tcl_dashboard-0.2.5.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 Oct 16, 2026.
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.