{"id":18513249,"url":"https://github.com/tsuyukimakoto/glueplate","last_synced_at":"2026-05-02T02:34:55.246Z","repository":{"id":48295657,"uuid":"66699566","full_name":"tsuyukimakoto/glueplate","owner":"tsuyukimakoto","description":"config framework","archived":false,"fork":false,"pushed_at":"2022-11-05T08:41:19.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-27T21:08:28.200Z","etag":null,"topics":["configuration","framework","python","python3"],"latest_commit_sha":null,"homepage":null,"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/tsuyukimakoto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-27T06:22:18.000Z","updated_at":"2022-11-05T08:20:28.000Z","dependencies_parsed_at":"2023-01-22T03:48:05.584Z","dependency_job_id":null,"html_url":"https://github.com/tsuyukimakoto/glueplate","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/tsuyukimakoto/glueplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsuyukimakoto%2Fglueplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsuyukimakoto%2Fglueplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsuyukimakoto%2Fglueplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsuyukimakoto%2Fglueplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsuyukimakoto","download_url":"https://codeload.github.com/tsuyukimakoto/glueplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsuyukimakoto%2Fglueplate/sbom","scorecard":{"id":901239,"data":{"date":"2025-08-11","repo":{"name":"github.com/tsuyukimakoto/glueplate","commit":"022da64fedd476d62b9a0eec680544e9eb3066bb"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.9,"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":"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":"Code-Review","score":1,"reason":"Found 2/14 approved changesets -- score normalized to 1","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.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":"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":"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":"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/ci.yaml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/tsuyukimakoto/glueplate/ci.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yaml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/tsuyukimakoto/glueplate/ci.yaml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/ci.yaml:21","Warn: pipCommand not pinned by hash: .github/workflows/ci.yaml:22","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 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":"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":"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":"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:0","Info: FSF or OSI recognized license: MIT 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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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 29 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-24T15:39:28.568Z","repository_id":48295657,"created_at":"2025-08-24T15:39:28.568Z","updated_at":"2025-08-24T15:39:28.568Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32521108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["configuration","framework","python","python3"],"created_at":"2024-11-06T15:37:06.256Z","updated_at":"2026-05-02T02:34:55.219Z","avatar_url":"https://github.com/tsuyukimakoto.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# glueplate\n\nconfig framework\n\n[![Build Status](https://travis-ci.org/tsuyukimakoto/glueplate.svg?branch=master)](https://travis-ci.org/tsuyukimakoto/glueplate) [![codecov](https://codecov.io/gh/tsuyukimakoto/glueplate/branch/master/graph/badge.svg)](https://codecov.io/gh/tsuyukimakoto/glueplate) [![Updates](https://pyup.io/repos/github/tsuyukimakoto/glueplate/shield.svg)](https://pyup.io/repos/github/tsuyukimakoto/glueplate/) [![Python 3](https://pyup.io/repos/github/tsuyukimakoto/glueplate/python-3-shield.svg)](https://pyup.io/repos/github/tsuyukimakoto/glueplate/) [![codebeat badge](https://codebeat.co/badges/bb625f2e-572a-410f-9019-08006aac86cf)](https://codebeat.co/projects/github-com-tsuyukimakoto-glueplate-master)\n\n## What is Config framework?\n\nYour framework or library might need default settings and you want your user to change them.\n\nMany developer wrote this kind of code, and you are going to. GluePlate is it!\n\n## Features\n\n### Easy to write - Merge\n\nYou and your user write easiry.\n\nJust import Glue as _ and write like nested dict.\n\n```\nfrom glueplate import Glue as _\n\n\nsettings = _(\n    GLUE_PLATE_ENVIRONMENT_VARIABLE_KEY = 'BASEPACKAGE_SETTINGS_MODULE',\n    from_base = 'comming from base',\n    to_be_override = 'I am base.',\n)\n```\n\nglueplate import variable named `settings` from os.environ['GLUE_PLATE_BASE_MODULE'], this is a base settings.\n\nThen glueplate looks settings.GLUE_PLATE_ENVIRONMENT_VARIABLE_KEY and import variable named `settings` from os.environ[settings.GLUE_PLATE_ENVIRONMENT_VARIABLE_KEY], this is a user customized settings. Customized settings needs only user needs override, or addition.\n\n```\nfrom glueplate import Glue as _\n\n\nsettings = _(\n    from_sub='comming from sub',\n    to_be_override = 'I am sub.',\n)\n```\n\nThey are merged and easy to use.\n\n```\nfrom glueplate import config\n\nassert('I am sub' == config.settings.to_be_override)\nassert('comming from base' == config.settings.from_base)\nassert('comming from sub' == config.settings.from_sub)\n```\n\n### Append to list\n\nYou may not want to override by you user, just add user's additional data.\n\nglueplate provide special keyword prefix to append original settings variable.\n\n- GLUE_PLATE_PLUS_BEFORE_\n\n    User can append list before.\n\n    \n        # base\n        settings = _(\n            list1 = [1,2,3],\n        )\n\n        # user customized\n        settings = _(\n            GLUE_PLATE_PLUS_BEFORE_list1 = [5,4]\n        )\n\n        # config.settings.list1 == [5, 4, 1, 2, 3]\n\n- GLUE_PLATE_PLUS_AFTER_\n\n    Same as GLUE_PLATE_PLUS_BEFORE_ but append to backward.\n\n        # base\n        settings = _(\n            list1 = [1,2,3],\n        )\n\n        # user customized\n        settings = _(\n            GLUE_PLATE_PLUS_AFTER_list1 = [5,4]\n        )\n\n        # config.settings.list1 == [1, 2, 3, 5, 4]\n\n### Inherit other glueplate\n\nYou might use library using glueplate. Environment variable `GLUE_PLATE_BASE_MODULE` is only one on your process.\n\nYour base settings can indecate library's gluplate settings module.\n\n- GLUE_PLATE_PARENT_MODULES\n\n    Specify library's gluplate settings module names as list.\n\n        from glueplate import Glue as _\n\n\n        settings = _(\n            GLUE_PLATE_PARENT_MODULES=[\n                'parentpackage1.parentpackage1_settings',\n                'parentpackage2.parentpackage2_settings'\n            ]\n        )\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsuyukimakoto%2Fglueplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsuyukimakoto%2Fglueplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsuyukimakoto%2Fglueplate/lists"}