{"id":26246032,"url":"https://github.com/zillow/config-enhance","last_synced_at":"2026-04-21T21:06:19.050Z","repository":{"id":11875963,"uuid":"14436681","full_name":"zillow/config-enhance","owner":"zillow","description":"Add reuse to ConfigParser style config files.","archived":false,"fork":false,"pushed_at":"2013-11-16T07:12:08.000Z","size":212,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-12-31T11:57:23.518Z","etag":null,"topics":[],"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/zillow.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}},"created_at":"2013-11-15T22:26:48.000Z","updated_at":"2014-10-25T23:47:06.000Z","dependencies_parsed_at":"2022-09-19T11:41:39.807Z","dependency_job_id":null,"html_url":"https://github.com/zillow/config-enhance","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/zillow/config-enhance","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zillow%2Fconfig-enhance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zillow%2Fconfig-enhance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zillow%2Fconfig-enhance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zillow%2Fconfig-enhance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zillow","download_url":"https://codeload.github.com/zillow/config-enhance/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zillow%2Fconfig-enhance/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32110170,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T11:25:29.218Z","status":"ssl_error","status_checked_at":"2026-04-21T11:25:28.499Z","response_time":128,"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":[],"created_at":"2025-03-13T13:17:16.074Z","updated_at":"2026-04-21T21:06:19.021Z","avatar_url":"https://github.com/zillow.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"config-enhance\n==============\n\nconfig-enhance adds re-use capabilities to ConfigParser style config\nfiles.\n\nIt introduces a reserved key: '\u003c\u003c='\n\nThe '\u003c\u003c=' key should be assigned a list of enhancements like:\n\n::\n\n    [section]\n    \u003c\u003c=\n        \u003cother1\n        +other2\n        \u003cother3\n        -other4\n\nEach enhancement is composed of an operator followed by a section name.\nThe operators are:\n\n-  '\u003c' : mix things in from another section if they don't already exist\n-  '+' : pull config from another section, overwrite settings in the\n   current section if there is a clash.\n-  '-' : remove config items that exist in the source section from this\n   section\n\nYou can use it like this:\n\n::\n\n    from config_enhance import enhance\n\n    cp = ConfigParser (file (\"my.cfg\"))\n    enhance(cp)\n\nSuppose that my.cfg contains content like:\n\n::\n\n    [common]\n    flup = 1.0\n    requests = 2.0\n\n    [tes_100]\n    \u003c\u003c= \u003ccommon\n    requests = 5.0\n    tornado = 6.0\n\n    [dev_tes_common]\n    tornado = 6.0d\n\n    [dev_unpin]\n    flup = unpin\n\n    [dev_tes_100]\n    \u003c\u003c=\n        \u003ctes_100\n        +dev_tes_common\n        -dev_unpin\n\nAfter running enhance, 'cp' will be modified to contain:\n\n::\n\n    [common]\n    flup = 1.0\n    requests = 2.0\n\n    [tes_100]\n    flup = 1.0\n    requests = 5.0\n    tornado = 6.0\n\n    [dev_tes_common]\n    tornado = 6.0d\n\n    [dev_unpin]\n    flup = unpin\n\n    [dev_tes_100]\n    requests = 5.0\n    tornado = 6.0d\n\ntarget audience\n===============\n\nconfig-enhance is useful when managing version requirement sections in\nbuildout. Buildout already contains limited reuse features through the\n'\u003c=' idiom. But, version management is easier with an extended set.\n\nOther docs of interest\n----------------------\n\n`config parser\ndocumentation \u003chttp://docs.python.org/2/library/configparser.html\u003e`__\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzillow%2Fconfig-enhance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzillow%2Fconfig-enhance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzillow%2Fconfig-enhance/lists"}