Skip to main content

Infrastructure Knowledge Graph (InfraKG) - A unified dependency graph from DevOps infrastructure sources.

Project description

InfraKG (Infrastructure Knowledge Graph)

A unified dependency graph and analysis tool for DevOps infrastructure sources.

Features

  • Parse infrastructure files (Terraform, Kubernetes, Docker Compose, GitHub Actions, Ansible).
  • Build a directed graph representing dependencies.
  • Identify the impact of infrastructure changes.
  • Export graph to JSON, GraphML, and Neo4j formats.
  • Detect orphaned resources and circular dependencies.

Installation

pip install infrakg

Quick Start

# Scan a directory to build the knowledge graph
infrakg scan /path/to/infra

# Output the graph summary
infrakg graph /path/to/infra

# Check impact of modifying a specific resource
infrakg impact /path/to/infra --resource "aws_db_instance.main"

# Export the graph
infrakg export /path/to/infra --format graphml --output graph.graphml

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

infrakg-0.1.0.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

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

infrakg-0.1.0-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file infrakg-0.1.0.tar.gz.

File metadata

  • Download URL: infrakg-0.1.0.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for infrakg-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1c59d7047a5ad9c75c9681dd490c5d1a678d2ed75861f7d9092d651bfc3d6465
MD5 43901f227c019ffca9f2373d020a4192
BLAKE2b-256 a87cbf7df0760d641424b452fd519a2aa0b4fafd6f2816d08008052906ee6644

See more details on using hashes here.

File details

Details for the file infrakg-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: infrakg-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for infrakg-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f9fcce17ca0ac28bf3ac0efaa332f49fae242ff8f3a54642941005d4c886bdf9
MD5 71ef25eea3aee4b2a8fe6fe545c7f155
BLAKE2b-256 b86f0d7457b2eef3977845f7278b2361c1f6aa127ad9b7686f8f64aa77e790ad

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