magicdsa


Namemagicdsa JSON
Version 0.1.2 PyPI version JSON
download
home_pageNone
SummaryA powerful Python package to explore and learn 300+ algorithms with a single function call.
upload_time2025-10-17 05:06:57
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseMIT
keywords algorithms data-structures dsa learning python magic interview-prep
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # πŸͺ„ Magic - The Ultimate DSA Algorithm Library

[![PyPI version](https://badge.fury.io/py/magicdsa.svg)](https://pypi.org/project/magicdsa/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Python](https://img.shields.io/badge/python-3.8%2B-blue)](https://www.python.org/)

πŸš€ **Magic** is a beginner-friendly Python package that contains **hundreds of Data Structures and Algorithms (DSA)** implementations β€” all organized, categorized, and ready to use or learn from.

Whether you’re preparing for coding interviews, learning DSA from scratch, or building algorithmic projects, `magic` is your one-stop toolkit.

---

## ✨ Features

- πŸ“š 14+ Categories of algorithms (Arrays, Linked Lists, Trees, Graphs, DP, and more)
- πŸ” Easy access: `magic.show("<algorithm_name>")` to see any implementation
- 🧠 Educational: Every algorithm is beginner-friendly and well-commented
- πŸ“¦ Lightweight: Just one pip install and you’re ready to go!

---

## πŸ“¦ Installation

Install from PyPI (example name `magicdsa` β€” replace with your actual published name):

```bash
pip install --upgrade magicdsa
⚑️ Quick Start
import magic

# πŸ“ Show all categories
print(magic.show("category"))

# πŸ“š Show all algorithms in a specific category
print(magic.show("linked lists"))

# 🧠 Show full source code of a specific algorithm
print(magic.show("linearsearch"))

πŸ“š Available Categories

-Arrays & Strings

-Linked Lists

-Stack & Queue

-Recursion & Backtracking

-Binary Trees

-Binary Search Trees (BST)

-Heap / Priority Queue

-Graphs

-Dynamic Programming

-Trie

-Segment Tree & BIT

-Bit Manipulation

-Math & Number Theory

-Miscellaneous

🀝 Contributing

Contributions are welcome! Feel free to open issues or submit PRs to add new algorithms, fix bugs, or improve documentation.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "magicdsa",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "algorithms, data-structures, DSA, learning, python, magic, interview-prep",
    "author": null,
    "author_email": "Shivendra Singh <2k22.csai2211760@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/24/09/c0958bfec2e2739cbcf1557f8d8252b80bb4bb8f9568d5b4b73e61d948b8/magicdsa-0.1.2.tar.gz",
    "platform": null,
    "description": "# \ud83e\ude84 Magic - The Ultimate DSA Algorithm Library\r\n\r\n[![PyPI version](https://badge.fury.io/py/magicdsa.svg)](https://pypi.org/project/magicdsa/)\r\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\r\n[![Python](https://img.shields.io/badge/python-3.8%2B-blue)](https://www.python.org/)\r\n\r\n\ud83d\ude80 **Magic** is a beginner-friendly Python package that contains **hundreds of Data Structures and Algorithms (DSA)** implementations \u2014 all organized, categorized, and ready to use or learn from.\r\n\r\nWhether you\u2019re preparing for coding interviews, learning DSA from scratch, or building algorithmic projects, `magic` is your one-stop toolkit.\r\n\r\n---\r\n\r\n## \u2728 Features\r\n\r\n- \ud83d\udcda 14+ Categories of algorithms (Arrays, Linked Lists, Trees, Graphs, DP, and more)\r\n- \ud83d\udd0d Easy access: `magic.show(\"<algorithm_name>\")` to see any implementation\r\n- \ud83e\udde0 Educational: Every algorithm is beginner-friendly and well-commented\r\n- \ud83d\udce6 Lightweight: Just one pip install and you\u2019re ready to go!\r\n\r\n---\r\n\r\n## \ud83d\udce6 Installation\r\n\r\nInstall from PyPI (example name `magicdsa` \u2014 replace with your actual published name):\r\n\r\n```bash\r\npip install --upgrade magicdsa\r\n\u26a1\ufe0f Quick Start\r\nimport magic\r\n\r\n# \ud83d\udcc1 Show all categories\r\nprint(magic.show(\"category\"))\r\n\r\n# \ud83d\udcda Show all algorithms in a specific category\r\nprint(magic.show(\"linked lists\"))\r\n\r\n# \ud83e\udde0 Show full source code of a specific algorithm\r\nprint(magic.show(\"linearsearch\"))\r\n\r\n\ud83d\udcda Available Categories\r\n\r\n-Arrays & Strings\r\n\r\n-Linked Lists\r\n\r\n-Stack & Queue\r\n\r\n-Recursion & Backtracking\r\n\r\n-Binary Trees\r\n\r\n-Binary Search Trees (BST)\r\n\r\n-Heap / Priority Queue\r\n\r\n-Graphs\r\n\r\n-Dynamic Programming\r\n\r\n-Trie\r\n\r\n-Segment Tree & BIT\r\n\r\n-Bit Manipulation\r\n\r\n-Math & Number Theory\r\n\r\n-Miscellaneous\r\n\r\n\ud83e\udd1d Contributing\r\n\r\nContributions are welcome! Feel free to open issues or submit PRs to add new algorithms, fix bugs, or improve documentation.\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A powerful Python package to explore and learn 300+ algorithms with a single function call.",
    "version": "0.1.2",
    "project_urls": {
        "Documentation": "https://pypi.org/project/magic-algos/",
        "Homepage": "https://github.com/shivendrasingh11249/magic-algos",
        "Source": "https://github.com/shivendrasingh11249/magic-algos"
    },
    "split_keywords": [
        "algorithms",
        " data-structures",
        " dsa",
        " learning",
        " python",
        " magic",
        " interview-prep"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "f84c63cc0a38d555b3c7175bc177241fc51da6971b1a568c254ef64b111dc985",
                "md5": "28a904ff55c1a75541e6d5373cbf2680",
                "sha256": "3180a31a614db409140127174454cdcd3aa52186b971fb8b7938c9a2662eea49"
            },
            "downloads": -1,
            "filename": "magicdsa-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "28a904ff55c1a75541e6d5373cbf2680",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 35662,
            "upload_time": "2025-10-17T05:06:55",
            "upload_time_iso_8601": "2025-10-17T05:06:55.530903Z",
            "url": "https://files.pythonhosted.org/packages/f8/4c/63cc0a38d555b3c7175bc177241fc51da6971b1a568c254ef64b111dc985/magicdsa-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "2409c0958bfec2e2739cbcf1557f8d8252b80bb4bb8f9568d5b4b73e61d948b8",
                "md5": "c40d897069d62759306a17b39b6946d6",
                "sha256": "7278d78b8c0e713772a14c64124f6d4e6ceefb4dca8ca87f8eda35906dde97ce"
            },
            "downloads": -1,
            "filename": "magicdsa-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "c40d897069d62759306a17b39b6946d6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 36450,
            "upload_time": "2025-10-17T05:06:57",
            "upload_time_iso_8601": "2025-10-17T05:06:57.588768Z",
            "url": "https://files.pythonhosted.org/packages/24/09/c0958bfec2e2739cbcf1557f8d8252b80bb4bb8f9568d5b4b73e61d948b8/magicdsa-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-17 05:06:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "shivendrasingh11249",
    "github_project": "magic-algos",
    "github_not_found": true,
    "lcname": "magicdsa"
}
        
Elapsed time: 1.38544s