Skip to main content

Analyze Ren'Py projects for branching structure, assets, QA issues, and flow.

Project description

BranchPy

Analyze Ren'Py projects for branching structure, assets, QA issues, and story flow.

Local-first analysis tool for Ren'Py projects — no cloud required.

What this is

BranchPy is a developer tool for Ren'Py visual novel projects. It analyzes your project locally and generates reports covering story structure, branching paths, asset validation, and quality issues.

Used to analyze large Ren'Py projects and production-scale visual novels.

It runs from the command line and integrates with Visual Studio Code for a full visual workflow.

Installation

Install the CLI:

pip install branchpy-cli

After installation, run branchpy or bpy.

Install the VS Code extension from the Visual Studio Code Marketplace for the full visual experience (flowcharts, one-click analysis, and in-editor reports).

Quick start

# Analyze a Ren'Py project
branchpy analyze --project "/path/to/your/renpy/project"

# Generate a story flowchart
branchpy flowchart --project "/path/to/your/renpy/project"

# Run structural statistics
branchpy stats --project "/path/to/your/renpy/project"

# Validate assets
branchpy media --project "/path/to/your/renpy/project"

Both branchpy and bpy are available as CLI entry points.

Features

  • Story flow analysis — detect unreachable labels, broken jumps, and structural issues
  • Branching path exploration — enumerate paths through your project from configurable entry points
  • Asset validation — find missing, unused, or misreferenced images and audio files
  • Project statistics — structural classification (finite, loop-based, hybrid), complexity metrics, and coverage ratios
  • Compare — track changes between analysis runs
  • Local-first — no cloud dependency, no telemetry without consent, works offline

Some advanced features (semantic image similarity) require optional local dependencies. See https://branchpy.com/docs/ for details.

VS Code extension

Install BranchPy from the VS Code Marketplace to access:

  • Interactive flowchart visualization
  • One-click analysis from the Control Center
  • Visual report panels (Insights, PILOT, Stats, OMEGA)
  • Real-time output and error console

The extension detects the installed CLI automatically. If the CLI is not found, it shows an install prompt with the exact command.

Requirements

  • Python 3.11 or higher
  • A Ren'Py project directory

Links

Licensing

BranchPy offers a free tier for Ren'Py projects.

Some advanced features may require activation through the BranchPy website.

See https://branchpy.com for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

branchpy_cli-1.2.1-py3-none-any.whl (2.9 MB view details)

Uploaded Python 3

File details

Details for the file branchpy_cli-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: branchpy_cli-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for branchpy_cli-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 07a6d0b46d574550eba3fe4bc7715d59e6bc29a9e0e6a5014670524ddfc02569
MD5 1cdfeb148d1a8e86b509d9c85163259e
BLAKE2b-256 d27c087a6297a785dbcc67916b57ee3965819049fba3fb8403fe3dab37e94c89

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