Python utility for creating configs from settings files
Project description
Parameter Parse (paparse)
Example
trainer:
batch_size: 5
data:
train_path: "some_path"
@dataclass
class Config(SimpleConfig):
class EarlyTerminatorConfig(MultiActiveModuleConfig):
pass
@dataclass
class IncreasingValueConfig(EarlyTerminatorConfig):
patience:int
metric:str
@dataclass
class TrainerConfig:
early_terminators:list[EarlyTerminatorConfig]
# batch_size:int
# drop_remainder:bool
# ...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
paparse-0.1.0a1.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for paparse-0.1.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d1f2fee244a5d5bd0050e26ebd13f3e4a50e55f4c3ad85aac77c3a838bdf286 |
|
MD5 | 17a84ee3e5322294bc1d49db95d69f9e |
|
BLAKE2b-256 | 4434259cadef5b5341626db4e45dbcf776437f0f236810dee059a0aec4832dd2 |