Skip to main content

This repo introduces a method to represent a local code repository as a graph structure. The objective is to allow an LLM to traverse this graph to understand the code logic and flow. Providing the LLM with the power to debug, refactor, and optimize queries.

Supported Languages

  • Python
  • JavaScript
  • TypeScript
  • Ruby
  • Go
  • C#

Example

This graph was generated from the code in this repository.

Quickstart

Get started with blarify by following our quickstart guide:

➡️ Quickstart Guide

Dependencies

SCIP Support (Optional, for faster reference resolution)

For enhanced performance, blarify supports SCIP (Source Code Intelligence Protocol) which provides up to 330x faster reference resolution compared to LSP.

Install the SCIP Python indexer:

# Install scip-python globally via npm
npm install -g @sourcegraph/scip-python

Note: SCIP provides identical accuracy to LSP but with dramatically better performance. When available, blarify will automatically use SCIP for reference resolution.

Article

Read our article on Medium to learn more about the motivation behind this project:

➡️ How we built a tool to turn any codebase into a graph of its relationships

Future Work

  • Gracefully update the graph when new files are added, deleted, or modified
  • Add more language servers
  • Experiment with parallelizing the language server requests

Need help?

If you need help, want to report a bug, or have a feature request, please open an issue on this repository.

You can also reach out to us at Discord

Metadata

Release files for blarify 1.3.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for blarify 1.3.9
File Size Uploaded Provenance Actions
blarify-1.3.9.tar.gz 327.7 kB Without provenance Details for blarify-1.3.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for blarify 1.3.9
File Interpreter ABI Platform Actions
blarify-1.3.9-py3-none-any.whl Python 3 none any Details for blarify-1.3.9-py3-none-any.whl

Total release size: 760.0 kB

Release files / blarify-1.3.9.tar.gz

Download URL blarify-1.3.9.tar.gz
Size 327.7 kB
Tags Source
SHA-256 checksum
How to use checksums
db52793e3b8f0a66c61bffaed2f16404083ee371ad4f85ec487a050be6e09db6
BLAKE2b-256 checksum
How to use checksums
eeb200335749b27c893da351d20ff09c1b08d767c7c2073ac72fd866f301a55b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.4 CPython/3.13.7 Darwin/24.6.0

Release files / blarify-1.3.9-py3-none-any.whl

Download URL blarify-1.3.9-py3-none-any.whl
Size 432.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
60ca85a277891df616fd593a65dd95ac7d9448e844bebf8ecdf6fd8682d4e008
BLAKE2b-256 checksum
How to use checksums
1aaa3dab52f9559c9cf31fef00e6c6f815c09a36a47d1c087d83923b0cdf2bee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.4 CPython/3.13.7 Darwin/24.6.0

Security for blarify 1.3.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page