Skip to main content

Visualize Data Structures in real time — Python TUI + C++ backend

Project description

TraceDSA

Visualize Data Structures in real time a Python TUI powered by C++23 binaries.

Python 3.10+ License: MIT PyPI version

TraceDSA SC

Features

  • 9 data structures with live ASCII visualization
  • C++23 backend binaries via subprocess bridge
  • Real-time operation log with color-coded responses
  • DS info screen summary, Big O, pros/cons, usage
  • Search and filter modules from the menu
  • Min/Max heap toggle
  • Works out of the box via pip

What is it

TraceDSA is a terminal user interface that wraps custom C++23 data structure implementations in an interactive Python TUI. It lets you explore how stacks, queues, trees, and heaps behave with live ASCII art, operation logging, and instant feedback after every command.

Install & Run

pip install tracedsa
tdsa

Data Structures

Category Modules
Stack Stack (Array), Stack (LinkedList)
Queue Queue (Array), Queue (LinkedList), Circular Queue
Linked List Singly LinkedList, Doubly LinkedList
BST Binary Search Tree
Heap Min-Heap, Max-Heap

How it works

TraceDSA uses a Python Textual TUI that spawns standalone C++23 interactive binaries as subprocesses. The TUI communicates with each binary via a simple stdin/stdout protocol (PUSH 10OK Stack: [10]). Every button press sends a command, and the response updates the ASCII visualization and operation log in real time. No STL containers are used in the C++ backend every data structure is built from scratch.

Requirements

  • Python 3.10+
  • Linux (Windows & macOS in progress)

Built With

  • PythonTextual framework for the TUI
  • C++23 — All data structures implemented from scratch (no STL containers)

Author

HA GitHub · LinkedIn

License

MIT see LICENSE


Made with ❤️ and stay tuned for updates!

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

tracedsa-1.0.0.tar.gz (53.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tracedsa-1.0.0-py3-none-any.whl (530.3 kB view details)

Uploaded Python 3

File details

Details for the file tracedsa-1.0.0.tar.gz.

File metadata

  • Download URL: tracedsa-1.0.0.tar.gz
  • Upload date:
  • Size: 53.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for tracedsa-1.0.0.tar.gz
Algorithm Hash digest
SHA256 49592f14211a0e1271cc4c98ec70a23d9378eea6f70bb849ad3e0c0620f21edb
MD5 e67ff6ef805d4990de155e12783f412d
BLAKE2b-256 35261a378b75af92ab4c266dfeadfa3cfe55578b441950bcb357ea2805430e82

See more details on using hashes here.

File details

Details for the file tracedsa-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: tracedsa-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 530.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for tracedsa-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3efa7e509b3ab4039991373a160bf06bae27d32d33653f0c8a939b1097ed1fae
MD5 9052d90899b6cf2492e8331fb50fd679
BLAKE2b-256 0add9530d4ec87e184b7d103f83805fb3b94e45cc117b9f52d8777b124ba421e

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