{"id":21908743,"url":"https://github.com/mbn-code/pysort","last_synced_at":"2025-03-22T07:47:38.917Z","repository":{"id":183311462,"uuid":"669923922","full_name":"mbn-code/PySort","owner":"mbn-code","description":"Python Sorting Visualised. ","archived":false,"fork":false,"pushed_at":"2024-10-31T00:56:16.000Z","size":644,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T08:11:37.746Z","etag":null,"topics":["algorithm","asd","matplotlib","python","python3","sort","visualization"],"latest_commit_sha":null,"homepage":"https://mbn-code.dk","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mbn-code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-23T21:45:17.000Z","updated_at":"2024-11-15T18:55:48.000Z","dependencies_parsed_at":"2023-07-23T22:27:58.137Z","dependency_job_id":"ac99dc17-b601-48a7-86c1-ae4bb8fa0451","html_url":"https://github.com/mbn-code/PySort","commit_stats":null,"previous_names":["collinedward/pysort","mbn-code/pysort"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbn-code%2FPySort","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbn-code%2FPySort/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbn-code%2FPySort/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbn-code%2FPySort/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mbn-code","download_url":"https://codeload.github.com/mbn-code/PySort/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244924753,"owners_count":20532873,"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":["algorithm","asd","matplotlib","python","python3","sort","visualization"],"created_at":"2024-11-28T17:13:46.874Z","updated_at":"2025-03-22T07:47:38.892Z","avatar_url":"https://github.com/mbn-code.png","language":"Python","readme":"# PySort\n\nPython Sorting Visualized.\n\n## Sorting Algorithm Visualization\n\nThis repository contains a Python script that visualizes various sorting algorithms using `matplotlib` to create an animated visualization of the sorting process.\n\n## Usage\n\n1. Ensure you have Python and required dependencies installed:\n\n    ```bash\n    pip install matplotlib\n    ```\n\n2. Run `src/main.py`\n3. Use the interactive interface to:\n   - Select sorting algorithms using buttons\n   - Adjust array size using the input box\n   - Control animation speed using the slider\n   - Reset data with the reset button\n\n## Supported Sorting Algorithms\n\nCurrently implemented:\n\n- QuickSort (O(n log n) average case)\n- BubbleSort (O(n²))\n\n## Visualization Features\n\n- Interactive GUI with matplotlib\n- Real-time animation of sorting process\n- Color-coded visualization:\n  - Yellow: Elements being compared\n  - Red: Elements being swapped\n  - Light blue: Unsorted elements\n- Adjustable animation speed via slider\n- Customizable array size\n- Reset functionality to generate new random data\n\n## Project Structure\n\n```bash\nsrc/\n├── main.py           # Main visualization interface\n└── includes/         # Sorting algorithm implementations\n    ├── quick.py      # QuickSort implementation\n    └── bubble.py     # BubbleSort implementation\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbn-code%2Fpysort","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmbn-code%2Fpysort","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbn-code%2Fpysort/lists"}