Skip to main content

Parse bank cheques

Project description

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.

Project details


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

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

Uploaded Python 3

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