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.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: debug_visuals-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.12

File hashes

Hashes for debug_visuals-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 61345cc821f9f109218dbe4f2a8af82912f82dd117c799d3959978c4a34ef7f2
MD5 7ecf58104487b858be53815e6a2cebaf
BLAKE2b-256 ab018b52bd62152d79089beab9681690b52d43f90bb6cb5c4a1afcf0817cea33

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