HowdenParser 0.1.3__tar.gz → 0.1.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,15 @@
1
+ import os
2
+ import importlib
3
+
4
+ # Get all .py files in this folder except __init__.py
5
+ current_dir = os.path.dirname(__file__)
6
+ for filename in os.listdir(current_dir):
7
+ if filename.endswith(".py") and filename != "__init__.py":
8
+ module_name = filename[:-3] # remove .py
9
+ module = importlib.import_module(f".{module_name}", package=__name__)
10
+
11
+ # Add all classes from the module to the package namespace
12
+ for attr_name in dir(module):
13
+ attr = getattr(module, attr_name)
14
+ if isinstance(attr, type): # only classes
15
+ globals()[attr_name] = attr
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: HowdenParser
3
- Version: 0.1.3
3
+ Version: 0.1.5
4
4
  Summary: A simple configuration manager with Pydantic and JSON export.
5
5
  License: MIT
6
6
  Keywords: config,configuration,pydantic,json
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
4
4
 
5
5
  [tool.poetry]
6
6
  name = "HowdenParser"
7
- version = "0.1.3"
7
+ version = "0.1.5"
8
8
  description = "A simple configuration manager with Pydantic and JSON export."
9
9
  authors = [ "JesperThoftIllemannJ <jesper.jaeger@howdendanmark.dk>",]
10
10
  readme = "README.md"
@@ -16,6 +16,3 @@ documentation = "https://github.com/yourusername/config"
16
16
  [[tool.poetry.packages]]
17
17
  include = "HowdenParser"
18
18
 
19
- [[tool.poetry.packages]]
20
- include = "parameter"
21
-
File without changes
File without changes