Skip to main content

Visualize CodeGraph call subgraphs in OntoSight

Project description

OntoSight CodeGraph

Read a local CodeGraph index (.codegraph/codegraph.db) and visualize call subgraphs in OntoSight.

Install

pip install ontosight-codegraph
# or
uvx ontosight-codegraph .

Usage

# Ensure index exists
npx @colbymchenry/codegraph init -i

# Auto-seed from highest fan-in symbols
ontosight-codegraph .

# Seed around a symbol
ontosight-codegraph . --symbol view_graph --path vendor/ontosight/

# Task-scoped subgraph
ontosight-codegraph . --task "auth flow" --hops 2 --max-nodes 200

npm wrapper

For a zero-Python-install workflow (uses uvx under the hood; auto-runs CodeGraph init when the index is missing):

npx @royalsolution/ontosight .

See packages/ontosight/ and packages/ontosight/AGENTS.md for npm package details and AI agent usage.

Publish (maintainers)

cd packages/ontosight-codegraph
python -m build
twine check dist/*
twine upload dist/*

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

ontosight_codegraph-0.2.0.tar.gz (30.1 kB view details)

Uploaded Source

Built Distribution

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

ontosight_codegraph-0.2.0-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file ontosight_codegraph-0.2.0.tar.gz.

File metadata

  • Download URL: ontosight_codegraph-0.2.0.tar.gz
  • Upload date:
  • Size: 30.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for ontosight_codegraph-0.2.0.tar.gz
Algorithm Hash digest
SHA256 723ebfbc4cb556d64cd7115eb320979867455f8eedf0dc90984cd18c09eaa3a0
MD5 ddc51c20920a60c8cb9f0e0f2d8773f3
BLAKE2b-256 55057df5581eb9207827a73c4567d3099ee505add0761928b77ddde2369d156d

See more details on using hashes here.

File details

Details for the file ontosight_codegraph-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ontosight_codegraph-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 739665a09d05a2e3340ae145d022cdbe857cabdaaf6713fec8e636ff3d21b5b7
MD5 cb8405e44e8e9cefb1f8eb482b6ace6c
BLAKE2b-256 6000c546756870c7dda70676f8ac26907460ed503922d1c62acaa221462204a6

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