{"id":24033830,"url":"https://github.com/wearepal/neoconfigen","last_synced_at":"2026-06-13T08:31:25.414Z","repository":{"id":39970574,"uuid":"308703690","full_name":"wearepal/neoconfigen","owner":"wearepal","description":"configen-fork with extended type-support","archived":false,"fork":false,"pushed_at":"2024-08-27T19:01:00.000Z","size":283,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-23T15:51:31.749Z","etag":null,"topics":["configuration-management","hydra-cli","omegaconf"],"latest_commit_sha":null,"homepage":"","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/wearepal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-10-30T17:46:29.000Z","updated_at":"2024-08-27T19:01:03.000Z","dependencies_parsed_at":"2023-01-31T11:30:45.081Z","dependency_job_id":"95e17b37-5891-407f-9b05-4bedb4d8bbc2","html_url":"https://github.com/wearepal/neoconfigen","commit_stats":null,"previous_names":["predictive-analytics-lab/neoconfigen"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/wearepal/neoconfigen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wearepal%2Fneoconfigen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wearepal%2Fneoconfigen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wearepal%2Fneoconfigen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wearepal%2Fneoconfigen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wearepal","download_url":"https://codeload.github.com/wearepal/neoconfigen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wearepal%2Fneoconfigen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34278153,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"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-management","hydra-cli","omegaconf"],"created_at":"2025-01-08T18:55:04.510Z","updated_at":"2026-06-13T08:31:25.397Z","avatar_url":"https://github.com/wearepal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# configen\n\nAutomatically generates Structured Configs that can be used with hydra.utils.instantiate()\n\nThis is optional at two levels:\n1. Structured Configs are optional, one can use Hydra without them.\n2. One can manually code these dataclasses. The advantage of this tool is that it does the work automatically.\n\n# Setup\nConfigen requires config file per project. The config indicates what classes to generate code for, where to put\nthe generated code etc.\nConfigen will suggest creating a config on the first run:\n```\n$ configen \n[2020-08-14 12:06:11,359][configen.configen][ERROR] - Use --config-dir DIR.\nIf you have no config dir yet use the following command to create an initial config in the `conf` dir:\n        configen init_config_dir=conf\n$ configen init_config_dir=conf\n[2020-08-14 12:07:07,752][configen.configen][INFO] - Initializing config in 'conf'\n```\n\nThis will generate a basic config similar to:\n```yaml\n$ cat conf/configen.yaml \nconfigen:\n  # output directory\n  output_dir: ${hydra:runtime.cwd}/gen\n\n  header: |\n    # Generated by configen, do not edit.\n    # See https://github.com/facebookresearch/hydra/tree/master/tools/configen\n\n  # The directory of each module under output_dir\n  module_dir: '{{module_path}}/conf'\n\n  # list of modules to generate configs for\n  modules:\n    - name: configen.samples.user\n      # for each module, a list of classes\n      classes:\n        - User\n```\n\nConfigen comes with a few samples [classes](configen/samples) that are being processed by the default config.\nFor example:\n```python title=\"configen/samples/user.py\"\nclass User:\n    def __init__(self, age: int, name: str):\n        self.age = age\n        self.name = name\n```\n\nRunning configen with this config directory:\n```\n$ configen --config-dir conf\n[2020-08-14 12:44:54,990][configen.configen][INFO] - configen.samples.user.User -\u003e /home/omry/tmp/configen/gen/configen/samples/user/conf/User.py\n```\n\nWill result in a file `gen/configen/samples/user/conf/User.py` like:\n```python\n# Generated by configen, do not edit.\n# See https://github.com/facebookresearch/hydra/tree/master/tools/configen\n# fmt: off\n# isort:skip_file\n# flake8: noqa\n\nfrom dataclasses import dataclass\nfrom typing import *\n\nfrom omegaconf import MISSING\n\n\n@dataclass\nclass UserConf:\n    _target_: str = \"configen.samples.user.User\"\n    age: int = MISSING\n    name: str = MISSING\n```\n\nThe generated code can be used by a Hydra application to instantiate the user object.\nSee the [example aplication](example/my_app.py).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwearepal%2Fneoconfigen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwearepal%2Fneoconfigen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwearepal%2Fneoconfigen/lists"}