Skip to main content

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


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 details)

Uploaded Source

Built Distribution

paparse-0.1.0a1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file paparse-0.1.0a1.tar.gz.

File metadata

  • Download URL: paparse-0.1.0a1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for paparse-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 546aca8e2e6ac15bb2c7e9d8ad2d030124366127460520bf5ff44da0bed8535a
MD5 6cd6b5c6e6def9eac6845dc418dc2a41
BLAKE2b-256 7411c059170d5e088ba05ba8f01017de8f36e597b29d8035ecb249d751bba439

See more details on using hashes here.

File details

Details for the file paparse-0.1.0a1-py3-none-any.whl.

File metadata

  • Download URL: paparse-0.1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for paparse-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 5d1f2fee244a5d5bd0050e26ebd13f3e4a50e55f4c3ad85aac77c3a838bdf286
MD5 17a84ee3e5322294bc1d49db95d69f9e
BLAKE2b-256 4434259cadef5b5341626db4e45dbcf776437f0f236810dee059a0aec4832dd2

See more details on using hashes here.

Supported by

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