Skip to main content

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

Release files for gin-config 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gin-config 0.3.0
File Size Uploaded
gin-config-0.3.0.tar.gz 38.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gin-config 0.3.0
File Interpreter ABI Platform
gin_config-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 82.7 kB

Release files / gin-config-0.3.0.tar.gz

Download URL gin-config-0.3.0.tar.gz
Size 38.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6a83b7639ae76c276c0380d71d583f151b327a7c37978add314180ec1280a6cc
BLAKE2b-256 checksum
How to use checksums
f65983ff63db56313bacdc918e9fc594137a052d184ef46f510867bfc171acc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.5rc1

Release files / gin_config-0.3.0-py3-none-any.whl

Download URL gin_config-0.3.0-py3-none-any.whl
Size 44.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e2141da0525c9275bf08f11ef7d25cdd65e415f74f77fab54227af9f5d2d8c93
BLAKE2b-256 checksum
How to use checksums
a118e8beb9462ac0c9cba169718383a7122c9f7db46e61737d3de8d13588ed90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.5rc1

Release history Release notifications | RSS feed

0.5.0

2 release files

0.4.0

3 release files

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.2.0

1 release file

0.1.4

1 release file

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page