# 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/18/61/f3b4b76e0e6487e7ff688c773c13b2a53a2d7505c87b7e2ea897c7bae834/mo_collections-5.672.25036.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.672.25036",
"project_urls": {
"Homepage": "https://github.com/klahnakoski/mo-collections"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "523ae5c25762d04d98a973fd5b18621c5ca70ed12abb9b7873f1ed7533d4d26c",
"md5": "d8447c05448cd558acabbd7d587655e4",
"sha256": "c923ba3708166545f0769e0547b9ad2a4a8dd6070f6519a08b7e64cede4ec780"
},
"downloads": -1,
"filename": "mo_collections-5.672.25036-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d8447c05448cd558acabbd7d587655e4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 22336,
"upload_time": "2025-02-05T23:22:57",
"upload_time_iso_8601": "2025-02-05T23:22:57.429791Z",
"url": "https://files.pythonhosted.org/packages/52/3a/e5c25762d04d98a973fd5b18621c5ca70ed12abb9b7873f1ed7533d4d26c/mo_collections-5.672.25036-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1861f3b4b76e0e6487e7ff688c773c13b2a53a2d7505c87b7e2ea897c7bae834",
"md5": "da01155a0713376137a87e52a71f9f86",
"sha256": "2065c1e2414d543ae81fedb47b4569ffc387636da5b3a1cc9b19cab0d604146e"
},
"downloads": -1,
"filename": "mo_collections-5.672.25036.tar.gz",
"has_sig": false,
"md5_digest": "da01155a0713376137a87e52a71f9f86",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 18501,
"upload_time": "2025-02-05T23:22:58",
"upload_time_iso_8601": "2025-02-05T23:22:58.566570Z",
"url": "https://files.pythonhosted.org/packages/18/61/f3b4b76e0e6487e7ff688c773c13b2a53a2d7505c87b7e2ea897c7bae834/mo_collections-5.672.25036.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-05 23:22:58",
"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"
}