Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gin_config_v2-0.6.0.tar.gz (52.4 kB view details)

Uploaded Source

File details

Details for the file gin_config_v2-0.6.0.tar.gz.

File metadata

  • Download URL: gin_config_v2-0.6.0.tar.gz
  • Upload date:
  • Size: 52.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for gin_config_v2-0.6.0.tar.gz
Algorithm Hash digest
SHA256 2b32e0c4e63da62993cc70b5306c5afd6bf40a70b89e70930a32fef4429e0f8f
MD5 6bbafbc2ba36aa95cf26fecd30aa76b7
BLAKE2b-256 4c6884077561225c36592678c5974be21412a910238c1a45c72a3f6ab340167f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page