yacs
Yet Another Configuration System
Decision gist · record as of 2026-08-14
Yes, if you are working on a machine learning or scientific project that needs reproducible configuration management and you do not require ongoing maintenance or updates. The package is stable and does what it claims, but it is abandoned—no security patches, no bug fixes, and no support for future Python versions. Use it for new projects only if you are comfortable maintaining a fork or accepting technical debt.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Installation is straightforward with low friction—pure Python wheels for both Python 2 and 3.
- However, the package is abandoned as of 2020-08-10 with no commits since 2022-04-13, so expect no maintenance, bug fixes, or security updates going forward.
License · maintenance · safety
permissive license (permissive) — Licensed under Apache 2.0 (permissive), so you can use, modify, and distribute it freely in commercial and open-source projects without restriction.
last release 2020-08-10 (2195 days) · last repo commit 2022-04-13 · 1,337 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,434,393 downloads/mo, #2,623 on PyPI
Alternatives
Verify before relying
pip install yacs
from yacs.config import CfgNode as CN
_C = CN()
_C.TRAIN = CN()
_C.TRAIN.LR = 0.1
cfg = _C.clone()
cfg.merge_from_file('experiment.yaml')
print(cfg.TRAIN.LR)- Whether the package works reliably with modern Python versions beyond what was tested at release
- Whether PyYAML dependency has known vulnerabilities or compatibility issues with current Python releases
What it is and what it does
YACS is a configuration system designed for scientific and machine learning projects that need to manage and reproduce experiments reliably. It lets you define default configurations in Python code, override them with YAML files for specific experiments, and further customize them from the command line—all while keeping a single authoritative source for what can be configured.
The package centers on the CfgNode object, which acts as a hierarchical configuration container. You create a defaults file (typically config.py) that documents all available options with sensible starting values, then create lightweight YAML files for each experiment that only specify what changes. Your code imports the config, merges in overrides, and can freeze it to prevent accidental modification. This workflow emerged from real systems used in computer vision research and is particularly useful when you need to run many experiment variants and be able to reproduce them later.
Use it for
- Define and manage hyperparameters for machine learning model training across multiple experiments with reproducible YAML configs.
- Override configuration defaults from command-line arguments without duplicating config logic in argument parsing.
- Document all configurable system options in one central Python file as a reference for all team members.
- Serialize experimental settings to disk so you can later recall exactly what configuration produced a given result.
- Share experiment configs as simple YAML files between team members without requiring code changes or environment variables.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are working on a machine learning or scientific project that needs reproducible configuration management and you do not require ongoing maintenance or updates.
The package is stable and does what it claims, but it is abandoned—no security patches, no bug fixes, and no support for future Python versions. Use it for new projects only if you are comfortable maintaining a fork or accepting technical debt.
Install
yacs on PyPI
Before you install
Installation is straightforward with low friction—pure Python wheels for both Python 2 and 3. However, the package is abandoned as of 2020-08-10 with no commits since 2022-04-13, so expect no maintenance, bug fixes, or security updates going forward.
License in practice
Licensed under Apache 2.0 (permissive), so you can use, modify, and distribute it freely in commercial and open-source projects without restriction.
Quickstart
pip install yacs
from yacs.config import CfgNode as CN
_C = CN()
_C.TRAIN = CN()
_C.TRAIN.LR = 0.1
cfg = _C.clone()
cfg.merge_from_file('experiment.yaml')
print(cfg.TRAIN.LR)
Verify before relying
- Whether the package works reliably with modern Python versions beyond what was tested at release
- Whether PyYAML dependency has known vulnerabilities or compatibility issues with current Python releases
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagePyYAML |
| Maintenance | Abandoned 2,195 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,434,393 / month, #2,623 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 2.7Programming Language :: Python :: 3Topic :: Scientific/Engineering :: Artificial Intelligence |
Evidence: yacs-0.1.8-py2-none-any.whl; yacs-0.1.8-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “reproducible ml configuration”
- yacsYACS is a lightweight configuration management system that lets you…
- weaselWeasel is a workflow orchestration system for managing end-to-end…
- ml-collectionsProvides dict-like configuration data structures with dot-notation…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also sconf · yacman · simple-settings · HyperPyYAML · bestconfig · lazr.config · dynamic-yaml · confuse · ml-collections · hydra-core