# 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 😉**
Raw data
{
"_id": null,
"home_page": "https://github.com/yourusername/config_parser_module",
"name": "Configify-Wizard",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Krishna Murthy Srinivasan",
"author_email": "harikrishnachn@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/46/ba/0772d6c5310a5d10b98b0b18286c9bf11fd1949b77512df0e0166091285c/Configify_Wizard-0.1.2.tar.gz",
"platform": null,
"description": "# Configify Wizard\r\n\r\n`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.\r\n\r\n## Features\r\n\r\n- **Read Configuration Files**: Supports YAML, CFG, and CONF file formats.\r\n- **Write Configuration**: Save configurations to `.env` or JSON files.\r\n- **Set Environment Variables**: Easily set configurations as environment variables.\r\n\r\n## Installation\r\n\r\nYou can install `Configify Wizard` via pip:\r\n\r\n`bash`\r\npip install Configify-Wizard\r\n\r\n## Usage\r\n\r\nHere\u00e2\u20ac\u2122s a quick guide to using Configify Wizard:\r\n\r\n### 1. Parse Configuration Files\r\nYou can read configuration files in YAML, CFG, or CONF formats:\r\n\r\n\r\n```python\r\nfrom config_parser_module.config_reader import ConfigParserModule\r\n\r\nconfig_parser = ConfigParserModule()\r\n\r\n# Read YAML file \r\nconfig_dict = config_parser.read_yaml('config.yaml')\r\n\r\n# Read CFG or CONF file\r\nconfig_dict = config_parser.read_cfg('config.cfg')\r\n\r\n```\r\n**Note: Please enter full path of the files which you want to parse**\r\n\r\n### 2. Write Configurations\r\n\r\nYou can write configurations to a .env file or a JSON file:\r\n\r\n```python\r\n# Write to .env file\r\nconfig_parser.write_env('./config.env')\r\n\r\n# Write to JSON file\r\nconfig_parser.write_json('./config.json')\r\n\r\n```\r\n**Note: config_parser takes care of creating the directory if not present, enter desired filename and patho of your choice.**\r\n\r\n## 3. Set Environment Variables\r\n\r\n```python\r\n\r\nconfig_parser.set_os_env()\r\n\r\n```\r\n\r\n**Note: Setting up Environment Variable in OS currently supports for Linux Environment, Windows is currently under development, Contributions Welcome \u00f0\u0178\u02dc\u2030**\r\n",
"bugtrack_url": null,
"license": null,
"summary": "A configuration parser for YAML, CFG, and ENV files",
"version": "0.1.2",
"project_urls": {
"Homepage": "https://github.com/yourusername/config_parser_module"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "31cf12140cf5c051459f095bd1b032c9bbca11ce3e7d636c43d6ac72b2eab6dc",
"md5": "9863179a2ae7d2e4881c987297176d20",
"sha256": "58f52121fe7a7f8c2664962f0dc0aeb3bd47ab301f02cf20794ac7fd08f0371c"
},
"downloads": -1,
"filename": "Configify_Wizard-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9863179a2ae7d2e4881c987297176d20",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 4836,
"upload_time": "2024-09-07T12:30:20",
"upload_time_iso_8601": "2024-09-07T12:30:20.473493Z",
"url": "https://files.pythonhosted.org/packages/31/cf/12140cf5c051459f095bd1b032c9bbca11ce3e7d636c43d6ac72b2eab6dc/Configify_Wizard-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "46ba0772d6c5310a5d10b98b0b18286c9bf11fd1949b77512df0e0166091285c",
"md5": "b7c8f43b7e662dd273ef20b3ad23630b",
"sha256": "39a2af384339571df479a8a5a319c6a68256f01d704e26a706052702d0760b82"
},
"downloads": -1,
"filename": "Configify_Wizard-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "b7c8f43b7e662dd273ef20b3ad23630b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 4199,
"upload_time": "2024-09-07T12:30:22",
"upload_time_iso_8601": "2024-09-07T12:30:22.376859Z",
"url": "https://files.pythonhosted.org/packages/46/ba/0772d6c5310a5d10b98b0b18286c9bf11fd1949b77512df0e0166091285c/Configify_Wizard-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-07 12:30:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yourusername",
"github_project": "config_parser_module",
"github_not_found": true,
"lcname": "configify-wizard"
}