$npx skillfedfor your agent

gin-config

Gin-Config: A lightweight configuration library for Python

With conditionsPyPI Software DevelopmentReleased Nov 2021578.7K downloads / moApache 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — gin_config-0.5.0-py3-none-any.whl
v0.5.0 · released 2021-11-03

Yes, if you run machine learning experiments or manage complex nested configurations. Gin eliminates boilerplate and makes experiments reproducible and shareable. The permissive Apache 2.0 license and zero runtime dependencies make adoption low-risk. The stable maintenance status is appropriate for a mature configuration library. Install it if parameter management is a pain point in your workflow.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Installation is straightforward with no runtime dependencies.
  • The package is actively maintained with recent commits, though the latest release dates to 2021-11-03, suggesting the project may be in a stable maintenance phase rather than active development.

License · maintenance · safety

Apache 2.0 (permissive) — Gin is licensed under Apache 2.0, a permissive license that allows commercial and private use with minimal restrictions, making it safe to adopt in most projects.

last release 2021-11-03 (1745 days) · last repo commit 2026-07-02 · 2,154 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 578,677 downloads/mo, #5,922 on PyPI

Verify before relying

pip install gin-config

import gin

@gin.configurable
def train(learning_rate=None, batch_size=None):
    pass

gin.parse_config_file('config.gin')
train()
  • Whether the package supports modern Python versions beyond 3.7 (classifiers list only up to 3.7)
  • Current maintenance status and whether the 2021 release date indicates active development or stable maintenance mode
  • Specific example parameter values for typical machine learning configurations
Same gist for agents: .md · .json

What it is and what it does

Gin is a configuration framework built on dependency injection principles that lets you externalize function and class parameters into config files rather than hardcoding them. You decorate functions with @gin.configurable, then supply values via a simple config syntax in files or on the command line. This is especially useful for machine learning experiments where you have many nested parameters that change frequently between runs.

The package has no runtime dependencies and installs cleanly. It's designed to reduce boilerplate around configuration management and parameter passing, making it easier to experiment with different settings without modifying code. The framework is particularly well-suited for projects with complex, hierarchical parameter structures.

Use it for

  • Configure machine learning model hyperparameters from external config files for experiments
  • Manage nested configuration for complex applications without writing factory or parameter-plumbing code
  • Run the same script with different parameter sets by changing only the config file, not the code
  • Share reproducible experiment configurations across team members by version-controlling config files
  • Simplify parameter handling by reading structured configuration from files instead of manual argument parsing

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you run machine learning experiments or manage complex nested configurations.

Gin eliminates boilerplate and makes experiments reproducible and shareable. The permissive Apache 2.0 license and zero runtime dependencies make adoption low-risk. The stable maintenance status is appropriate for a mature configuration library. Install it if parameter management is a pain point in your workflow.

Install

gin-config on PyPI

Before you install

Installation is straightforward with no runtime dependencies. The package is actively maintained with recent commits, though the latest release dates to 2021-11-03, suggesting the project may be in a stable maintenance phase rather than active development.

License in practice

Gin is licensed under Apache 2.0, a permissive license that allows commercial and private use with minimal restrictions, making it safe to adopt in most projects.

Quickstart

pip install gin-config

import gin

@gin.configurable
def train(learning_rate=None, batch_size=None):
    pass

gin.parse_config_file('config.gin')
train()

Verify before relying

  • Whether the package supports modern Python versions beyond 3.7 (classifiers list only up to 3.7)
  • Current maintenance status and whether the 2021 release date indicates active development or stable maintenance mode
  • Specific example parameter values for typical machine learning configurations

Package facts

LicenseApache 2.0 permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 1,745 days since the last release
Last repo commit
First released
Downloads578,677 / month, #5,922 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Topic :: Scientific/EngineeringTopic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Scientific/Engineering :: MathematicsTopic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules

Evidence: gin_config-0.5.0-py3-none-any.whl

Tags

Capabilities
python configuration frameworkdependency injection configfunction parameter configurationmachine learning experiment configgin config decoratorconfig file parameter injectionexperiment hyperparameter management
Topics
configuration-managementdependency-injectionml-experiments
PyPI keywords
gin-configginpythonconfigurationmachinelearning

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 › “dependency injection config”

  • gin-configGin provides a lightweight configuration framework that lets you…
  • wireupWireup is a type-driven dependency injection container for Python…
  • Flask-InjectorIntegrates dependency injection into Flask applications using the…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also fiddle · prefigure · confection · in-n-out · makefun · picobox · argbind · decopatch · simple-di · tensorflow-serving-api