Skip to main content

LeanIX enterprise-architecture helper: GraphQL proxy, factsheet download, and graph loading into KuzuDB or Neo4j

Project description

dvm-eahelper — LeanIX Enterprise Architecture Helper

Successor to dvm-leanix and dvm-eagraph, combined into a single package.

One CLI (eahelper) to:

  • Run a local GraphQL proxy to SAP LeanIX — extracts the Bearer token from your already-logged-in browser via Playwright CDP, serves GraphiQL for exploration
  • Download factsheets and relationships as JSON
  • Load them into a graph database — KuzuDB (embedded, default) or Neo4j

Works on Windows and macOS.

Installation

uv tool install dvm-eahelper        # or: pip install dvm-eahelper
uvx playwright install chromium     # one-time, for the proxy

Quick start

1. Launch a debug browser and log into LeanIX

Windows (PowerShell, Edge):

Start-Process "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" `
  "--remote-debugging-port=9222 --user-data-dir=C:\Temp\edge-debug --no-first-run --no-default-browser-check"

macOS (Chrome):

open -na "Google Chrome" --args --remote-debugging-port=9222 --user-data-dir="$HOME/chrome-debug"

Log into your LeanIX workspace in that browser window.

2. Run the proxy (separate terminal, keep it running)

eahelper proxy

3. Download and load

eahelper download --relations
eahelper load              # prompts for DB backend; KuzuDB is the default
eahelper load --db neo4j   # or choose explicitly

KuzuDB is embedded — no server needed; the database is a local directory (--db-path, default ./eahelper-kuzu-db). For Neo4j, start your server and put NEO4J_URI, NEO4J_USERNAME, NEO4J_PASSWORD in a .env file.

Commands

Command Purpose
eahelper proxy Local GraphQL proxy + GraphiQL UI
eahelper diagnose Check browser/CDP/SSL connectivity
eahelper download Download factsheets & relationships to JSON
eahelper load Load downloaded JSON into KuzuDB or Neo4j
eahelper seed Seed example/reference data

Backend selection precedence: --db flag → EAHELPER_DB env var → interactive prompt (default kuzu).

Agent skill

An installable Agent Skill (Claude Code, GitHub Copilot, and other agentskills.io-compatible tools) that walks you through setup and usage lives at dvm-eahelper-skills.

Migrating from dvm-leanix / dvm-eagraph

Old New
dvm-leanix serve / lean-ix serve eahelper proxy
dvm-leanix download eahelper download
dvm-leanix diagnose eahelper diagnose
dvm-eagraph eahelper load
dvm-eagraph-seed eahelper seed

Token store moved from ~/.lean-ix/ to ~/.eahelper/.

License

MIT

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

dvm_eahelper-0.1.0.tar.gz (101.5 kB view details)

Uploaded Source

Built Distribution

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

dvm_eahelper-0.1.0-py3-none-any.whl (54.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dvm_eahelper-0.1.0.tar.gz
  • Upload date:
  • Size: 101.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dvm_eahelper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b82f1f8a8eb5c21facabbaf0898bbc11cc0e76ac5f3300f18f84399384af3e0f
MD5 710e234b79e95b728cedc1424694bc0c
BLAKE2b-256 3f68587fec86502d0b77f754ebca16abe4664a4fa0cda67cc4818a122b993a7c

See more details on using hashes here.

Provenance

The following attestation bundles were made for dvm_eahelper-0.1.0.tar.gz:

Publisher: publish.yml on divyavanmahajan/dvm-eahelper

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

File details

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

File metadata

  • Download URL: dvm_eahelper-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 54.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dvm_eahelper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af6ad6d85ac080a79066c22855045d94ffa6f0f26a64ca976677d073fdb3c9e7
MD5 e9ae290af0bbe4df5e069362cf074115
BLAKE2b-256 3e38ddfce877e02887a72e7f17b644b51e2e69b0b9ed84dab104612d46530b0f

See more details on using hashes here.

Provenance

The following attestation bundles were made for dvm_eahelper-0.1.0-py3-none-any.whl:

Publisher: publish.yml on divyavanmahajan/dvm-eahelper

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