pytower.config

pytower.config.CONFIG: TowerConfig | None = None[source]

Global config used by PyTower install

class pytower.config.TowerConfig(filename)[source]
Parameters:

filename (str)

__getitem__(key)[source]
Parameters:

key (str)

__init__(filename)[source]
Parameters:

filename (str)

get(key, dtype=None)[source]
Parameters:
Return type:

Any

Returns:

Value (typecasted) in config

keys()[source]
Returns:

Keys of config

set(key, value)[source]
Parameters:
  • key (str) – Key in config to set value of

  • value (Any) – Value to set