python-sorter


Namepython-sorter JSON
Version 1.2.0 PyPI version JSON
download
home_pagehttps://github.com/Deep-Dey/python-sorter
SummaryApply multiple type of sorting algorithm on your data and also compare which sorting is fastes on your data
upload_time2022-12-31 23:30:47
maintainer
docs_urlNone
authorDeep Dey
requires_python
licenseMIT
keywords sorting python buublesort quicksort mergesort
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # python-sorter

A **Python** package to apply multiple type of sorting algorithm on your data and also compare which sorting is fastes on your data. Visit the page for <a href="https://pypi.org/project/python-sorter/">python-sorter</a>

## Installation
    
    pip install python-sorter 

## Usage

    import data_sorter
    
    arr = [0.32, 0.33, 0.37, 0.42, 0.47, 0.51, 0.52]
    
    ####### To perform sorting #########
    arr = data_sorter.bubble_sort(arr)
    print(arr)

    ##### To compare execution time between different algos ######
    
    # apply all sorting technique
    result = data_sorter.get_comparison(arr)

    # specify which sorting algorithm to apply
    result = data_sorter.get_comparison(arr, ['bubble_sort'])

    ##### To plot execution time between different algos ######

    # apply all sorting technique
    result = data_sorter.plot_comparison(arr)

    # specify which sorting algorithm to apply
    result = data_sorter.plot_comparison(arr, ['bubble_sort'])


# Available sorting algorithms

    - brick_sort
    - bubble_sort
    - bucket_sort (only for float data)
    - comb_sort
    - counting_sort (only for integer data)
    - cycle_sort
    - gnome_sort
    - heap_sort
    - insertion_sort
    - intro_sort
    - merge_sort
    - pigeonhole_sort (only for integer data)
    - quick_sort
    - radix_sort
    - selection_sort
    - stooge_sort
    - strand_sort
    - tree_sort

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Deep-Dey/python-sorter",
    "name": "python-sorter",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "sorting python buublesort quicksort mergesort",
    "author": "Deep Dey",
    "author_email": "deepdey10998@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/28/32/0e680277272b817b18d0a5f83096eb9e52b422b09428eca0bf8d389c9447/python-sorter-1.2.0.tar.gz",
    "platform": null,
    "description": "# python-sorter\r\n\r\nA **Python** package to apply multiple type of sorting algorithm on your data and also compare which sorting is fastes on your data. Visit the page for <a href=\"https://pypi.org/project/python-sorter/\">python-sorter</a>\r\n\r\n## Installation\r\n    \r\n    pip install python-sorter \r\n\r\n## Usage\r\n\r\n    import data_sorter\r\n    \r\n    arr = [0.32, 0.33, 0.37, 0.42, 0.47, 0.51, 0.52]\r\n    \r\n    ####### To perform sorting #########\r\n    arr = data_sorter.bubble_sort(arr)\r\n    print(arr)\r\n\r\n    ##### To compare execution time between different algos ######\r\n    \r\n    # apply all sorting technique\r\n    result = data_sorter.get_comparison(arr)\r\n\r\n    # specify which sorting algorithm to apply\r\n    result = data_sorter.get_comparison(arr, ['bubble_sort'])\r\n\r\n    ##### To plot execution time between different algos ######\r\n\r\n    # apply all sorting technique\r\n    result = data_sorter.plot_comparison(arr)\r\n\r\n    # specify which sorting algorithm to apply\r\n    result = data_sorter.plot_comparison(arr, ['bubble_sort'])\r\n\r\n\r\n# Available sorting algorithms\r\n\r\n    - brick_sort\r\n    - bubble_sort\r\n    - bucket_sort (only for float data)\r\n    - comb_sort\r\n    - counting_sort (only for integer data)\r\n    - cycle_sort\r\n    - gnome_sort\r\n    - heap_sort\r\n    - insertion_sort\r\n    - intro_sort\r\n    - merge_sort\r\n    - pigeonhole_sort (only for integer data)\r\n    - quick_sort\r\n    - radix_sort\r\n    - selection_sort\r\n    - stooge_sort\r\n    - strand_sort\r\n    - tree_sort\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Apply multiple type of sorting algorithm on your data and also compare which sorting is fastes on your data",
    "version": "1.2.0",
    "split_keywords": [
        "sorting",
        "python",
        "buublesort",
        "quicksort",
        "mergesort"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "2a41ff01180576a77937b14d095407ae",
                "sha256": "ea72b656c901bb91f43923d96d4a2a2c4a3511c3ea27f033c23af64170160edd"
            },
            "downloads": -1,
            "filename": "python-sorter-1.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "2a41ff01180576a77937b14d095407ae",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 13507,
            "upload_time": "2022-12-31T23:30:47",
            "upload_time_iso_8601": "2022-12-31T23:30:47.196122Z",
            "url": "https://files.pythonhosted.org/packages/28/32/0e680277272b817b18d0a5f83096eb9e52b422b09428eca0bf8d389c9447/python-sorter-1.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-31 23:30:47",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "Deep-Dey",
    "github_project": "python-sorter",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "python-sorter"
}
        
Elapsed time: 0.02943s