Skip to main content

Visualization functions ready-to-use with VS Code Debug Visualizer

Project description

Debug-Visuals

A collection of functions that can be used inside the Debug Visualizer VS Code extension.

Features

Features are limited to python ready-to-use functions for visualizing variables in the Debug visualizer view.

Here ist a list of all supported types and visualizations

Type Visualization
Shapely geometries Plotted with plotly
GeoPandas GeoDataFrame Plotted with plotly
GeoPandas GeoSeries Plotted with plotly
List[int |float] Values plotted in graph
List[List[int | float]] Value sets plotted in multiple line graph
List[Any] List graph of nodes
dict AST tree view

Installation

The python package is available on pypi:

pip install debug-visuals

Usage

Python

When debugging in python, just import the abstract Visualizer class:

from debug_visuals import Visualizer

And use it inside the debug visualizer view:

Visualizer.vis(your_variable)

Visualizer.vis() will automatically choose the type of visualization for the type stored in the given variable. You can also manually choose the type of visualization by using the underlying functions directly:

Function name Visualization
shape() Plotly drawing
vis_list() List graph of nodes
value_graph() Value graph(s)
vis_dict() AST view of dictionary

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.

debug_visuals-0.0.3-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file debug_visuals-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: debug_visuals-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.6

File hashes

Hashes for debug_visuals-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fa429a79d27d79e5ea5efdbd70d898d9e82287ffc1d58ef0929fc1bc62bdad65
MD5 190506e2ba38c8189c1988950300a242
BLAKE2b-256 312d1d1fe7441e72272b502c1ca79ecca3ef2ce0a545252cd31bb08bd9821cb6

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