Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/arjixwastaken/pyconfigurer
- Owner: ArjixWasTaken
- License: mit
- Created: 2021-12-23T14:44:28.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-23T17:56:59.000Z (about 3 years ago)
- Last Synced: 2024-11-29T04:29:57.192Z (27 days ago)
- Topics: configuration, gui
- Language: Python
- Homepage: https://pypi.org/project/PyConfigurer/
- Size: 31.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PyConfigurer
A GUI configuration library for python programs.
# Usage
```python
from PyConfigurer import Configurer, ConfigTemplate, Token, FieldTypedefault_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)
```