mister-balance-analyzer

Mister Balance Analyzer

pages-build-deployment

GitHub stars GitHub forks GitHub repo size in bytes GitHub contributors GitHub license

⚽️ Balance analyzer from Mister / BeManager

[!NOTE] 🔗 Example: mister-balance-analyzer/data/laliga.pdf

Summary

A Python tool that analyzes your Mister/BeManager balance history and generates comprehensive PDF reports with financial analytics, including player profitability, ROI, trading patterns, and squad investment tracking.

Quick Start

  1. Clone or fork this repository

    git clone https://github.com/AlbertSuarez/mister-balance-analyzer.git
    cd mister-balance-analyzer
    
  2. Save your balance page

    • Go to your Balance Feed (click the balance number in the top right)
    • Save the page as HTML: Cmd + S (Mac) or Ctrl + S (Windows)
    • Save it in the data/ folder (e.g., data/my-team.html)
  3. Install dependencies (see Setup for details)

    pip install -r requirements.lock
    
  4. Run the analyzer

    python src/main.py --input_html data/my-team.html --output_pdf data/my-team.pdf
    
  5. Open your PDF report! 🎉

Setup

Requirements

Installation

Option 1: Using pyenv (recommended)

pyenv virtualenv 3.11.3 mister-balance-analyzer
pyenv activate mister-balance-analyzer
pip install -r requirements.lock

Option 2: Using system Python

pip install -r requirements.lock

Usage

Basic usage:

python src/main.py --input_html data/my-team.html --output_pdf data/my-team.pdf

Filter by date range:

python src/main.py \
  --input_html data/my-team.html \
  --output_pdf data/my-team.pdf \
  --date-range "2025-10-01,2025-11-01"

Features

Screenshots

Screenshot 1

Screenshot 2

Screenshot 3

Screenshot 4

Screenshot 5

Authors