Skip to main content

Local code knowledge graph for mneme: tree-sitter extraction, atomic GraphStore, confidence-labelled nodes.

Project description

mneme-graph

Local code knowledge graph for mneme. Extracts GraphNode/GraphEdge from Python source files via tree-sitter. Derived and rebuildable — the ground truth is always the source files; graph.json is a derived artifact.

Part of the mneme memory engine.

Scope (v1)

This package is deliberately small and honest about its limits.

  • Python only. Extraction uses tree-sitter for Python source. TypeScript, JavaScript, Rust, and other languages are not yet supported.
  • calls resolution is heuristic. A call edge resolves to a local function/method by unqualified name within the same vault, with INFERRED confidence. There is no cross-file binding or precise symbol resolution; a call with no local name match points at an <external> node (EXTRACTED).
  • Derived, never source of truth. graph.json is rebuilt from source on every build; the source files remain the ground truth.

Deferred (not implemented yet)

  • Community detection / clustering.
  • Pull-request impact analysis.
  • Entity canonicalization and a merge queue (to avoid ghost-duplicate nodes across renames and aliases).
  • Multi-language extraction.

These are roadmap items, not present capabilities.

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

mneme_graph-3.2.0.tar.gz (41.8 kB view details)

Uploaded Source

Built Distribution

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

mneme_graph-3.2.0-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

Details for the file mneme_graph-3.2.0.tar.gz.

File metadata

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

File hashes

Hashes for mneme_graph-3.2.0.tar.gz
Algorithm Hash digest
SHA256 169856bbf03975232eac6732af34c917bb9caa6bfe96ad85b16ff6cf52b1cfe2
MD5 bd4d03763e9c82b8499f1621af6c3556
BLAKE2b-256 c56553954d3a97fdbceb67ca09fe599720b24fd4806765172d3bce40a430bde1

See more details on using hashes here.

Provenance

The following attestation bundles were made for mneme_graph-3.2.0.tar.gz:

Publisher: release.yml on TheGoatPsy/mneme

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

File details

Details for the file mneme_graph-3.2.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for mneme_graph-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 968c9d1c42e1f944e7299cd75f0482461b4a0ef45d12361b49e79169212220d2
MD5 f629d764af80b9e1a2f53502e92b32d3
BLAKE2b-256 c8d3a8503bf23436a97376b357f0bb21cdbb888febb2cddad6502b5953fd8810

See more details on using hashes here.

Provenance

The following attestation bundles were made for mneme_graph-3.2.0-py3-none-any.whl:

Publisher: release.yml on TheGoatPsy/mneme

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