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

Uploaded Python 3

File details

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

File metadata

  • Download URL: branchpy_cli-1.1.20-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.20-py3-none-any.whl
Algorithm Hash digest
SHA256 01df70ba3cfa1ad9d35d1d542803357cffbca837e2e1a847991a2966d2c611b8
MD5 6f833ff8400e96b99daa9275abd43b70
BLAKE2b-256 3854129be9ef6dca8ba0970e7d99064ad27deef6e95c66319b66918f21a9bf7d

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