{"id":14985695,"url":"https://github.com/beetbox/confuse","last_synced_at":"2026-01-28T12:29:15.273Z","repository":{"id":2367345,"uuid":"3331516","full_name":"beetbox/confuse","owner":"beetbox","description":"painless YAML config files for Python","archived":false,"fork":false,"pushed_at":"2025-12-30T01:59:21.000Z","size":631,"stargazers_count":425,"open_issues_count":53,"forks_count":55,"subscribers_count":14,"default_branch":"main","last_synced_at":"2026-01-01T11:35:17.558Z","etag":null,"topics":["configuration","python","yaml"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/confuse/","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/beetbox.png","metadata":{"files":{"readme":"README.rst","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2012-02-02T03:16:05.000Z","updated_at":"2025-12-31T16:11:56.000Z","dependencies_parsed_at":"2023-12-02T19:45:39.065Z","dependency_job_id":null,"html_url":"https://github.com/beetbox/confuse","commit_stats":{"total_commits":327,"total_committers":34,"mean_commits":9.617647058823529,"dds":0.4097859327217125,"last_synced_commit":"eb041a8012b18f20d333b0da9aa4bc7f5a79f044"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/beetbox/confuse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beetbox%2Fconfuse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beetbox%2Fconfuse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beetbox%2Fconfuse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beetbox%2Fconfuse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beetbox","download_url":"https://codeload.github.com/beetbox/confuse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beetbox%2Fconfuse/sbom","scorecard":{"id":230382,"data":{"date":"2025-08-11","repo":{"name":"github.com/beetbox/confuse","commit":"f2ec2b03cca291a8457906f74e9bbb7eb81c42a5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml: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":"Maintained","score":5,"reason":"5 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 5","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":5,"reason":"Found 8/16 approved changesets -- score normalized to 5","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":"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":"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/build.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/beetbox/confuse/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/beetbox/confuse/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/beetbox/confuse/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/beetbox/confuse/build.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/build.yml:28","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   1 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":"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":"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":"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":"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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2021-142 / GHSA-8q59-q68h-6hv4","Warn: Project is vulnerable to: PYSEC-2018-49 / GHSA-rprw-h62v-c2w7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 24 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-17T04:44:11.536Z","repository_id":2367345,"created_at":"2025-08-17T04:44:11.536Z","updated_at":"2025-08-17T04:44:11.536Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28845211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T10:53:21.605Z","status":"ssl_error","status_checked_at":"2026-01-28T10:53:20.789Z","response_time":57,"last_error":"SSL_read: 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":["configuration","python","yaml"],"created_at":"2024-09-24T14:11:30.099Z","updated_at":"2026-01-28T12:29:15.267Z","avatar_url":"https://github.com/beetbox.png","language":"Python","readme":"Confuse: painless YAML config files\n===================================\n\n.. image:: https://github.com/beetbox/confuse/actions/workflows/main.yml/badge.svg\n    :target: https://github.com/beetbox/confuse/actions\n\n.. image:: https://img.shields.io/pypi/v/confuse.svg\n    :target: https://pypi.org/project/confuse/\n\n**Confuse** is a configuration library for Python that uses YAML_. It takes care\nof defaults, overrides, type checking, command-line integration, environment\nvariable support, human-readable errors, and standard OS-specific locations.\n\nWhat It Does\n------------\n\nHere's what Confuse brings to the table:\n\n- An **utterly sensible API** resembling dictionary-and-list structures but\n  providing **transparent validation** without lots of boilerplate code. Type\n  ``config['num_goats'].get(int)`` to get the configured number of goats and\n  ensure that it's an integer.\n- Combine configuration data from **multiple sources**. Using *layering*,\n  Confuse allows user-specific configuration to seamlessly override system-wide\n  configuration, which in turn overrides built-in defaults. An in-package\n  ``config_default.yaml`` can be used to provide bottom-layer defaults using the\n  same syntax that users will see. A runtime overlay allows the program to\n  programmatically override and add configuration values.\n- Look for configuration files in **platform-specific paths**. Like\n  ``$XDG_CONFIG_HOME`` or ``~/.config`` on Unix; \"Application Support\" on macOS;\n  ``%APPDATA%`` on Windows. Your program gets its own directory, which you can\n  use to store additional data. You can transparently create this directory on\n  demand if, for example, you need to initialize the configuration file on first\n  run. And an environment variable can be used to override the directory's\n  location.\n- Integration with **command-line arguments** via argparse_ or optparse_ from\n  the standard library. Use argparse's declarative API to allow command-line\n  options to override configured defaults.\n- Include configuration values from **environment variables**. Values undergo\n  automatic type conversion, and nested dicts and lists are supported.\n\nInstallation\n------------\n\nConfuse is available on `PyPI \u003chttps://pypi.org/project/confuse/\u003e`_ and can be\ninstalled using ``pip``:\n\n.. code-block:: sh\n\n    pip install confuse\n\nUsing Confuse\n-------------\n\n`Confuse's documentation`_ describes its API in detail.\n\nCredits\n-------\n\nConfuse was made to power beets_. Like beets, it is available under the `MIT\nlicense`_.\n\n.. _argparse: https://docs.python.org/dev/library/argparse.html\n\n.. _beets: https://github.com/beetbox/beets\n\n.. _configparser: https://docs.python.org/library/configparser.html\n\n.. _confuse's documentation: https://confuse.readthedocs.io/en/latest/usage.html\n\n.. _logging: https://docs.python.org/library/logging.html\n\n.. _mit license: https://opensource.org/license/mit\n\n.. _optparse: https://docs.python.org/dev/library/optparse.html\n\n.. _yaml: https://yaml.org/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeetbox%2Fconfuse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeetbox%2Fconfuse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeetbox%2Fconfuse/lists"}