Skip to main content

Python app for visualizing class diagrams for a Frappe Framework App using PlantUML

Project description

Frappe App Visualizer

A python app for visualizing class diagrams of a Frappe App's doctypes using PlantUML

Screenshot

Dependencies

Installation

$ pip install frappeviz

Usage

Command Line

$ frappeviz [-h] [--output output-dir] [--format {txt,img,all}]
                 frappe-app-directory

Example

$ frappeviz path/to/frappe/app/dir -o /path/to/output/dir -f img

Module

>>> from frappeviz import generate_uml
>>> generate_uml('path/to/frappe/app/dir', '/path/to/output/dir' 'img')

Arguments

  • -h: help
  • --output / -o: output directory
  • --format / -f: Output format (txt | img | all)
  • frappe directory

The UML for each module in the app is generated in separate files (PlantUML text and .png images) that shares the same name as the app's respective modules.

Supported Environment

Tested on the following OS:

  • Ubuntu OS
  • macOS

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

frappeviz-0.0.2.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

frappeviz-0.0.2-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page