{"id":34107307,"url":"https://github.com/dvec/hotmarkup","last_synced_at":"2026-04-08T15:31:10.620Z","repository":{"id":57437562,"uuid":"270867983","full_name":"dvec/hotmarkup","owner":"dvec","description":"Synchronize data structure with markup file","archived":false,"fork":false,"pushed_at":"2020-09-13T23:10:12.000Z","size":75,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-17T01:13:34.130Z","etag":null,"topics":["arrays","configuration","configuration-loader","configuration-management","configurations","dictionaries","dictionary","json","markup","mit-license","pickle","python","python-library","python-package","python3","yaml"],"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/dvec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-09T00:53:14.000Z","updated_at":"2020-09-20T22:59:30.000Z","dependencies_parsed_at":"2022-09-15T11:14:12.056Z","dependency_job_id":null,"html_url":"https://github.com/dvec/hotmarkup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dvec/hotmarkup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvec%2Fhotmarkup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvec%2Fhotmarkup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvec%2Fhotmarkup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvec%2Fhotmarkup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dvec","download_url":"https://codeload.github.com/dvec/hotmarkup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvec%2Fhotmarkup/sbom","scorecard":{"id":360780,"data":{"date":"2025-08-11","repo":{"name":"github.com/dvec/hotmarkup","commit":"7de8ae0937c49e4bdfcdb291e80a794c4b14bcfc"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Code-Review","score":0,"reason":"Found 0/30 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":"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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md: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"}}]},"last_synced_at":"2025-08-18T10:48:06.892Z","repository_id":57437562,"created_at":"2025-08-18T10:48:06.892Z","updated_at":"2025-08-18T10:48:06.892Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31562685,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"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":["arrays","configuration","configuration-loader","configuration-management","configurations","dictionaries","dictionary","json","markup","mit-license","pickle","python","python-library","python-package","python3","yaml"],"created_at":"2025-12-14T18:05:35.523Z","updated_at":"2026-04-08T15:31:10.594Z","avatar_url":"https://github.com/dvec.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HOTMARKUP\n[![Build Status](https://travis-ci.com/dvec/hotmarkup.svg?branch=master)](https://travis-ci.com/dvec/hotmarkup)\n#### Synchronize data structure with markup file\n\nCurrently supported formats: **YAML**, **JSON**, **Pickle**\n\n#### Main features:\n - Work with Connection object as usual data structure. You can use features like array slices or methods of `dict` and `list`\n - JS-like accessing (foo.bar.buzz instead of foo['bar']['buzz'])\n - Mutations logging via `logging` module. Example below\n - Reload on file change (pass `reload=False` to connection constructor to disable)\n - Update file on every change (pass `save=False` to connection constructor to disable)\n - Immutable connections (pass `mutable=False` to connection constructor to enable)\n## Installation\n```shell script\npip install hotmarkup\n```\n## Examples\n#### [Reload](https://github.com/dvec/hotmarkup/blob/master/examples/reload.py)\n```python\nfrom hotmarkup import JsonConnection\n\nconnection = JsonConnection('example.json', default={'changed': False})\nprint(connection.changed)  # Out: False\nwith open('example.json', 'w') as f:\n    f.write('{\"changed\": true}')\nprint(connection.changed)  # Out: True\n```\n#### [Dump](https://github.com/dvec/hotmarkup/blob/master/examples/dump.py)\n```python\nfrom hotmarkup import JsonConnection\n\nconnection = JsonConnection('example.json', default={'changed': False})\nprint(open('example.json').read())  # Out: {\"changed\": false}\nconnection.changed = True\nprint(open('example.json').read())  # Out: {\"changed\": true}\n```\n#### [Logging](https://github.com/dvec/hotmarkup/blob/master/examples/log.py)\n```python\nimport logging\nfrom hotmarkup import YamlConnection\n\nlogging.basicConfig(level=logging.INFO)\nconnection = YamlConnection('example.yaml', default={'something_important': 'old_value'})\nconnection.something_important = 'new_value'\n```\nOutput:\n```\nINFO:example.yaml:Mutation UPDATE example.yaml.something_important=new_value\n```\n#### [Counter](https://github.com/dvec/hotmarkup/blob/master/examples/counter.py)\n```python\nfrom hotmarkup import YamlConnection\n\nconnection = YamlConnection('counter.yaml', default={'counter': 0})\nconnection.counter += 1\nprint(f'You run this program {connection.counter} times')\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvec%2Fhotmarkup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdvec%2Fhotmarkup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvec%2Fhotmarkup/lists"}