Skip to main content

Configurator

This module try to get all application configurations from files and system environment and stores them as a global object to be used later. Should be called at the beginning of main program.

Examples:

  • load config:

    from tools.configurator import Config, ConfigNode, ConfigLoader, ConfigLoaderIgnore
    Config.load(
        config=ConfigNode(
            config=ConfigLoader(
                path='../configs_folder',  # config files path
                paths=[  # or list of paths
                    './configs_folder_1',
                    './configs_folder_2'
                ],
                env_prefix='env_prefix',
                env_separator='::',
                ignore=ConfigLoaderIgnore(  # files / paths / env-vars to be ignored
                    file='test.py',  # file name
                    files=['test_1.py', 'test_2.py'],  # or list of file names
                    file_mask='test*',  # file name mask
                    file_masks=['templ-*', 'template-*']  # or list of file name masks
                ),
                extension='py',  # file extension
                extensions=['json', 'yaml'],  # or list of file extensions
                order=['env', 'json', 'yaml']  # loading config file order, Last Loaded value overrides Existing value for the same key
            ).config,
            read_only=True  # safe loading, forbid config changes after loading
        )
    )
    
  • config use:

    from tools.configurator import Config
    
    print(f'param: {Config.param_group.param_subgroup.param_name}')
    

Metadata

Release files for ruth-configurator 2022.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for ruth-configurator 2022.0.0
File Actions
ruth_configurator-2022.0.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for ruth_configurator-2022.0.0-cp313-cp313-win_amd64.whl
ruth_configurator-2022.0.0-cp313-cp313-musllinux_1_2_x86_64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ x86-64 Details for ruth_configurator-2022.0.0-cp313-cp313-musllinux_1_2_x86_64.whl
ruth_configurator-2022.0.0-cp313-cp313-musllinux_1_2_i686.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ x86-32 Details for ruth_configurator-2022.0.0-cp313-cp313-musllinux_1_2_i686.whl
ruth_configurator-2022.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details for ruth_configurator-2022.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ruth_configurator-2022.0.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for ruth_configurator-2022.0.0-cp313-cp313-macosx_11_0_arm64.whl
ruth_configurator-2022.0.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for ruth_configurator-2022.0.0-cp312-cp312-win_amd64.whl
ruth_configurator-2022.0.0-cp312-cp312-musllinux_1_2_x86_64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ x86-64 Details for ruth_configurator-2022.0.0-cp312-cp312-musllinux_1_2_x86_64.whl
ruth_configurator-2022.0.0-cp312-cp312-musllinux_1_2_i686.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ x86-32 Details for ruth_configurator-2022.0.0-cp312-cp312-musllinux_1_2_i686.whl
ruth_configurator-2022.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details for ruth_configurator-2022.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ruth_configurator-2022.0.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for ruth_configurator-2022.0.0-cp312-cp312-macosx_11_0_arm64.whl
ruth_configurator-2022.0.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for ruth_configurator-2022.0.0-cp311-cp311-win_amd64.whl
ruth_configurator-2022.0.0-cp311-cp311-musllinux_1_2_x86_64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ x86-64 Details for ruth_configurator-2022.0.0-cp311-cp311-musllinux_1_2_x86_64.whl
ruth_configurator-2022.0.0-cp311-cp311-musllinux_1_2_i686.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ x86-32 Details for ruth_configurator-2022.0.0-cp311-cp311-musllinux_1_2_i686.whl
ruth_configurator-2022.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details for ruth_configurator-2022.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ruth_configurator-2022.0.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for ruth_configurator-2022.0.0-cp311-cp311-macosx_11_0_arm64.whl

Total release size: 11.1 MB

Release files / ruth_configurator-2022.0.0-cp313-cp313-win_amd64.whl

Download URL ruth_configurator-2022.0.0-cp313-cp313-win_amd64.whl
Size 178.0 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
be11b4bfddedbfcefae0baa35619d485cdc9f07a7c98ed85e855fb5e26132977
BLAKE2b-256 checksum
How to use checksums
b906452b8f06683f71672b03f3e63241fc19df61ab19dfe10ecd63a589aa5179
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_configurator-2022.0.0-cp313-cp313-musllinux_1_2_x86_64.whl

Download URL ruth_configurator-2022.0.0-cp313-cp313-musllinux_1_2_x86_64.whl
Size 1.1 MB
Tags CPython 3.13 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
f84c7bb58130b55cc27ff27ee8d7b42ce049fb1eab4c9a7ab728400968020e81
BLAKE2b-256 checksum
How to use checksums
a7c239577c5ab2145c79e97a20c090ec65b1fd092f832d9e044887495c414caa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_configurator-2022.0.0-cp313-cp313-musllinux_1_2_i686.whl

Download URL ruth_configurator-2022.0.0-cp313-cp313-musllinux_1_2_i686.whl
Size 1.1 MB
Tags CPython 3.13 Linux musl 1.2+ x86-32
SHA-256 checksum
How to use checksums
069f37aee6f76f21f814aea4cf51a9315a2d807626729e9a975106b83ff08d9e
BLAKE2b-256 checksum
How to use checksums
536cf8939579f214e464749efa6818d4b78c4fac3af53361bce43ac139b8571f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_configurator-2022.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ruth_configurator-2022.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.1 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
5619d306db1c3d55013bf91d70b501a24cf54fee318914489082eb06bd237617
BLAKE2b-256 checksum
How to use checksums
e3556b6cd238d1b996640460de837dfc1ba5b784c711ca613f04be23606f6326
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_configurator-2022.0.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL ruth_configurator-2022.0.0-cp313-cp313-macosx_11_0_arm64.whl
Size 191.3 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9a7798ad3622efaaf944fe8785d6f92be00c6a5c814d70a6f38245e18515f75a
BLAKE2b-256 checksum
How to use checksums
bc7c4ef1db8ff5f5a51b324aec10e9748491c734da3020ee7d1f7a0e72ac7810
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_configurator-2022.0.0-cp312-cp312-win_amd64.whl

Download URL ruth_configurator-2022.0.0-cp312-cp312-win_amd64.whl
Size 180.4 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
41f1c2e3c29ea29c6393105459335c2145ca9b3a921349f8d7c7578ce885c0c9
BLAKE2b-256 checksum
How to use checksums
4c6e9aa879dbb8760ae4eab4c134f293f47810f22389b5b5defef9a22790aba7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_configurator-2022.0.0-cp312-cp312-musllinux_1_2_x86_64.whl

Download URL ruth_configurator-2022.0.0-cp312-cp312-musllinux_1_2_x86_64.whl
Size 1.1 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
f9651aac38493e8e623437cb3098d5de822b416ede6aac42c276674257fbead8
BLAKE2b-256 checksum
How to use checksums
a233c9dbf226db713779f01d0d36d2bc269fb0cdeb90de8e3f9637793028c138
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_configurator-2022.0.0-cp312-cp312-musllinux_1_2_i686.whl

Download URL ruth_configurator-2022.0.0-cp312-cp312-musllinux_1_2_i686.whl
Size 1.1 MB
Tags CPython 3.12 Linux musl 1.2+ x86-32
SHA-256 checksum
How to use checksums
77f284e45aa09cec9f4a8991db5de3b4dc9a20a762fcb6a559010654a93fd142
BLAKE2b-256 checksum
How to use checksums
38f5f3281e89131bcca29ae014a7df77634b0a1dfdc472d31389e11448b0032b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_configurator-2022.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ruth_configurator-2022.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.1 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
b3e4ec8b1111c5244cbb6371396715aff90364bdf21a03048137c9ffdf1d5f5b
BLAKE2b-256 checksum
How to use checksums
e09fecbe38bacd2b4ce8e9f29f66f73920d25aed55041d993f67870162996c88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_configurator-2022.0.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL ruth_configurator-2022.0.0-cp312-cp312-macosx_11_0_arm64.whl
Size 194.1 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c279ebce50f1a494f46ec21e608b5a81377b5c3dfb7756359931728481d6d897
BLAKE2b-256 checksum
How to use checksums
3b93a714b4969b3eb605e389b2ba03830d744b62058de7f12629edf2e7081e94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_configurator-2022.0.0-cp311-cp311-win_amd64.whl

Download URL ruth_configurator-2022.0.0-cp311-cp311-win_amd64.whl
Size 181.5 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
192b63df34f649a4dd1c48570e320244c746ddd00548e8cc1f4a5fdc9cfcc6a9
BLAKE2b-256 checksum
How to use checksums
c099edad5e315b822a0306d075ae4fd56d737f363b55336db1113785f20a8c24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_configurator-2022.0.0-cp311-cp311-musllinux_1_2_x86_64.whl

Download URL ruth_configurator-2022.0.0-cp311-cp311-musllinux_1_2_x86_64.whl
Size 1.1 MB
Tags CPython 3.11 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
669cef0847a49eb98444b6ce947fca3afceca27349285e794856a1d4f464cdd0
BLAKE2b-256 checksum
How to use checksums
62d2bfe068e11ee11bf30925d9a0be0197541589b3afd5e5c906cdf1d57c516b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_configurator-2022.0.0-cp311-cp311-musllinux_1_2_i686.whl

Download URL ruth_configurator-2022.0.0-cp311-cp311-musllinux_1_2_i686.whl
Size 1.1 MB
Tags CPython 3.11 Linux musl 1.2+ x86-32
SHA-256 checksum
How to use checksums
b2c97be5150c6cdd2d76771181b73d3d763ad148d84e42095ab797d45d17d808
BLAKE2b-256 checksum
How to use checksums
ec07b3f62a6f45dde190231c2541a8764338b81cb7c0eeb488d6de196cfcfc7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_configurator-2022.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ruth_configurator-2022.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.1 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
76c2b270fd3a03c59184957de57a3cc9d61c561ba1c9a6960a84a72eb05e9c70
BLAKE2b-256 checksum
How to use checksums
82b246662e07d52f4846090a1744dbbd5cddf198d7fa9e3c6d47fc8265da527d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / ruth_configurator-2022.0.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL ruth_configurator-2022.0.0-cp311-cp311-macosx_11_0_arm64.whl
Size 194.0 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
054671178ebbb13a3f26830a79ff63a81ee28cfe4ea77263f1aefb1183bdffc0
BLAKE2b-256 checksum
How to use checksums
4d8d2b0102d26dc39a735875e658058fa9852d8cd2a3cdb2d0a4f263a144c88c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Security for ruth-configurator 2022.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2022.0.0 This release

15 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page