{"id":17141038,"url":"https://github.com/zphang/sndict","last_synced_at":"2025-04-13T10:12:53.374Z","repository":{"id":38040336,"uuid":"84984000","full_name":"zphang/sndict","owner":"zphang","description":"Structured Nested Dictionaries","archived":false,"fork":false,"pushed_at":"2024-12-07T13:16:48.000Z","size":139,"stargazers_count":2,"open_issues_count":16,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T10:12:48.477Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zphang.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.rst","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-14T18:31:25.000Z","updated_at":"2023-01-31T16:48:32.000Z","dependencies_parsed_at":"2024-03-23T08:27:54.306Z","dependency_job_id":"02eabb76-eb4b-4593-874c-cca9ae0b32bb","html_url":"https://github.com/zphang/sndict","commit_stats":{"total_commits":87,"total_committers":2,"mean_commits":43.5,"dds":"0.10344827586206895","last_synced_commit":"0e89a5aea43d3d03556dfa216c9e26306617072b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zphang%2Fsndict","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zphang%2Fsndict/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zphang%2Fsndict/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zphang%2Fsndict/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zphang","download_url":"https://codeload.github.com/zphang/sndict/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248695482,"owners_count":21146956,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T20:24:10.049Z","updated_at":"2025-04-13T10:12:53.349Z","avatar_url":"https://github.com/zphang.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"====\nHome\n====\n\n\n.. image:: https://img.shields.io/pypi/v/sndict.svg\n        :target: https://pypi.python.org/pypi/sndict\n\n.. image:: https://img.shields.io/travis/zphang/sndict.svg\n        :target: https://travis-ci.org/zphang/sndict\n\n.. image:: https://readthedocs.org/projects/sndict/badge/?version=latest\n        :target: https://sndict.readthedocs.io/en/latest/?badge=latest\n        :alt: Documentation Status\n\n.. image:: https://pyup.io/repos/github/zphang/sndict/shield.svg\n     :target: https://pyup.io/repos/github/zphang/sndict/\n     :alt: Updates\n\n\nNested Extensions to Python dictionaries\n\n* Free software: MIT license\n* Documentation: https://sndict.readthedocs.io\n* Code: https://github.com/zphang/sndict\n\n\nIntroduction\n------------\nThis module provides extensions to ``dicts`` in the python standard library, providing fast and clean manipulation of nested dictionary structures. This module exposes two new ``dict``-types:\n\n* ``NestedDict``/``ndict``: A light-weight wrapper for ``dict`` s that provides additional functionality for operations on nested dictionary structures.\n* ``StructuredNestedDict``/``sndict``: A heavy-weight data ``dict`` -based structure for operating on hierarchical data with rich functionality for filtering and transformation across nested levels.\n\nBoth implementations are use ``OrderedDict`` s under the hood.\n\nNo additional dependencies are required.\n\nFeatures\n--------\n\n* ``NestedDict``/``ndict``:\n    - Iterating over flattened keys and values\n    - Nested getting/setting operations\n    - Applicable to dictionaries of arbitrary and unbalanced depth\n\n* ``StructuredNestedDict``/``sndict``:\n    - ``flatten``/``stratify``/``rearrange`` methods allow for powerful and rich operations across different levels of hierarchy\n    - Nested getting/setting operations, including intelligent filtering via ``ix``\n    - Convenient data inspection via ``dim``, ``unique_keys``, etc\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzphang%2Fsndict","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzphang%2Fsndict","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzphang%2Fsndict/lists"}