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.

Metadata

Release files for Super-Config 0.0.3

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

Built distribution (wheel)

Table of built distributions (wheels) for Super-Config 0.0.3
File Interpreter ABI Platform
Super_Config-0.0.3-py3-none-any.whl Python 3 none any Details

Release files / Super_Config-0.0.3-py3-none-any.whl

Download URL Super_Config-0.0.3-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
879282c189b6f3669c75059a54911a2aa0b108e3040e20c1c98891f750c8a5aa
BLAKE2b-256 checksum
How to use checksums
43a41097035b8e7a5511e47383a4ebcf9fcf0424b248d967f2739f87ab01c461
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

0.0.2

1 release file

0.0.1

1 release 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