Skip to main content

Automated budget report generator for grant management with Excel input and Word output

Project description

autorpt

image image

Automated budget report generator for grant management with Excel input and Word output

Features

  • Excel Budget Input: Load budget data from budget.xlsx with columns for Task, Budgeted, Spent, and Remaining amounts
  • Automated Report Generation: Creates professional Word documents with tables, charts, and formatted content
  • Customizable Content: Use content.md to customize report sections (Summary, Deliverables Progress, Challenges, etc.)
  • Command Line Interface: Run from terminal with options for input/output files
  • Python API: Use programmatically in your own scripts
  • Visual Charts: Automatically generates budget comparison charts
  • Professional Formatting: Clean, business-ready Word document output

Quick Start

Installation

pip install autorpt

Basic Usage

  1. Prepare your budget file: Ensure budget.xlsx exists with columns:

    • Task: Description of budget items
    • Budgeted: Total budgeted amounts
    • Spent: Amount spent to date
    • Remaining: Remaining budget
  2. Generate report:

    # Command line (uses budget.xlsx by default)
    autorpt
    
    # Or specify custom files
    autorpt --input my_budget.xlsx --output custom_report.docx
    
  3. Python API:

    import autorpt
    
    # Simple usage
    autorpt.generate_report()
    
    # Custom files
    autorpt.generate_report('my_budget.xlsx', 'my_report.docx')
    

File Structure

Your project directory should contain:

your_project/
├── budget.xlsx          # Your budget data (required)
├── content.md           # Custom content sections (optional)
└── reports/             # Generated reports folder (auto-created)

Customizing Content

Create a content.md file to customize report sections:

# Summary

Your custom summary content here...

# Deliverables Progress

-   Custom deliverable 1
-   Custom deliverable 2

# Challenges

Current project challenges...

# Next Period Activities

Planned activities...

Command Line Options

autorpt --help
autorpt --input budget.xlsx --output report.docx --verbose
autorpt --pdf                     # Generate report + PDF
autorpt --pdf-only                # Convert latest report to PDF
autorpt --pdf-all                 # Convert all reports to PDF
  • --input, -i: Input Excel file (default: budget.xlsx)
  • --output, -o: Output Word document filename
  • --pdf, -p: Also convert the report to PDF
  • --pdf-only: Convert most recent report to PDF (no new generation)
  • --pdf-all: Convert all Word reports to PDF
  • --verbose, -v: Enable verbose output

PDF Conversion

autorpt includes built-in PDF conversion capabilities. See the pdf/ folder for:

  • Complete PDF documentation (pdf/PDF_README.md)
  • Helper scripts for easy PDF operations
  • Simple command aliases setup

Quick PDF usage:

# Built-in commands
autorpt --pdf                     # Generate new report + PDF
autorpt --pdf-only                # Convert latest report to PDF

# Helper scripts (from pdf/ folder)
.\pdf\setup-aliases.ps1           # Set up simple aliases
pdf-latest                        # Then use: convert latest to PDF
pdf-new                           # Generate new report + PDF

Output

The package generates:

  • Professional Word document in reports/ folder
  • Optional PDF conversion of reports
  • Budget comparison charts
  • Automatically formatted tables
  • Summary statistics and key insights

Project details


Download files

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

Source Distribution

autorpt-0.1.1.tar.gz (15.2 kB view details)

Uploaded Source

File details

Details for the file autorpt-0.1.1.tar.gz.

File metadata

  • Download URL: autorpt-0.1.1.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for autorpt-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8bf0f788c492b42ea9700ac7214b37dcba1d09bc1020546d793878540f154152
MD5 7505a86c85c894bde11cd1b6246e1f3e
BLAKE2b-256 a7a205b52936f579f9b093463143e9058bc4b2c802d956304b567a274a3fd583

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