Granular Configuration

pygram11.config.get(key)[source]

Retrieve a configuration value given a key.

Parameters

key (str) – Desired configuration parameter key.

Returns

Value of the key.

Return type

int

pygram11.config.set(key, value)[source]

Set a configuration key’s value.

Parameters
  • key (str) – Desired configuration parameter key to modify.

  • value (int) – New value for the given key.