{"id":18924413,"url":"https://github.com/warmachine028/datastax","last_synced_at":"2025-04-15T12:32:31.223Z","repository":{"id":42431337,"uuid":"438734130","full_name":"warmachine028/datastax","owner":"warmachine028","description":"A python library to visualize data-structures ","archived":false,"fork":false,"pushed_at":"2023-10-10T13:52:46.000Z","size":6370,"stargazers_count":7,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-29T12:34:08.576Z","etag":null,"topics":["data-structures","flake8","hacktoberfest","hacktoberfest-accepted","hacktoberfest2023","mypy","pypi","pytest","python","python-library","python-package","typehints"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/datastax","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/warmachine028.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-12-15T18:32:34.000Z","updated_at":"2024-05-12T16:39:16.000Z","dependencies_parsed_at":"2022-08-19T11:53:35.174Z","dependency_job_id":"ea535673-94a4-4ed9-b4b9-d8bfcf570344","html_url":"https://github.com/warmachine028/datastax","commit_stats":{"total_commits":86,"total_committers":3,"mean_commits":"28.666666666666668","dds":0.3023255813953488,"last_synced_commit":"55f0ac90e929236740871564860f5286c717c017"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warmachine028%2Fdatastax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warmachine028%2Fdatastax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warmachine028%2Fdatastax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warmachine028%2Fdatastax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/warmachine028","download_url":"https://codeload.github.com/warmachine028/datastax/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249072459,"owners_count":21208190,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-structures","flake8","hacktoberfest","hacktoberfest-accepted","hacktoberfest2023","mypy","pypi","pytest","python","python-library","python-package","typehints"],"created_at":"2024-11-08T11:06:44.047Z","updated_at":"2025-04-15T12:32:29.500Z","avatar_url":"https://github.com/warmachine028.png","language":"Python","readme":"    updated: Thursday, 03rd August 2023\n\n\u003cdiv align=center\u003e\n    \u003ca href=\"https://github.com/warmachine028/datastax\"\u003e\n        \u003cimg width=200 src=\"https://github.com/warmachine028/datastax/assets/75939390/2c1ad8f7-b1ed-44aa-9923-307af5a52cfc\" alt=\"datastax\"\u003e\n    \u003c/a\u003e\n    \u003cp style=\"font-family: roboto, calibri; font-size:12pt; font-style:italic\"\u003eSimplicity meets intelligence\u003c/p\u003e\n    \u003ca href=\"https://pypi.org/project/datastax\"\u003e\n        \u003cimg alt=\"PyPI\" src=\"https://img.shields.io/pypi/v/datastax?color=blueviolet\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://pypi.org/project/datastax/#files\"\u003e\u003cimg alt=\"PyPI Downloads\" src=\"https://img.shields.io/pypi/dm/datastax.svg?label=Pypi%20downloads\"\u003e\u003c/a\u003e\n    \u003cbr\u003e\n    \u003ca href=\"https://github.com/warmachine028/datastax/releases/\"\u003e \n        \u003cimg src=\"https://img.shields.io/github/v/release/warmachine028/datastax?color=brightgreen\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/warmachine028/datastax/releases/tag/\"\u003e \n        \u003cimg src=\"https://img.shields.io/github/v/release/warmachine028/datastax?color=lightgreen\u0026include_prereleases\u0026label=pre%20release\"\u003e \n    \u003c/a\u003e\n    \u003cbr\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/warmachine028/datastax\"\u003e\n    \u003ca href= \"https://github.com/warmachine028/datastax/blob/main/LICENSE\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/license/warmachine028/datastax?color=orange\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/warmachine028/datastax/network/members\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/forks/warmachine028/datastax?color=cyan\"\u003e\n    \u003c/a\u003e\n    \u003cbr\u003e\n\u003c/div\u003e\n\n# [dataStax](https://github.com/warmachine028/datastax)\n\n## What's New?\n\n- Refactored Trees\n- Added Nodes SubPackage\n- Separated TreeNodes into Nodes\n- Added Tables SubPackage\n- Added Colors and ColorCodes in Utils\n- Refactored Lists\n- Removed `__repr__` overrides\n- Added Exceptions in Utils\n- Added Warnings in Utils\n- Added new workflows\n- Added datastax.Wiki\n\n## Table of Contents\n\n- [What's New](#whats-new)\n- [Introduction](#introduction)\n- [Problem Statement](#problem-statement)\n- [Benefits](#benefits)\n- [Requirements](#requirements)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Documentation](#documentation)\n- [License](#license)\n\n## Introduction\n\n- This library offers a simple yet powerful solution for implementing common abstract data structures.\n- With a pure Python implementation, it provides representations of tree, linked list, and array-based data structures\n  accessible through a basic command prompt interface.\n- The package includes visualization features that enhance the understanding of each data structure.\n- Students can greatly benefit from utilizing this package for their learning and educational purposes.\n- Please note that this project is currently a work in progress and undergoing active development.\n\n## Problem Statement\n\n- Many CS students encounter difficulties in comprehending the intricate internal architecture of complex\n  Abstract Data Types (ADTs) during the initial stages of their B.Tech course.\n- When attempting to solve coding challenges that involve writing test cases using these ADTs, it becomes excessively\n  burdensome to manually create these data structures from scratch.\n- Furthermore, while developing programs that implement these ADTs, numerous errors are encountered due to the\n  inability to visualize and understand the underlying processes of these data structures.\n\n## Benefits\n\n- Swift installation process\n- Efficient and prompt updates\n- Minimal disk space usage due to its small size\n- No additional modules or dependencies needed\n- Developed entirely from scratch\n- Upcoming user-friendly documentation\n- Command line demonstration for easy usage\n\n## Requirements\n\n- Runs on latest Python 3.11+\n- (Suggesting you to always update to the latest python version)\n\n## Installation\n\n1. Use the python package manager [pip](https://pip.pypa.io/en/stable/) to install datastax.\n\n```bash\npip install datastax\n```\n\n## Usage\n\n### Demo\n\n- To get a demo of the library use the following command\n    - **Windows**:\n\n  ```bash\n  \u003e py -m datastax \n  ```\n    - **Unix based systems**:\n\n  ```bash\n  $ python3 -m datastax\n  ```\n    - _Result_\n  ```bash\n  Available modules are:\n  1. LinkedLists\n  2. Trees\n  3. Arrays\n  \n  Usage\n  \u003e py datastax \u003cdata-structure\u003e [data]\n  Data Structures:\n  -\u003e  Trees          Hierarchical DS\n  -\u003e  linkedlists    Linear DS\n  -\u003e  arrays         Fixed Size Linear DS\n\n  ```\n- Then follow as the instruction guides\n\n```bash\n\u003e py -m datastax linkedlist 1 2 3 4\n  Visuals for LinkedLists:\n\n  1. Singly Linked List:\n     HEAD                                         TAIL\n ┌─────╥────┐   ┌─────╥────┐   ┌─────╥────┐   ┌─────╥────┐\n │  1  ║  -----\u003e│  2  ║  -----\u003e│  3  ║  -----\u003e│  4  ║  -----\u003e NULL\n └─────╨────┘   └─────╨────┘   └─────╨────┘   └─────╨────┘\n\n\n  2. Doubly Linked List:\n               HEAD                                                        TAIL\n         ┌────╥─────╥────┐   ┌────╥─────╥────┐   ┌────╥─────╥────┐   ┌────╥─────╥────┐\n NULL \u003c-----  ║  1  ║  \u003c-------\u003e  ║  2  ║  \u003c-------\u003e  ║  3  ║  \u003c-------\u003e  ║  4  ║  -----\u003e NULL\n         └────╨─────╨────┘   └────╨─────╨────┘   └────╨─────╨────┘   └────╨─────╨────┘\n  ...\n```\n\n### Practical Usage\n\n- **Queue**\n\n![queue](https://github.com/warmachine028/datastax/assets/75939390/e62ba451-f499-45dc-bcb9-9e29ebfe6dbd)\n\n![queue_output](https://github.com/warmachine028/datastax/assets/75939390/daecb209-d459-4374-96e0-816deb08dcde)\n\n---------------------------------------------------\n\n- **BinaryTree**\n\n![binaryTree](https://github.com/warmachine028/datastax/assets/75939390/7228c4b4-def7-4c6b-9e29-e6e244c2c4c1)\n\n![binaryTree_output](https://github.com/warmachine028/datastax/assets/75939390/2357fa58-3122-47ad-ac7f-f67d72ef6e8c)\n\n---------------------------------------------------\n\n- **MinHeapTree**\n\n![mht](https://github.com/warmachine028/datastax/assets/75939390/1c00a207-9ea0-4965-898f-29e37883fac5)\n\n![mht_output](https://github.com/warmachine028/datastax/assets/75939390/fcfe24d9-6b80-4b16-873c-3f5c3d808d70)\n\n---------------------------------------------------\n\n- **ThreadedBinaryTree**\n\n![tbt](https://github.com/warmachine028/datastax/assets/75939390/ab2f2572-1474-4d82-9138-b8ee85869114)\n\n![tbt_output](https://github.com/warmachine028/datastax/assets/75939390/9e77c5dc-082c-471b-90d5-33792673bdf3)\n\n---------------------------------------------------\n\n- **SumSegmentTree**\n\n![sst](https://github.com/warmachine028/datastax/assets/75939390/7bdcfd6e-37ac-4421-b6d2-acd59cf4976c)\n\n![sst_output](https://github.com/warmachine028/datastax/assets/75939390/3a3f1de2-72e8-4b1d-88c7-40e4dcc11215)\n\n---------------------------------------------------\n\n- **HuffmanTree**\n\n![hft](https://github.com/warmachine028/datastax/assets/75939390/bab7da94-624f-40ac-b746-463157e84cdf)\n\n![hft_output](https://github.com/warmachine028/datastax/assets/75939390/2de13da6-8eaa-4e62-a06a-8dbf91c008a2)\n\n---------------------------------------------------\n\n- **RedBlackTree**\n\n![rbt](https://github.com/warmachine028/datastax/assets/75939390/8d924d6e-d63a-4891-bf9e-c7acdb3775ba)\n\n![rbt_output](https://github.com/warmachine028/datastax/assets/75939390/3af4ceb6-1e68-4906-ba39-db84dbf274f0)\n\n## Documentation\n\n- For detailed documentation. See [documentation](https://github.com/warmachine028/datastax/wiki)\n- (Still in progress) \n\n## License\n\n- see [LICENSE]\n\n**Pritam, 2023**\n\n[license]: https://github.com/warmachine028/datastax/blob/main/LICENSE\n\n\u003c!-- 03/08/23 --\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarmachine028%2Fdatastax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwarmachine028%2Fdatastax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarmachine028%2Fdatastax/lists"}