{"id":24718218,"url":"https://github.com/kirtish16/visdas","last_synced_at":"2025-03-22T10:30:41.580Z","repository":{"id":62587536,"uuid":"409271553","full_name":"kirtish16/VisDaS","owner":"kirtish16","description":"A python package for visualizing data structures","archived":false,"fork":false,"pushed_at":"2021-09-22T18:49:24.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T06:59:15.328Z","etag":null,"topics":["array","data-structures","package","python","visualization"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/visdas/","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/kirtish16.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}},"created_at":"2021-09-22T16:09:06.000Z","updated_at":"2021-12-17T08:52:13.000Z","dependencies_parsed_at":"2022-11-03T22:10:21.114Z","dependency_job_id":null,"html_url":"https://github.com/kirtish16/VisDaS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirtish16%2FVisDaS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirtish16%2FVisDaS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirtish16%2FVisDaS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirtish16%2FVisDaS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kirtish16","download_url":"https://codeload.github.com/kirtish16/VisDaS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244943486,"owners_count":20536244,"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":["array","data-structures","package","python","visualization"],"created_at":"2025-01-27T10:13:37.722Z","updated_at":"2025-03-22T10:30:41.548Z","avatar_url":"https://github.com/kirtish16.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VisDaS\n### **Vis**ualizing **Da**ta **S**tructure\n\n\nA python package for visualizing data structures and its contents\n\n[Data structures](https://en.wikipedia.org/wiki/Data_structure) form an essential part of computer science. A data structure helps in organizing, managing and storing data in a computer for efficient access and modification. \n\nVisualization of data structure makes it easy to understand the data structure and how elements of that data structure are connected to each other. \n\nThis package helps in providing an easy way to get an image of visualization of the data structure and its elements. You can also perform basic operations on your array to understand the result of the function  \n\nIt provides a way to visualize the contents of data structure and how the elements of data structure are related to each other. \n\nThe package currently supports visualization of following data structures : \n+ **[Array](https://en.wikipedia.org/wiki/Array_data_structure)**\n\n\n## Examples of How To Use\n\n```Python\nfrom visdas import Array\n\narr = Array([10,15,20,25])\narr.insert(30)\narr.generate(\"array.png\")\n```\n\n### array.png\n\n![array](tests/array.png)\n\n## Function Description\n\n#### Array \n+ get()\n\n    Returns the array \n    ```Python\n    arr = Array([100,200,300])\n    print(arr.get())\n    ```\n    \n+ insert(element,index) \n\n    Inserts an element at given index. If the index is not specified then it appends the element to end of array.\n    ```Python\n    arr = Array()\n    arr.insert(30)\n    # Appends 30 to end of array\n    print(arr.get())\n    # [30]\n    arr.insert(0,10)\n    # Inserts 10 at the index 0 of array\n    print(arr.get())\n    # [10,30]\n    ```\n    \n+ remove(element) \n\n    Removes the first occurence of an element from the array\n    ```Python\n    arr = Array([10,20,30,40])\n    arr.remove(30)\n    # Removes the first occurence of 30 \n    print(arr.get())\n    # [10,20,40]\n    ```\n+ len()\n\n    Returns the length of array\n    ```Python\n    arr = Array([12,14,16])\n    print(arr.len())\n    # 3\n    ```\n    \n+ generate()\n\n    Generates the image of array with specifies parameters\n    ```Python\n    arr = Array([12,14,16])\n    arr.generate(\"myArray.png\",\"black\",\"white\")\n    ```\n    ![myarray](tests/myArray.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkirtish16%2Fvisdas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkirtish16%2Fvisdas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkirtish16%2Fvisdas/lists"}