{"id":13502495,"url":"https://github.com/gmr/flatdict","last_synced_at":"2026-02-15T20:14:11.149Z","repository":{"id":4250179,"uuid":"5375799","full_name":"gmr/flatdict","owner":"gmr","description":"Python module for interacting with nested dicts as a single level dict with delimited keys.","archived":false,"fork":false,"pushed_at":"2026-02-14T01:20:08.000Z","size":163,"stargazers_count":115,"open_issues_count":19,"forks_count":40,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-02-14T08:27:10.990Z","etag":null,"topics":["dict","hacktoberfest","python","python3"],"latest_commit_sha":null,"homepage":"https://flatdict.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gmr.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-08-10T23:55:12.000Z","updated_at":"2026-02-14T01:20:13.000Z","dependencies_parsed_at":"2024-06-18T14:13:51.941Z","dependency_job_id":null,"html_url":"https://github.com/gmr/flatdict","commit_stats":{"total_commits":162,"total_committers":13,"mean_commits":"12.461538461538462","dds":"0.48765432098765427","last_synced_commit":"f86186671944e39ae194b49c5f444d69ffa37424"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/gmr/flatdict","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmr%2Fflatdict","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmr%2Fflatdict/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmr%2Fflatdict/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmr%2Fflatdict/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gmr","download_url":"https://codeload.github.com/gmr/flatdict/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmr%2Fflatdict/sbom","scorecard":{"id":430903,"data":{"date":"2025-08-11","repo":{"name":"github.com/gmr/flatdict","commit":"f86186671944e39ae194b49c5f444d69ffa37424"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 2/21 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yaml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/gmr/flatdict/deploy.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy.yaml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/gmr/flatdict/deploy.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/testing.yaml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/gmr/flatdict/testing.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/testing.yaml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/gmr/flatdict/testing.yaml/master?enable=pin","Warn: pipCommand not pinned by hash: bootstrap:4","Warn: pipCommand not pinned by hash: bootstrap:5","Warn: pipCommand not pinned by hash: .github/workflows/testing.yaml:25","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   3 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/deploy.yaml:1","Warn: no topLevel permission defined: .github/workflows/testing.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 11 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T03:19:05.039Z","repository_id":4250179,"created_at":"2025-08-19T03:19:05.039Z","updated_at":"2025-08-19T03:19:05.039Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29488011,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T19:29:10.908Z","status":"ssl_error","status_checked_at":"2026-02-15T19:29:10.419Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["dict","hacktoberfest","python","python3"],"created_at":"2024-07-31T22:02:15.829Z","updated_at":"2026-02-15T20:14:11.133Z","avatar_url":"https://github.com/gmr.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"FlatDict\n========\n\n|Version| |Status| |Coverage| |License|\n\n``FlatDict`` and ``FlatterDict`` are a dict classes that allows for single level,\ndelimited key/value pair mapping of nested dictionaries. You can interact with\n``FlatDict`` and ``FlatterDict`` like a normal dictionary and access child\ndictionaries as you normally would or with the composite key.\n\n*For example:*\n\n.. code-block:: python\n\n    value = flatdict.FlatDict({'foo': {'bar': 'baz', 'qux': 'corge'}})\n\n*would be the same as:*\n\n.. code-block:: python\n\n    value == {'foo:bar': 'baz', 'foo:qux': 'corge'}\n\n*values can be accessed as:*\n\n.. code-block:: python\n\n    print(foo['foo:bar'])\n\n    # or\n\n    print(foo['foo']['bar'])\n\nAdditionally, lists and tuples are also converted into dicts using ``enumerate()``,\nusing the ``FlatterDict`` class.\n\n*For example:*\n\n.. code-block:: python\n\n    value = flatdict.FlatterDict({'list': ['a', 'b', 'c']})\n\n*will be the same as:*\n\n.. code-block:: python\n\n    value == {'list:0': 'a', 'list:1': 'b', 'list:2': 'c'}\n\nAPI\n---\n\nDocumentation is available at https://flatdict.readthedocs.io\n\nVersioning\n----------\nThis package attempts to use semantic versioning. API changes are indicated\nby the major version, non-breaking improvements by the minor, and bug fixes\nin the revision.\n\nIt is recommended that you pin your targets to greater or equal to the current\nversion and less than the next major version.\n\nInstallation\n------------\n\n.. code-block:: bash\n\n    $ pip install flatdict\n\nNote that as of 4.0, setuptools 39.2 or higher is required for installation.\n\n.. |Version| image:: https://img.shields.io/pypi/v/flatdict.svg?\n   :target: https://pypi.python.org/pypi/flatdict\n\n.. |Status| image:: https://github.com/gmr/flatdict/workflows/Testing/badge.svg\n   :target: https://github.com/gmr/flatdict/actions\n   :alt: Build Status\n\n.. |Coverage| image:: https://img.shields.io/codecov/c/github/gmr/flatdict.svg?\n   :target: https://codecov.io/github/gmr/flatdict?branch=master\n\n.. |License| image:: https://img.shields.io/pypi/l/flatdict.svg?\n   :target: https://flatdict.readthedocs.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmr%2Fflatdict","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgmr%2Fflatdict","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmr%2Fflatdict/lists"}