Skip to main content

helia-etat-reseaux

SDK Python pour scraper les maintenances programmées du réseau télécoms Helia / OPT-NC depuis helia.nc/etat-du-reseau.

CI Scraper License: LGPL v3

Installation

pip install helia-etat-reseaux

Usage — SDK

from helia_etat_reseaux import scrape_maintenances

maintenances = scrape_maintenances()

for m in maintenances:
    print(m.timestamp_debut, m.communes_concernees, m.impact)

Chaque objet Maintenance expose :

Champ Type Description
id str Identifiant SHA256 stable (8 hex)
timestamp_debut / timestamp_fin str ISO 8601 Fenêtre de maintenance (UTC+11)
communes_concernees list[str] Communes officielles NC affectées
provinces_concernees list[Province] Provinces dérivées automatiquement
services list[Service] Services télécoms impactés
impact Impact Sévérité estimée de la coupure
est_toute_nc bool True si toute la NC est concernée

Usage — CLI

helia-etat-reseaux   # écrit les maintenances dans messages/*.json

Structure

helia_etat_reseaux/
├── models.py      # Pydantic : Maintenance, Service, Impact, Province
├── scraper.py     # Scraping + parsing HTML helia.nc
├── geo.py         # Recherche géographique par rayon (communes NC)
├── db.py          # Persistance SQLite (optionnelle)
├── mcp.py         # Serveur MCP (intégration LLM)
└── scheduler.py   # Scheduler APScheduler (scrape périodique)
api/               # API FastAPI (mode conteneur)
webapp/            # Frontend Astro (calendrier + RSS)

CI

  • Sur chaque PR : lint Ruff + tests unitaires (couverture ≥ 70%)
  • Toutes les 6h : tests d'intégration contre helia.nc — issue GitHub auto-créée en cas d'échec
  • Sur chaque tag v* : release GitHub générée automatiquement depuis les PRs mergées

Licence

LGPL-3.0-or-later

Metadata

Release files for helia-etat-reseaux 0.7.0

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

Source distribution (sdist)

Source distribution for helia-etat-reseaux 0.7.0
File Size Uploaded Provenance Actions
helia_etat_reseaux-0.7.0.tar.gz 223.3 kB Without provenance Details for helia_etat_reseaux-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for helia-etat-reseaux 0.7.0
File Interpreter ABI Platform Actions
helia_etat_reseaux-0.7.0-py3-none-any.whl Python 3 none any Details for helia_etat_reseaux-0.7.0-py3-none-any.whl

Total release size: 246.6 kB

Release files / helia_etat_reseaux-0.7.0.tar.gz

Download URL helia_etat_reseaux-0.7.0.tar.gz
Size 223.3 kB
Tags Source
SHA-256 checksum
How to use checksums
975f8be6527915033ead00a2d4c38603a93ae365fae9efce43a2edee5dd0441a
BLAKE2b-256 checksum
How to use checksums
006044db17d5f50fc4d2fd2b6c2fb7c4a503dd0675c963ce4ae56ba50b6a1073
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / helia_etat_reseaux-0.7.0-py3-none-any.whl

Download URL helia_etat_reseaux-0.7.0-py3-none-any.whl
Size 23.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
44ca6c754e8d0497dab3318dbeaccbd47714c19ed707f58b1f3eb8ea1a7e232c
BLAKE2b-256 checksum
How to use checksums
e2d0b6cdd5f5ae374dc3749040f7b9bc2d8e6dc8855b2499fb0712005932625b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for helia-etat-reseaux 0.7.0

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.

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