Metadata-Version: 2.0
Name: pyConfigAnalysis
Version: 1.0.4
Summary: This is a python project that parses the configuration file for the "key = value" type.
Home-page: https://github.com/li-yi-cloud/pyConfigAnalysis
Author: li_yi_cloud
Author-email: li_yi_cloud@foxmail.com
License: BSD License
Platform: all
Classifier: Development Status :: 4 - Beta
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: Implementation
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries

This is a python project that parses the configuration file for the "key = value" type.
Usage :
    # analysis.conf
    # remark ...
	key1 = value1
	key2 = value2

------------
Create a ConfigAnalysis object:
    from pyConfigAnalysis import ConfigAnalysis
    config = ConfigAnalysis()
	config.read("analysis.conf")
Get all of the key:
    config.keys()
	->["key1","key2"]
Get the value from a key:
    config.get("key1")
	->"value1"
Update a configuration
    config.update("key2","newvalue2")
	#check
	config.get("key2")
	->"newvalue2"
	#save to configuration file
	config.save()
Add a configuration
    config.add("key3","value3")
	#check
    config.get("key3")
	->"value3"
	#save to configuration file
    config.save()

