Objectif
simplepygraph est un module de manipulation de graphe permettant à la fois de manipuler la structure et de la visualiser dans un notebook. Il est notamment utile pour des enseignant•e•s souhaitant créer des ressources de cours autours des graphes, arbres etc. Le module s'appuie sur deux modules connus :
- un modèle qui est un graphe au sens de networkx
- une vue qui est un graphe au sens de graphviz
Installation et utilisation
-
Installer l'outil graphviz
-
Installer le module
simplepygraph:pip3 install simplepygraph -
Utiliser (plutôt dans un notebook) :
import simplepygraph as spg mon_graphe = spg.Graph(5)
Documentations
- Le dépot gitlab fourni un listing des fonctionnalités
- Ce tutoriel détaille un peu les choses : https://sebhoa.gitlab.io/iremi/01_Graphes/pygraph/
Metadata
Release files for simplepygraph 2.0.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 | |
|---|---|---|---|
| simplepygraph-2.0.5.tar.gz | 15.5 kB | Details |
Release files / simplepygraph-2.0.5.tar.gz
| Download URL | simplepygraph-2.0.5.tar.gz |
|---|---|
| Size | 15.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85cc126f54c162bff7a933502fef2186bc7a2eb9595081fa1fe7167639977b50
|
|
BLAKE2b-256 checksum How to use checksums |
d6e4ffd0b54d5a218e2378d35ccad6a6f5cc2a6587e837bd40079405da22bebc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|