Gin-config: a lightweight configuration library for Python
Project description
Gin
Gin provides a lightweight configuration framework for Python, based on
dependency injection. Functions or classes can be decorated with
@gin.configurable
, allowing default parameter values to be supplied from a
config file (or passed via the command line) using a simple but powerful syntax.
This removes the need to define and maintain configuration objects (e.g.
protos), or write boilerplate parameter plumbing and factory code, while often
dramatically expanding a project's flexibility and configurability.
Gin is particularly well suited for machine learning experiments (e.g. using TensorFlow), which tend to have many parameters, often nested in complex ways.
Authors: Dan Holtmann-Rice, Sergio Guadarrama, Nathan Silberman Contributors: Oscar Ramirez, Marek Fiser
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for gin_config-0.2.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce4d8f37621f139238ff0e47c64fc341c11db7613089d96f7b94af45945dd5ae |
|
MD5 | af73a0c05928894d5a49f3ad235ef4c6 |
|
BLAKE2b-256 | 8f4386fd909161d2a353242756090b8e024bb07e4a9758b6863c40c6d8c48a8e |