CommandlineConfig is a lightweight Python library designed to simplify managing configuration parameters for experiments and applications, especially in research workflows that require frequent tweaking of hyperparameters. It lets you define configuration in familiar Python dictionaries or JSON files and then access nested parameters via dot notation in code, improving readability and reducing boilerplate. One of its core strengths is the ability to override configuration values directly from the command line, making it convenient to run many experimental variants without editing files repeatedly. The library supports arbitrarily deep nested structures, type handling, enumerated value constraints, and even tuple types, which are common in ML experiment setups. It also includes features for automatic version checking and convenient help output, so users can quickly see available parameters and their descriptions via a -h flag.

Features

  • Configuration defined in Python dicts or JSON with dot-notation access in code
  • Command-line overrides to modify any parameter without editing files
  • Support for infinitely nested configuration structures
  • Built-in constraints such as enumerated allowed values and tuple support
  • Ability to load configs from local JSON files and print parameter help with -h
  • Automatic version checking to keep configs in sync with code

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow CommandlineConfig

CommandlineConfig Web Site

Other Useful Business Software
Accounting practice management software Icon
Accounting practice management software

Accountants, accounting firms, tax attorneys, tax professionals

Canopy is a cloud-based practice management software for accounting and tax firms, offering tools for client engagement, document management, workflow automation, and time & billing. Its Client Engagement platform centralizes interactions with a secure portal, customizable branding, and email integration, while the Document Management system enables organized, paperless file storage. The Workflow module enhances visibility into tasks and projects through templates, task assignments, and automation, reducing human error. Additionally, the Time & Billing feature tracks billable hours, generates invoices, and processes payments, ensuring accurate financial management. With its comprehensive features, Canopy streamlines operations, reduces stress, and enhances client experiences.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of CommandlineConfig!

Additional Project Details

Programming Language

Python

Related Categories

Python Libraries

Registered

2025-12-11