Skip to main content

GitHub-Pages deployment status PyPI - Version

Super-Config

Config parsing on steroids.

Quickstart

Super-Config is available on PyPI and can be installed with pip.

$ pip install Super-Config

After installing Super-Config you can use it like any other Python module.

Here is a simple example:

import superconfig as sc
from superconfig.superconf import SuperConfig


def main():
    SuperConfig.setup(
        path_default="configs/default.ini", path_custom="configs/dev.yaml"
    )

    print(SuperConfig.get("LOCAL_PATHS.path"))
    print(SuperConfig.get("CLOUD_PATHS.path"))
    print(SuperConfig.get("ENVIRONMENT_NAME"))
    val = SuperConfig.get("ENVIRONMENT_ID", dtype=sc.INT)
    print(val, type(val))

Documentation

The API Reference provides API-level documentation

Examples

Refer the examples folder in this repository

Credits

Change Log

Version History

0.0.1
  • Project created.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Super_Config-0.0.3-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file Super_Config-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: Super_Config-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for Super_Config-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 879282c189b6f3669c75059a54911a2aa0b108e3040e20c1c98891f750c8a5aa
MD5 0d4bf5aeb1f4541bc31bb5db5b0ef6a5
BLAKE2b-256 43a41097035b8e7a5511e47383a4ebcf9fcf0424b248d967f2739f87ab01c461

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 file

0.0.2

1 file

0.0.1

1 file

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