Skip to main content

panoptic — un regard sur l'agrivoltaïsme français. CLI citoyenne, souveraine, portable.

Project description

panoptic

un regard sur l'agrivoltaïsme français.

416 projets. 133 contestations. 4 registres publics croisés. Une commande sur ton PC, hors-ligne.

$ panoptic 47
  3AYNE · éveillé · data fraîche
  10 projets · 5 contestations · 454 MWc cumulés
  ● silence suspect · GLHD [score 80]
  ↗ projet latent · CONCESSION PLATIN DE GRAVE [score 65]

Installation : 3 choix, du plus simple au plus solide

Python 3.10+ requis. Important : n'installe jamais dans ton Python système. Toujours dans un environnement isolé. Trois façons :

1. pipx (recommandé)

pipx installe une CLI Python dans un environnement dédié, invisible pour le reste de ton système. Zéro conflit avec les autres paquets Python.

# installe pipx si pas déjà là
sudo apt install pipx        # Debian, Ubuntu
brew install pipx            # macOS
pipx ensurepath

# installe panoptic directement depuis le repo
pipx install panoptic-tawiza

La base de données SQLite est embarquée dans le paquet (372 KB décompressés, 124 KB en wheel). Tu peux lancer panoptic 47 hors-ligne immédiatement.

Mise à jour plus tard : pipx upgrade panoptic-tawiza ou pipx reinstall panoptic-tawiza.

2. venv à la main

Si tu préfères tout gérer toi-même :

python -m venv ~/.panoptic-venv
~/.panoptic-venv/bin/pip install panoptic-tawiza
~/.panoptic-venv/bin/panoptic 47

Tu peux ajouter un alias alias panoptic='~/.panoptic-venv/bin/panoptic' dans ton shell pour raccourcir.

3. Depuis le repo GitHub (pour les versions dev, fork)

pipx install git+https://github.com/tawiza/panoptic-cli

Utile si tu veux tester une PR non publiée ou ta propre branche.

4. Bientôt : Docker

En v0.2. Pour ceux qui préfèrent zéro installation Python locale.


À ne jamais faire

Ces commandes installent panoptic dans le Python système partagé et peuvent casser d'autres outils. Ne pas faire :

  • sudo pip install ...
  • pip install ... sans venv actif

Utilise pipx ou venv (plus haut).


Usage

panoptic 47                     # département (Lot-et-Garonne)
panoptic 47001                  # code INSEE commune
panoptic 47250                  # code postal
panoptic "Pujo-le-Plan"         # nom commune (fuzzy)

panoptic 47 --html rapport.html # export autonome partageable
panoptic update                 # sync depuis panoptic.tawiza.fr/data/
panoptic freshness              # état des sources
panoptic --help                 # aide complète

Ce que panoptic détecte automatiquement

Cinq règles de détection simples, environ 200 lignes de Python, lisibles ligne à ligne. Pas de ML, pas de LLM. Juste des seuils, des jointures, des comparaisons.

signal déclenché quand
opposition naissante contestation CNPrV < 60 jours + projet actif à ≤ 15 km · alarme
paradoxe opérateur opérateur ≥ 10 % de la puissance nationale + 0 contestation
projet latent MRAe projet visible uniquement dans un avis MRAe
ceinture de résistance département > 60 % de contestations
opacité opérateur projet ≥ 10 MWc sans opérateur déclaré

Deux règles arrivent en v0.2 : divergence entre registres, hausse d'opérateur.


Sources

Quatre registres publics français, croisés après fusion inter-sources :

Aucune de ces sources ne voit l'ensemble. panoptic les croise.

Licences

  • Code : AGPL-3.0-or-later
  • Données : CC-BY-SA-4.0

Forkable, modifiable, redistribuable sous la même licence.

Liens

Un projet qu'on a raté, un opérateur mal identifié, un angle oublié : tawiza.v0@gmail.com ou DM @tawiza.fr.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

panoptic_tawiza-0.2.0.tar.gz (164.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

panoptic_tawiza-0.2.0-py3-none-any.whl (165.6 kB view details)

Uploaded Python 3

File details

Details for the file panoptic_tawiza-0.2.0.tar.gz.

File metadata

  • Download URL: panoptic_tawiza-0.2.0.tar.gz
  • Upload date:
  • Size: 164.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for panoptic_tawiza-0.2.0.tar.gz
Algorithm Hash digest
SHA256 03d4e6728a0ee31d9451ca631545300d7d66103b2f6f9e4da81c329b806646ac
MD5 c8b352161f50e7a9def167ac47d6ab83
BLAKE2b-256 4bc5d3a747406e3a2ae29b80a5cdb707f1704c03c3e008ab54f37e6254e72910

See more details on using hashes here.

File details

Details for the file panoptic_tawiza-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for panoptic_tawiza-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43c5e555f9a711fb5db42e14f951c2d4f5ed71e0a62635241b5e80d6c0942e7f
MD5 55a4d2ebda1b512750af9985468b647d
BLAKE2b-256 3bd26b1541fe7e31f980110d6dff757256e3a3874d0103367a801b3cd619df01

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page