No description
Find a file
me 781235d124
All checks were successful
Python Application Test and Deploy / run-python-tests (push) Successful in 1m14s
Python Application Test and Deploy / build-and-push (push) Has been skipped
add CI file
2025-11-18 23:15:32 +09:00
.forgejo/workflows add CI file 2025-11-18 23:15:32 +09:00
.idea Add IntelliJ IDEA configuration and improve package analysis 2025-05-01 01:28:12 +09:00
data Adding Support for Zypper/Opensuse 2025-05-07 19:54:05 +09:00
tests Add IntelliJ IDEA configuration and improve package analysis 2025-05-01 01:28:12 +09:00
.gitignore Initial commit 2022-02-16 23:13:26 +09:00
generate_dependency_list.py minor code cleanup 2022-02-23 21:15:47 +09:00
LICENSE Adding Readme, License example data 2022-02-23 11:51:20 +09:00
main.py Adding Support for Zypper/Opensuse 2025-05-01 01:57:39 +09:00
minversion.py minor code cleanup 2022-02-23 21:15:47 +09:00
Readme.md Add feature list and file output details to Readme 2025-05-07 20:01:47 +09:00
requirements.txt Add dependencies for matplotlib and networkx 2025-05-01 00:54:12 +09:00
util.py Initial commit 2022-02-16 23:13:26 +09:00

Package Dependency Analyzer

Depeana, short for Dependency Analyzer, is a collection of scripts to generate statistics and visualization to understand the overall state of packages installed on a Linux system. The idea is to use graph analysis to identify structures in the chain of packages dependencies.

Features

  • Analyzes installed packages across multiple package managers (apt, rpm, pacman, pkg, brew)
  • Builds dependency graphs using NetworkX
  • Calculates package centrality metrics
  • Generates visualizations of package relationships
  • Exports graph data in GEXF format

Generated Files

The analyzer creates output files in the data/ directory:

  • dependency_graph.gexf: Graph file containing package dependency data
  • dependency_analysis.png: Plot showing degree vs closeness centrality

Examples

A small introduction into how to use Depana is written here on the bitvektor.net blog.

Package Dependency Graph Example

License

Depana is distributed under the AGPL License (see file LICENSE).