Metadata-Version: 2.1
Name: Configify-Wizard
Version: 0.1.2
Summary: A configuration parser for YAML, CFG, and ENV files
Home-page: https://github.com/yourusername/config_parser_module
Author: Krishna Murthy Srinivasan
Author-email: harikrishnachn@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: python-dotenv

# Configify Wizard

`Configify Wizard` is a Python package designed for managing and converting configuration files. It supports parsing configurations from YAML, CFG, and CONF files, and provides functionality to write configurations to `.env` files, JSON files, or set them as environment variables.

## Features

- **Read Configuration Files**: Supports YAML, CFG, and CONF file formats.
- **Write Configuration**: Save configurations to `.env` or JSON files.
- **Set Environment Variables**: Easily set configurations as environment variables.

## Installation

You can install `Configify Wizard` via pip:

`bash`
pip install Configify-Wizard

## Usage

Hereâ€™s a quick guide to using Configify Wizard:

### 1. Parse Configuration Files
You can read configuration files in YAML, CFG, or CONF formats:


```python
from config_parser_module.config_reader import ConfigParserModule

config_parser = ConfigParserModule()

# Read YAML file 
config_dict = config_parser.read_yaml('config.yaml')

# Read CFG or CONF file
config_dict = config_parser.read_cfg('config.cfg')

```
**Note: Please enter full path of the files which you want to parse**

### 2. Write Configurations

You can write configurations to a .env file or a JSON file:

```python
# Write to .env file
config_parser.write_env('./config.env')

# Write to JSON file
config_parser.write_json('./config.json')

```
**Note: config_parser takes care of creating the directory if not present, enter desired filename and patho of your choice.**

## 3. Set Environment Variables

```python

config_parser.set_os_env()

```

**Note: Setting up Environment Variable in OS currently supports for Linux Environment, Windows is currently under development, Contributions Welcome ðŸ˜‰**
