Metadata-Version: 2.5
Name: HowdenConfig
Version: 1.1.0
Summary: A simple configuration manager with Pydantic and JSON export.
Project-URL: Homepage, https://github.com/yourusername/config
Project-URL: Repository, https://github.com/yourusername/config
Project-URL: Documentation, https://github.com/yourusername/config
Author-email: JesperThoftIllemannJ <jesper.jaeger@howdendanmark.dk>
License-Expression: MIT
Keywords: config,configuration,json,pydantic
Requires-Python: >=3.12
Requires-Dist: pydantic<3.0.0,>=2.11.7
Requires-Dist: toml<0.11.0,>=0.10.2
Requires-Dist: types-toml<0.11.0.0,>=0.10.8.20240310
Description-Content-Type: text/markdown

.\build.ps1

```
from pydantic import BaseModel
from HowdenConfig.config import Config


class Model1(BaseModel):
    provider_and_model: str = "openai:"
    path: str = "hest"

class Model2(BaseModel):
    provider_and_model: str = "llamaparser:"
    path: str = "hest2"


class Parameter(Config):
    pdf_path: str = "hest/b.json"
    split: bool = True
    llama_premium_mode: bool = True
    model1: Model1 = Model1()
    model2: Model2 = Model2()



if __name__ == "__main__":
    parameter = Parameter()
    print(parameter.split)
    print(parameter.pdf_path)
    print(parameter.model1.provider_and_model)
    parameter.write_to_json_file("hest.json")
```