| Name | dotsy JSON |
| Version |
0.2.0
JSON |
| download |
| home_page | https://github.com/lcdavis13/dotsy |
| Summary | dot-accessible dictionaries (dicy) and dictionary-containing encyclopedia classes (ency) |
| upload_time | 2024-08-17 01:28:40 |
| maintainer | None |
| docs_url | None |
| author | Levi Davis |
| requires_python | >=3.6 |
| license | None |
| keywords |
|
| VCS |
 |
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
# dot-accessible dictionaries and dictionary-containing classes
`dicy`: dot-accessible dictionary
`ency`: dot-accessible "ecyclopedia" - a custom class containing one or more dictionaries, and possibly other data.
This is intended to be used as an abstract class, inherited in your custom data class.
If there are multiple contained dictionaries, they are prioritized based on the explicit ordering. When there are two or more identical keys exist in contained dictionaries, the priority determines which is accessed.
Features:
- dot-accessed create*/read/update/delete operations for dictionary keys
- IDE auto-completion**
- pickle serialization
*: Key creation can be dot-accessed for `dicy`. In `ency`, dot-create adds a new class attribute, as is standard in python.
**: Auto-complete is tested in pycharm but others should work.
# Installation
> pip install dotsy
# Usage
> from dotsy import dicy, ency
Raw data
{
"_id": null,
"home_page": "https://github.com/lcdavis13/dotsy",
"name": "dotsy",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Levi Davis",
"author_email": "levi.davis.co@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/dd/4f/3b87a85ac6851aa607829ccfeb55862b8d5c23b17d0fd0306d9a4f265d47/dotsy-0.2.0.tar.gz",
"platform": null,
"description": "# dot-accessible dictionaries and dictionary-containing classes\r\n\r\n`dicy`: dot-accessible dictionary\r\n\r\n`ency`: dot-accessible \"ecyclopedia\" - a custom class containing one or more dictionaries, and possibly other data. \r\nThis is intended to be used as an abstract class, inherited in your custom data class. \r\nIf there are multiple contained dictionaries, they are prioritized based on the explicit ordering. When there are two or more identical keys exist in contained dictionaries, the priority determines which is accessed.\r\n\r\nFeatures:\r\n- dot-accessed create*/read/update/delete operations for dictionary keys\r\n- IDE auto-completion**\r\n- pickle serialization\r\n\r\n*: Key creation can be dot-accessed for `dicy`. In `ency`, dot-create adds a new class attribute, as is standard in python. \r\n**: Auto-complete is tested in pycharm but others should work.\r\n\r\n\r\n# Installation\r\n\r\n> pip install dotsy\r\n\r\n# Usage\r\n\r\n> from dotsy import dicy, ency\r\n\r\n",
"bugtrack_url": null,
"license": null,
"summary": "dot-accessible dictionaries (dicy) and dictionary-containing encyclopedia classes (ency)",
"version": "0.2.0",
"project_urls": {
"Homepage": "https://github.com/lcdavis13/dotsy"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bdf48dd6de307dcf4ddd14c89586f6d851ba9621f9e0d66103910ae450e225b7",
"md5": "072c770797c32890df3cd9be71a9e0ae",
"sha256": "8600b1c3155fd8c528bcc8c3d1e3edd97c26924c68d2ce97dbf6df013da6d24c"
},
"downloads": -1,
"filename": "dotsy-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "072c770797c32890df3cd9be71a9e0ae",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 4491,
"upload_time": "2024-08-17T01:28:38",
"upload_time_iso_8601": "2024-08-17T01:28:38.859127Z",
"url": "https://files.pythonhosted.org/packages/bd/f4/8dd6de307dcf4ddd14c89586f6d851ba9621f9e0d66103910ae450e225b7/dotsy-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "dd4f3b87a85ac6851aa607829ccfeb55862b8d5c23b17d0fd0306d9a4f265d47",
"md5": "464d15d79b41fd31bac8c545c5817e13",
"sha256": "0804a2eb311861489fcd38b0483490d50616f7f6dbd00bfaf70844960ebf6447"
},
"downloads": -1,
"filename": "dotsy-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "464d15d79b41fd31bac8c545c5817e13",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 4298,
"upload_time": "2024-08-17T01:28:40",
"upload_time_iso_8601": "2024-08-17T01:28:40.131587Z",
"url": "https://files.pythonhosted.org/packages/dd/4f/3b87a85ac6851aa607829ccfeb55862b8d5c23b17d0fd0306d9a4f265d47/dotsy-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-17 01:28:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "lcdavis13",
"github_project": "dotsy",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "dotsy"
}