{"id":19030508,"url":"https://github.com/jeffbryner/configlib","last_synced_at":"2025-10-11T13:33:05.164Z","repository":{"id":14727894,"uuid":"17448641","full_name":"jeffbryner/configlib","owner":"jeffbryner","description":"simple python wrapper for .conf file get, set, delete operations.","archived":false,"fork":false,"pushed_at":"2019-07-12T18:22:50.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T17:02:49.566Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Bttstrp/bootstrap-switch","license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeffbryner.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":"2014-03-05T17:23:00.000Z","updated_at":"2019-07-12T18:22:52.000Z","dependencies_parsed_at":"2022-08-02T19:15:21.735Z","dependency_job_id":null,"html_url":"https://github.com/jeffbryner/configlib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffbryner%2Fconfiglib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffbryner%2Fconfiglib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffbryner%2Fconfiglib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffbryner%2Fconfiglib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeffbryner","download_url":"https://codeload.github.com/jeffbryner/configlib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240079638,"owners_count":19744725,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-08T21:18:19.720Z","updated_at":"2025-10-11T13:33:00.124Z","avatar_url":"https://github.com/jeffbryner.png","language":"Python","readme":"configlib\n=========\n\nsimple python wrapper for .conf file get, set, delete operations.\n\nUse thusly: \n\n.conf file:\n```\n[options]\nsomesetting=aDifferentValue\n\n```\n\npython code: \n```\n    from configlib import getConfig,OptionParser\n    def initConfig():\n        #initialize config options\n        #sets defaults or overrides from config file.\n        options.something=getConfig('somesetting','defaultvalue',options.configfile)\n    \n    if __name__ == \"__main__\":\n        parser=OptionParser()\n        parser.add_option(\"-c\", dest='configfile' , default='', help=\"configuration file to use\")\n        (options,args) = parser.parse_args()\n        initConfig()\n```\n\npip install configlib\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffbryner%2Fconfiglib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeffbryner%2Fconfiglib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffbryner%2Fconfiglib/lists"}