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

Metadata

Release files for gin-config 0.5.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.5.0
File Size Uploaded
gin-config-0.5.0.tar.gz 56.2 kB Details

Built distribution (wheel)

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

Total release size: 117.5 kB

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

Download URL gin-config-0.5.0.tar.gz
Size 56.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0c6ea5026ded927c8c93c990b01c695257c1df446e45e549a158cfbc79e19ed6
BLAKE2b-256 checksum
How to use checksums
b9c45aaf77a77e7a2a1446f20580f8493adea9dcd3befcf61faf7ba5de65d7fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

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

Download URL gin_config-0.5.0-py3-none-any.whl
Size 61.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bddb7ca221ea2b46cdb59321e79fecf02d6e3b728906047fcd4076c297609fd6
BLAKE2b-256 checksum
How to use checksums
118f9f1894efa1bb15e98613244b24dfbacfe2309e0ac3cfc27d4c608c2270d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.0

3 release files

0.3.0

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