AM
AmolDerickSoans/cookiecutter-Tkinter
cookie-cutter templates to build different types of tkinter applications
Content
About
CookiecutterTkinter offers multiple templates to build tkinter projects.
cookiecutter gh:AmolDerickSoans/cookiecutter-Tkinter
Features
- ttktheme support
- Test Framework for project
- Built-in README file generator
- Built-in LICENSE file generator
TEMPLATES AVAILABLE
Basic single page form with multiple widgets
Multipage form with widgets , notebooks.
Single page with spalshscreen support
Calculator Demo
Text Editor Demo
File Search Demo
ttk Themes
Know More TtkThemes
How to Use
Contribute
This Project is looking for contributors , if you feel like making a template out of your tkinter code please follow these steps:
-
Fork this repository
-
Write well documented tkinter code that can be easily customisable
-
Add theme support inside your code.
# pip install ttkthemes from ttkthemes import ThemedStyle ##THEMES # "arc ","plastik" , "adapta" , "yaru" , "radiance" , "breeze" ,"no-theme" if '{{ cookiecutter.ttkTheme|lower}}' == 'no-theme': print("no theme file selected ,Set to default") else: style = ThemedStyle() style.theme_use('{{ cookiecutter.ttkTheme|lower}}')
-
Add code to
{{cookiecutter.project_slug}}folder.+{{cookiecutter.project_slug}} | |- BasicForm | | | |- main.py | |- YourTemplate |- subDirs |-main.py -
Add
YourTemplatetocookiecutter.json -
Add
YourTemplateto the template list inhooks\post_gen_project.py


