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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Super_Config-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for Super_Config-0.0.3-py3-none-any.whl |
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
|
Security for Super-Config 0.0.3
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.