Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arjixwastaken/pyconfigurer

A GUI configuration library for python programs.
https://github.com/arjixwastaken/pyconfigurer

configuration gui

Last synced: 26 days ago
JSON representation

A GUI configuration library for python programs.

Awesome Lists containing this project

README

        

# PyConfigurer

A GUI configuration library for python programs.

# Usage

```python
from PyConfigurer import Configurer, ConfigTemplate, Token, FieldType

default_config = {
"user": "Arjix",
"age": 18
}

config_template = ConfigTemplate([
Token(FieldType.text_input, "user", "Enter your name:", default_config["user"]),
Token(FieldType.int_input, "age", "Enter your age:", default_config["age"])
])
config = Configurer(config_template)
new_config = config.run()

print("Old config", default_config)
print("New config", new_config)
```