geändert: README.md
geändert: pyproject.toml geändert: src/config_parser/__init__.py geändert: src/config_parser/parse/__init__.py geändert: src/config_parser/serialize/__init__.py
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
+1
-1
@@ -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."
|
||||
@@ -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',
|
||||
|
||||
@@ -6,8 +6,8 @@ Modules:
|
||||
- json: JSON parser.
|
||||
'''
|
||||
|
||||
# from . import json
|
||||
# from . import ini
|
||||
from . import json
|
||||
from . import ini
|
||||
|
||||
__all__ = [
|
||||
'json',
|
||||
|
||||
@@ -6,8 +6,8 @@ Modules:
|
||||
- json: JSON serializer.
|
||||
'''
|
||||
|
||||
# from . import json
|
||||
# from . import ini
|
||||
from . import json
|
||||
from . import ini
|
||||
|
||||
__all__ = [
|
||||
'json',
|
||||
|
||||
Reference in New Issue
Block a user