sortedmultiset


Namesortedmultiset JSON
Version 1.1.1 PyPI version JSON
download
home_page
SummaryA sorted multiset which is similar to multiset of cpp so can developers access,delete,search elements in O(log n) time which can make job easy.Helpful for coders.
upload_time2024-02-11 10:23:57
maintainer
docs_urlNone
authorRushikesh Sunil Kotkar
requires_python>=3.0.0
license
keywords python multiset
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Example Package

User Guide
[GitHub-flavored Markdown](https://github.com/rishiko/sortedmultiset/blob/main/User%20Guide)

1)A orderdmultiset is a module which has same behavior like cpp multiset.



2)it is most important for cosing community which help to grow python in coding community.

3)it has various functions like appending an element, erasing an element,searching an element,
poping out an element from left and poopoing out an element from right all operations done in O(log n) times.

4)we can make a ascending multiset as well as descending multiset via providing a parameter in object reverse=True for descending.

- How to create multiset :-->
    For asceding multiset:->
        var_name=sortedmultiset.sortedmultiset(reverse=False)#--->To create an object of ascending sorted multiset .
        -reverse=False is optional for ascending multiset it is bydefault parameter.
    For descending multiset:->
        var_name=sortedmultiset.sortedmultiset(reverse=True)#--->To create an object of descending sorted multiset.
        -reverse=True is required while creating descending multiset.
-Functions :-->
    var_name.append(element:int)#---> To add an element in  O(log n).
    var_name.search(element:int)#--->To search an element in O(log n).
    var_name.erase(element:int)#--->To delete an element in O(log n).
    var_name.popleft()#--------> To delete the First/Leftmost most element in O(log n).
    var_name.popright()#--------> To delete the Last/Rightmost most element in O(log n).

-To access all the stored elements u can use following syntax:-->
    var_name.multiset---> A list where all the element are stored.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "sortedmultiset",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.0.0",
    "maintainer_email": "",
    "keywords": "python,multiset",
    "author": "Rushikesh Sunil Kotkar",
    "author_email": "Rushikesh Sunil Kotkar <rshksh019@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/a5/27/fbd49809c13856a83491be29208df7dea13ba9a717964439860ec8faa108/sortedmultiset-1.1.1.tar.gz",
    "platform": null,
    "description": "# Example Package\r\n\r\nUser Guide\r\n[GitHub-flavored Markdown](https://github.com/rishiko/sortedmultiset/blob/main/User%20Guide)\r\n\r\n1)A orderdmultiset is a module which has same behavior like cpp multiset.\r\n\r\n\r\n\r\n2)it is most important for cosing community which help to grow python in coding community.\r\n\r\n3)it has various functions like appending an element, erasing an element,searching an element,\r\npoping out an element from left and poopoing out an element from right all operations done in O(log n) times.\r\n\r\n4)we can make a ascending multiset as well as descending multiset via providing a parameter in object reverse=True for descending.\r\n\r\n- How to create multiset :-->\r\n    For asceding multiset:->\r\n        var_name=sortedmultiset.sortedmultiset(reverse=False)#--->To create an object of ascending sorted multiset .\r\n        -reverse=False is optional for ascending multiset it is bydefault parameter.\r\n    For descending multiset:->\r\n        var_name=sortedmultiset.sortedmultiset(reverse=True)#--->To create an object of descending sorted multiset.\r\n        -reverse=True is required while creating descending multiset.\r\n-Functions :-->\r\n    var_name.append(element:int)#---> To add an element in  O(log n).\r\n    var_name.search(element:int)#--->To search an element in O(log n).\r\n    var_name.erase(element:int)#--->To delete an element in O(log n).\r\n    var_name.popleft()#--------> To delete the First/Leftmost most element in O(log n).\r\n    var_name.popright()#--------> To delete the Last/Rightmost most element in O(log n).\r\n\r\n-To access all the stored elements u can use following syntax:-->\r\n    var_name.multiset---> A list where all the element are stored.\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A sorted multiset which is similar to multiset of cpp so can developers access,delete,search elements in O(log n) time which can make job easy.Helpful for coders.",
    "version": "1.1.1",
    "project_urls": {
        "Homepage": "https://github.com/rishiko/sortedmultiset",
        "Issues": "https://github.com/rishiko/sortedmultiset/blob/main/User%20Guide"
    },
    "split_keywords": [
        "python",
        "multiset"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "abf0c74c4048c0a95512a2c0dfe0379e2185a3726396c02d1e8ba65fba59ce87",
                "md5": "bc94797bc8dff889c45613e429314fa3",
                "sha256": "edd404bbd2fc51d71e846cdb361da75ae60441b6a6f53406e443eea36a56da64"
            },
            "downloads": -1,
            "filename": "sortedmultiset-1.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bc94797bc8dff889c45613e429314fa3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.0.0",
            "size": 5478,
            "upload_time": "2024-02-11T10:23:55",
            "upload_time_iso_8601": "2024-02-11T10:23:55.322528Z",
            "url": "https://files.pythonhosted.org/packages/ab/f0/c74c4048c0a95512a2c0dfe0379e2185a3726396c02d1e8ba65fba59ce87/sortedmultiset-1.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a527fbd49809c13856a83491be29208df7dea13ba9a717964439860ec8faa108",
                "md5": "e17e1592d3e745be8e0b66f954845cc8",
                "sha256": "0beffe9470b885ca31fe61b750efb101984583bf3e1ca113084cfb18c2942b13"
            },
            "downloads": -1,
            "filename": "sortedmultiset-1.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "e17e1592d3e745be8e0b66f954845cc8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.0.0",
            "size": 4431,
            "upload_time": "2024-02-11T10:23:57",
            "upload_time_iso_8601": "2024-02-11T10:23:57.450439Z",
            "url": "https://files.pythonhosted.org/packages/a5/27/fbd49809c13856a83491be29208df7dea13ba9a717964439860ec8faa108/sortedmultiset-1.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-11 10:23:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "rishiko",
    "github_project": "sortedmultiset",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "sortedmultiset"
}
        
Elapsed time: 4.16461s