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.0.0.tar.gz (42.1 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.0.0-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for vinclude-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7496842d4d88186420606bd03e9c63b998214b754eb8e4e6e37c2fb0c614a1fd
MD5 23c28a5cbb84579fe774c5db9811dfcf
BLAKE2b-256 f0987fef1f9214b8125b5605f33e119e3930c780f7c26d4f771f301330a8b7f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for vinclude-1.0.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.0.0-py3-none-any.whl.

File metadata

  • Download URL: vinclude-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 30.1 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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 261a99590f6455e14f291babfb99d7fd673b7972c03d4a8a5699f4112b1168e6
MD5 9d2c8dd7282186f6371e49710b41d5f6
BLAKE2b-256 1a7b403def70a01af0a49b80420222048675d3848b83ebbc9ae974728df7515c

See more details on using hashes here.

Provenance

The following attestation bundles were made for vinclude-1.0.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