Metadata-Version: 2.4
Name: infrakg
Version: 0.1.0
Summary: Infrastructure Knowledge Graph (InfraKG) - A unified dependency graph from DevOps infrastructure sources.
Project-URL: Homepage, https://github.com/yourusername/infrakg
Project-URL: Repository, https://github.com/yourusername/infrakg
Author-email: Author <author@example.com>
License: MIT
Keywords: devops,infrastructure,knowledge-graph,kubernetes,terraform
Requires-Python: >=3.12
Requires-Dist: networkx>=3.2.1
Requires-Dist: pydantic>=2.7.0
Requires-Dist: python-hcl2>=4.3.0
Requires-Dist: pyyaml>=6.0.1
Requires-Dist: typer>=0.12.0
Description-Content-Type: text/markdown

# 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

```bash
pip install infrakg
```

## Quick Start

```bash
# 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
```
