# 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
Raw data
{
"_id": null,
"home_page": "https://github.com/google/gin-config",
"name": "gin-config-v2",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "gin-config gin python configuration machine learning",
"author": "The Gin-Config Team",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/ad/30/956005d83269d49a279fc64b9e6b60a7dec5b13ce0d2b070f53a42a29f2e/gin_config_v2-0.8.0.tar.gz",
"platform": null,
"description": "\r\n# Gin\r\n\r\nGin provides a lightweight configuration framework for Python, based on\r\ndependency injection. Functions or classes can be decorated with\r\n`@gin.configurable`, allowing default parameter values to be supplied from a\r\nconfig file (or passed via the command line) using a simple but powerful syntax.\r\nThis removes the need to define and maintain configuration objects (e.g.\r\nprotos), or write boilerplate parameter plumbing and factory code, while often\r\ndramatically expanding a project's flexibility and configurability.\r\n\r\nGin is particularly well suited for machine learning experiments (e.g. using\r\nTensorFlow), which tend to have many parameters, often nested in complex ways.\r\n\r\n\r\n**Authors**: Dan Holtmann-Rice, Sergio Guadarrama, Nathan Silberman\r\n**Contributors**: Oscar Ramirez, Marek Fiser\r\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "Gin-Config: A lightweight configuration library for Python",
"version": "0.8.0",
"project_urls": {
"Bug Reports": "https://github.com/google/gin-config/issues",
"Documentation": "https://github.com/google/gin-config/docs",
"Homepage": "https://github.com/google/gin-config",
"Source": "https://github.com/google/gin-config"
},
"split_keywords": [
"gin-config",
"gin",
"python",
"configuration",
"machine",
"learning"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ad30956005d83269d49a279fc64b9e6b60a7dec5b13ce0d2b070f53a42a29f2e",
"md5": "34c04518cfacedb0eeccfbfbbb2150d8",
"sha256": "b286afc2db110d07540602c1071384e68bdd8ffdc09c1218aa82c770832c35b8"
},
"downloads": -1,
"filename": "gin_config_v2-0.8.0.tar.gz",
"has_sig": false,
"md5_digest": "34c04518cfacedb0eeccfbfbbb2150d8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 51847,
"upload_time": "2024-11-01T19:54:51",
"upload_time_iso_8601": "2024-11-01T19:54:51.343665Z",
"url": "https://files.pythonhosted.org/packages/ad/30/956005d83269d49a279fc64b9e6b60a7dec5b13ce0d2b070f53a42a29f2e/gin_config_v2-0.8.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-01 19:54:51",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "google",
"github_project": "gin-config",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "gin-config-v2"
}