diff --git a/README.md b/README.md index b960514..638ed41 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,9 @@ If the configuration file content is: the result will be `{'section1': {'key1': 'value1', 'key2': 'value2', 'number': 42, 'number2': 3.14, 'number3': -1, 'boolean': True, 'boolean2': False, 'null': None}, 'section2': {'hello': 'world'}, 'section3': {'key': 'value'}}` ## Changelog +### Version 1.1.1 +- Updated the `__init__.py` files in the packages. Now you do not need to run e. g. `import config_parser.parse`, you can simply run `import config_parser` to access `config_parser.parse` + ### Version 1.1.0 - JSON and INI serializer diff --git a/pyproject.toml b/pyproject.toml index 24ce1e2..2c5f9a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,5 +4,5 @@ build-backend = "setuptools.build_meta" [project] name = "config-parser" -version = "1.1.0" +version = "1.1.1" description = "A configuration file parser." \ No newline at end of file diff --git a/src/config_parser/__init__.py b/src/config_parser/__init__.py index b70bd3a..e7952a5 100644 --- a/src/config_parser/__init__.py +++ b/src/config_parser/__init__.py @@ -11,11 +11,11 @@ Modules: ''' from ._configuration import Configuration -# from . import exceptions -# from . import json -# from . import ini -# from . import parse -# from . import serialize +from . import exceptions +from . import json +from . import ini +from . import parse +from . import serialize __all__ = [ 'Configuration', diff --git a/src/config_parser/parse/__init__.py b/src/config_parser/parse/__init__.py index cf2a98c..af3c546 100644 --- a/src/config_parser/parse/__init__.py +++ b/src/config_parser/parse/__init__.py @@ -6,8 +6,8 @@ Modules: - json: JSON parser. ''' -# from . import json -# from . import ini +from . import json +from . import ini __all__ = [ 'json', diff --git a/src/config_parser/serialize/__init__.py b/src/config_parser/serialize/__init__.py index c0f2339..46bac18 100644 --- a/src/config_parser/serialize/__init__.py +++ b/src/config_parser/serialize/__init__.py @@ -6,8 +6,8 @@ Modules: - json: JSON serializer. ''' -# from . import json -# from . import ini +from . import json +from . import ini __all__ = [ 'json',