{"id":18401209,"url":"https://github.com/guillotinaweb/econfig","last_synced_at":"2025-07-15T14:03:28.447Z","repository":{"id":57425509,"uuid":"115539736","full_name":"guillotinaweb/econfig","owner":"guillotinaweb","description":"Python configuration management with environment variables","archived":false,"fork":false,"pushed_at":"2017-12-27T19:38:56.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-19T19:25:15.329Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guillotinaweb.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-27T16:41:29.000Z","updated_at":"2018-06-11T03:14:01.000Z","dependencies_parsed_at":"2022-08-29T22:01:47.711Z","dependency_job_id":null,"html_url":"https://github.com/guillotinaweb/econfig","commit_stats":null,"previous_names":["onna/envconfig"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/guillotinaweb/econfig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillotinaweb%2Feconfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillotinaweb%2Feconfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillotinaweb%2Feconfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillotinaweb%2Feconfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guillotinaweb","download_url":"https://codeload.github.com/guillotinaweb/econfig/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillotinaweb%2Feconfig/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265437772,"owners_count":23765131,"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-06T02:38:07.284Z","updated_at":"2025-07-15T14:03:28.191Z","avatar_url":"https://github.com/guillotinaweb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Env Config\n==========\n\nPython package to manage configuration from environment variables.\n\nThis package is designed to be used to help in configuration management with\npython docker containers.\n\n\nDefining configuration\n----------------------\n\neconfig provides simple data types to define configuration with::\n\n    import econfig\n    econfig.register(\n      name='MY_CONFIGURATION_NUMBER',\n      type=econfig.types.int,\n      destination='foo.bar')\n    econfig.register(\n        name='MY_CONFIGURATION_NUMBER',\n        type=econfig.types.json,\n        destination='foo.json')\n    errors, settings = econfig.parse()\n    settings == {\n      \"foo\": {\n        \"bar\": 5\n      },\n      \"json\": {\n        \"some\": \"value\"\n      }\n    }\n\n\nTypes\n-----\n\n- int\n- float\n- bool\n- exists\n- json\n- when_exists: callable type that will provide value when env variable exists\n\n\nDestination types\n-----------------\n\n- `foo.bar`: automatic key value dictionary creation\n- `foo[]`: append value to list\n- `foo[0]`: address item in list\n- `foo[0].bar`: address dictionary item in list\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguillotinaweb%2Feconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguillotinaweb%2Feconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguillotinaweb%2Feconfig/lists"}