Help you to manage with Config Yaml :)
MIT License
LibConfig is a Python library for working with YAML configuration files.
You can install LibConfig using pip:
pip install libconfigv1
Here's how you can use LibConfig in your Python projects:
from libconfig import LibConfig
# Initialize LibConfig with the path to your YAML file
yaml_file = "config.yaml"
lib_config = LibConfig(yaml_file)
# Get a configuration value by key
value = lib_config.get("key")
print("Value:", value)
# Set a configuration value by key
lib_config.set("key", "new_value")
# Get the updated value
updated_value = lib_config.get("key")
print("Updated Value:", updated_value)
Contributions to LibConfig are welcome! To contribute, please follow these guidelines:
Before submitting a pull request, please make sure to run tests and linting using the following commands:
pytest
flake8
For more information, please read the Contribution Guidelines.
LibConfig is licensed under the MIT License. See the LICENSE file for details.
If you have any questions or feedback, feel free to reach out to the project maintainer