Skip to main content

Visual C/C++ project include graphs, in a simple command line UI, for Linux.

Project description

vinclude

Last release GitHub license pypi version

Visual C/C++ project include graphs, in a simple command line UI, for Linux. Useful for quickly understanding how subfolders depend on each other.

Overview

When launched, vinclude looks for #include directives in the current directory and tries to match them to files in that directory. Then it visualizes which subdirectory includes files from which other subdirectory:

Demo screenshot

This screenshot shows the root directory of https://github.com/KATRIN-Experiment/Kassiopeia/ .

Limitations

vinclude does very simple static code analysis based on command line tools grep and find. If included files have names that occur multiple times in the source, they cannot be matched.

Usage

After installing vinclude via pip install vinclude, it can be run in the current folder by executing vinclude.

On the top folders are shown that are referenced from files in a given other folder. After selecting such a folder pair with the arrow keys, at the bottom a full list of files is shown that match this pair. Tab allows to toggle between folder and file list, the enter key toggles the active list to fullscreen.

Note that you can also run the command in a subfolder of your choice to understand dependencies of source files in subfolders of that subfolder alone.

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

vinclude-1.1.0.tar.gz (42.2 kB view details)

Uploaded Source

Built Distribution

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

vinclude-1.1.0-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

Details for the file vinclude-1.1.0.tar.gz.

File metadata

  • Download URL: vinclude-1.1.0.tar.gz
  • Upload date:
  • Size: 42.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for vinclude-1.1.0.tar.gz
Algorithm Hash digest
SHA256 ee627a57847a17033f81e25342bdf4fb0545bec31ec7bc092c2549e6a5813a77
MD5 2c86f5455a8ac6ff886451f46ee56ee4
BLAKE2b-256 9f9032e2ea599b111995b8d95f1be2b951337617764fbb68b704e764da4029d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for vinclude-1.1.0.tar.gz:

Publisher: python-publish.yml on 2xB/vinclude

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vinclude-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: vinclude-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 30.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for vinclude-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 385569ff07166f4506ae86e7cc88e3e8ba8696b05a92d7b1a08cede93b9347e7
MD5 f07b598b57e1e98220593e666d7eb57d
BLAKE2b-256 f436a62d5ef977c9b7ea59c8939bcbca7f6360d0a4b1de77b86d4a016c6fed9a

See more details on using hashes here.

Provenance

The following attestation bundles were made for vinclude-1.1.0-py3-none-any.whl:

Publisher: python-publish.yml on 2xB/vinclude

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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