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.1.21-py3-none-any.whl (2.9 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: branchpy_cli-1.1.21-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.1.21-py3-none-any.whl
Algorithm Hash digest
SHA256 176e8e3264c8c5037daf7962af78af415a783f0bb90e4b492d23d4e66d09d910
MD5 3b3fe35cc541e45357ea96a6b1acb5a7
BLAKE2b-256 20cc80c866fbce9c7cf0464bae04c616b10214562781e5343db541a057b1eb46

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