Skip to main content

Un petit module pour créer des graphes (non orienté, orienté ou bi-partie)

Project description

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

  1. Installer l'outil graphviz

  2. Installer le module simplepygraph :

    pip3 install simplepygraph
    
  3. Utiliser (plutôt dans un notebook) :

    import simplepygraph as spg
    
    mon_graphe = spg.Graph(5)
    

Documentations

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

simplepygraph-2.0.5.tar.gz (15.5 kB view details)

Uploaded Source

File details

Details for the file simplepygraph-2.0.5.tar.gz.

File metadata

  • Download URL: simplepygraph-2.0.5.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for simplepygraph-2.0.5.tar.gz
Algorithm Hash digest
SHA256 85cc126f54c162bff7a933502fef2186bc7a2eb9595081fa1fe7167639977b50
MD5 f35c09f6cd1f281930f213f2df01b8fc
BLAKE2b-256 d6e4ffd0b54d5a218e2378d35ccad6a6f5cc2a6587e837bd40079405da22bebc

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