Skip to main content

Submodule Graph

Visualize Git Submodule Graphs

Install

$ pip install submodulegraph

Usage

$ submodulegraph --help

Usage: submodulegraph [OPTIONS] REPO

Options:
  -m, --mode TEXT       Output Mode: text | png  [default: text]
  -g, --graphmode TEXT  GraphMode: scattered | clustered  [default: scattered]
  -o, --out TEXT        Image filename  [default: graph]
  -u, --with-url        Add repo URLs  [default: False]
  --help                Show this message and exit.
Examples:
# (Default) print the structure of the submodules in text in the console.
$ submodulegraph <path to repo>

# Print the structure of the submodules in text in the console, including repo URLs.
$ submodulegraph -u <path to repo>

# Create a png of the submodule structure where all the submodules are listed separately.
$ submodulegraph -m png <path to repo>

# Create a png of the submodule structure where all the submodules are only listed once.
$ submodulegraph -m png -g clustered <path to repo>

Release files for submodulegraph 1.0.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 submodulegraph 1.0.0
File Size Uploaded
submodulegraph-1.0.0.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for submodulegraph 1.0.0
File Interpreter ABI Platform
submodulegraph-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.8 kB

Release files / submodulegraph-1.0.0.tar.gz

Download URL submodulegraph-1.0.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
34ced98b51b61e88e7c43a1723a8d0b453cf21ec6e187e7851687af26fee200c
BLAKE2b-256 checksum
How to use checksums
13e8d5b39bab309c1c1ed86cc84341e902444cbb6f6ba33da8465da9710ce9f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release files / submodulegraph-1.0.0-py3-none-any.whl

Download URL submodulegraph-1.0.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
172556435bad70c4c963fe78b8217c98c8d2968a88812670594cb355c3d05648
BLAKE2b-256 checksum
How to use checksums
7efac6807828931a30d7864534bc65dd22f9c32a2c124e26e0268e70a80a2b6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.1.5

2 release files

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