Skip to main content

product_plan_canvas

Static Badge

A custom Gradio component for product planning with a 4-column drag-and-drop board

Installation

pip install product_plan_canvas

Usage

import gradio as gr
from product_plan_canvas import ProductPlanCanvas

def main():
    initial_data = [
        {"id": 0, "content": "Sample idea 1", "column": "idea"},
        {"id": 1, "content": "Sample feature 1", "column": "features"},
        {"id": 2, "content": "Sample timeline 1", "column": "timeline"},
        {"id": 3, "content": "Sample story 1", "column": "stories"}
    ]
    with gr.Blocks() as demo:
        gr.Markdown("# Product Plan Canvas Demo")
        canvas = ProductPlanCanvas(
            value=initial_data,
            label="Product Planning Board",
            show_label=True,
            interactive=True
        )
        state_display = gr.JSON(label="Current State")
        canvas.state.change(
            fn=lambda x: x,
            inputs=[canvas.state],
            outputs=[state_display]
        )
    demo.launch()

if __name__ == "__main__":
    main() 

ProductPlanCanvas

Initialization

name type default description
value
typing.Optional[typing.List[typing.Dict[str, typing.Any]]][
    typing.List[typing.Dict[str, typing.Any]][
        typing.Dict[str, typing.Any][str, typing.Any]
    ],
    None,
]
None Initial state of the board
label
typing.Optional[str][str, None]
None Label for the component
show_label
bool
True Whether to show the label
interactive
bool
True Whether the component is interactive

Metadata

Release files for product-plan-canvas 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for product-plan-canvas 0.1.0
File Size Uploaded
product_plan_canvas-0.1.0.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for product-plan-canvas 0.1.0
File Interpreter ABI Platform
product_plan_canvas-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.4 kB

Release files / product_plan_canvas-0.1.0.tar.gz

Download URL product_plan_canvas-0.1.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4d3cae5edc78fe8f7c1a4df85aaff9394bdd479e96d28b10b376e43e81f65cb0
BLAKE2b-256 checksum
How to use checksums
aa9c63309eb1bd1d4b77116814cf453234019299f6201f47441d0d4e074fd9ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / product_plan_canvas-0.1.0-py3-none-any.whl

Download URL product_plan_canvas-0.1.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
759764236a3d2c7c1233921d8dce5889035a71b0ae8b7f553026e4741b9ccfe2
BLAKE2b-256 checksum
How to use checksums
84104ba51e0ca2d2fb55392ff5e4cf848bc3764cebe53b8025eb16baa6d6fe98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page