google/gin-config
Gin provides a lightweight configuration framework for Python observed · 2026-08-28
Health v2 · maintenance only
63/100
- Activity 90
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2989
- days_rel: n/a
- days_push: 62
- n_releases_24m: 0
Adoption not part of the score
2155 stars · 120 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Gin-config is a lightweight Python configuration framework based on dependency injection. Functions or classes decorated with @gin.configurable can have default parameter values supplied from .gin config files or the command line, which is especially useful for machine learning experiments.
Use cases
- configure hyperparameters for ML experiments from a file
- remove boilerplate parameter plumbing in Python projects
- swap model architectures via config bindings
- manage nested configuration for TensorFlow or PyTorch training
- override function defaults from the command line
When to choose
- your ML codebase has many deeply nested parameters
- you want config-as-code without defining proto or config objects
- you use TensorFlow or PyTorch and want framework-specific configurability
When to avoid
- you need runtime-reloadable or hierarchical YAML/JSON config for services
- your project is not Python
- you prefer explicit dependency injection containers
Facets
library · maturity stable
configuration-management machine-learning developer-tools deep-learning python cross-platform dependency-injection config-files tensorflow pytorch experiment-configuration
2 sources
- readme: https://github.com/google/gin-config · fetched 2026-08-28 · 169f9bc8e264
- registry_pypi: https://pypi.org/pypi/gin-config/json · fetched 2026-08-29 · c4d2c36a2d13
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| google/gin-config | main | 63 |
For agents
markdown · JSON · MCP: product_card(name="google/gin-config")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem