mo-collections


Namemo-collections JSON
Version 5.628.24136 PyPI version JSON
download
home_pagehttps://github.com/klahnakoski/mo-collections
SummaryMore Collections! Some useful data structures for dealing with Data
upload_time2024-05-15 03:10:26
maintainerNone
docs_urlNone
authorKyle Lahnakoski
requires_pythonNone
licenseMPL 2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # More Collections

Some useful data structures for collections of data


### Class `Index`

Provide indexing for a list. Inner properties can be used for keys, and keys can be tuples of properties.  

### Class `UniqueIndex`

Same as Index, but includes checks and optimization to ensure members' keys are unique.

### Class `Queue`

A `Queue` is a list, with `add()` and `pop()`. It ensures members in the queue are not duplicated by not adding the ones already found in the queue.

### Class `Matrix`

A multidimensional grid of values that can be used like a `Mapping` from a-tuple-of-coordinates to the value at that coordinate. Plus a few other convenience methods.

This is a naive implementation. The hope it is a simple facade to a faster implementation.

### Class `Relation`

Store the many-to-many relations between two domains     

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/klahnakoski/mo-collections",
    "name": "mo-collections",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Kyle Lahnakoski",
    "author_email": "kyle@lahnakoski.com",
    "download_url": "https://files.pythonhosted.org/packages/24/d9/e5428e9d70ca0a39fa1941bb4e63d5753c9b76f49da9bcb5961a2b52dcf8/mo_collections-5.628.24136.tar.gz",
    "platform": null,
    "description": "# More Collections\r\n\r\nSome useful data structures for collections of data\r\n\r\n\r\n### Class `Index`\r\n\r\nProvide indexing for a list. Inner properties can be used for keys, and keys can be tuples of properties.  \r\n\r\n### Class `UniqueIndex`\r\n\r\nSame as Index, but includes checks and optimization to ensure members' keys are unique.\r\n\r\n### Class `Queue`\r\n\r\nA `Queue` is a list, with `add()` and `pop()`. It ensures members in the queue are not duplicated by not adding the ones already found in the queue.\r\n\r\n### Class `Matrix`\r\n\r\nA multidimensional grid of values that can be used like a `Mapping` from a-tuple-of-coordinates to the value at that coordinate. Plus a few other convenience methods.\r\n\r\nThis is a naive implementation. The hope it is a simple facade to a faster implementation.\r\n\r\n### Class `Relation`\r\n\r\nStore the many-to-many relations between two domains     \r\n",
    "bugtrack_url": null,
    "license": "MPL 2.0",
    "summary": "More Collections! Some useful data structures for dealing with Data",
    "version": "5.628.24136",
    "project_urls": {
        "Homepage": "https://github.com/klahnakoski/mo-collections"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "37ee7943d7e15219e928fdaff6b1178c13f0666e8a0fe7200b493819412b9682",
                "md5": "9dbfe5ebbbcea1b36de9e25022e1bf6d",
                "sha256": "14d011bd80b381dd32d3050ef9be37d6aea3e8314bfc3e7a1922ad0be1b4ded5"
            },
            "downloads": -1,
            "filename": "mo_collections-5.628.24136-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9dbfe5ebbbcea1b36de9e25022e1bf6d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 22178,
            "upload_time": "2024-05-15T03:10:24",
            "upload_time_iso_8601": "2024-05-15T03:10:24.710925Z",
            "url": "https://files.pythonhosted.org/packages/37/ee/7943d7e15219e928fdaff6b1178c13f0666e8a0fe7200b493819412b9682/mo_collections-5.628.24136-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "24d9e5428e9d70ca0a39fa1941bb4e63d5753c9b76f49da9bcb5961a2b52dcf8",
                "md5": "a08edb92e8822b9b6a9b5fc338f15669",
                "sha256": "b290e73ba9d401d95f04f8f60e9c9f6110eaf1def8cdd2a286c442b0ad60db76"
            },
            "downloads": -1,
            "filename": "mo_collections-5.628.24136.tar.gz",
            "has_sig": false,
            "md5_digest": "a08edb92e8822b9b6a9b5fc338f15669",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 18473,
            "upload_time": "2024-05-15T03:10:26",
            "upload_time_iso_8601": "2024-05-15T03:10:26.649745Z",
            "url": "https://files.pythonhosted.org/packages/24/d9/e5428e9d70ca0a39fa1941bb4e63d5753c9b76f49da9bcb5961a2b52dcf8/mo_collections-5.628.24136.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-15 03:10:26",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "klahnakoski",
    "github_project": "mo-collections",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "mo-collections"
}
        
Elapsed time: 0.24977s