Giter Site home page Giter Site logo

mihailcosmin / cookiecutter-python-gui-application Goto Github PK

View Code? Open in Web Editor NEW
42.0 2.0 6.0 6.76 MB

Cookiecutter Template for Python GUI Applications

Makefile 2.26% Python 84.48% Batchfile 0.57% kvlang 12.69%
python python3 qt pyside2 pyside6 pyside tkinter kivy gui cookiecutter interface pyqt pyqt5 pysimplegui customtkinter pyforms pygui toga libavg dearpygui

cookiecutter-python-gui-application's Introduction

Cookiecutter Python GUI Application

Cookiecutter template for Python GUI Applications based on cookiecutter-pypackage: https://github.com/audreyfeldroy/cookiecutter-pypackage.

This template is mostly intended for beginners in GUI development using Python, but it can be used by experienced developers also.

Besides providing the template and the needed tools for GUI development, this repository also comes with demos for most used python GUI frameworks, in order to get you started, if you are a beginner.

Features

  • Free software: BSD license
  • Dependency tracking using poetry
  • Pytest runner: Supports unittest, pytest, nose style tests and more
  • Travis-CI: Ready for Travis Continuous integration testing
  • Tox testing: Setup to easily test for python 2.6, 2.7, 3.3 and PyPy_
  • Sphinx docs: Documentation ready for generation with, for example, ReadTheDocs
  • Wheel support: Use the newest python package distribution standard from the get go

Supported GUI Frameworks

Demos:

  • Qt family (PyQt5, PyQt6, PySide2, PySide6):

Qt Demo

  • Tkinter:

Text Editor

  • CustomTkinter:
sample.mp4
  • PySimpleGUI:

PySimpleGUI

  • wxPython:

Web Browser

Toga

  • Kivy:

Kivy

Frameworks Comparison

TODO: Add comparison table, main features

Usage

Generate a Python GUI Application project:

cookiecutter https://github.com/MihailCosmin/cookiecutter-python-gui-application.git

Not Exactly What You Want?

Don't worry, you have options:

Similar Cookiecutter Templates

Fork This

If you have differences in your preferred setup, I encourage you to fork this to create your own version. Once you have your fork working, add it to the Similar Cookiecutter Templates list with a brief explanation. It's up to you whether or not to rename your fork.

Or Submit a Pull Request

I also accept pull requests on this, if they're small, atomic, and if they make my own packaging experience better.

cookiecutter-python-gui-application's People

Contributors

mihailcosmin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cookiecutter-python-gui-application's Issues

So sorry to reach out to you through here!

Unfortunately github doesn't have messages so I hope this is okay.

I am looking for anyone who has shown recent interest in PyQt5.

Me and a couple of other people are working on a productivity tool using PyQt5. Our goal is to create something that hundreds of people would find useful. The whole thing uses PyQt5 so it has been challenging to find devs that know how to use it. Check it out, if you are interested, we need all the help we can get. This could be a good opportunity to learn something new :)

https://github.com/derto42/FlowBuddy

Here is my discord as well if interested: https://discord.gg/ahvpBbXG

Error while creating a project

>>> cookiecutter https://github.com/MihailCosmin/cookiecutter-python-gui-application.git
full_name [Cosmin Munteanu]: demberto
email [[email protected]]: [email protected]
github_username [MihailCosmin]: demberto
project_name [Python GUI Application]: TK
project_slug [tk]:
project_short_description [Python template that contains all the things you need to create a Python GUI Application.]: Cookicutter Tk Demo
pypi_username [demberto]:
version [0.1.0]: 0.0.1
Select gui_framework:
1 - PyQt5
2 - PyQt6
3 - PySide2
4 - PySide6
5 - Tkinter
6 - Kivy
7 - wxPython
8 - None - Will decide later
Choose from 1, 2, 3, 4, 5, 6, 7, 8 [1]: 5
use_poetry [y]: n
use_pytest [y]: n
use_pypi_deployment_with_travis [y]: n
add_pyup_badge [y]: y
create_author_file [y]:
Select open_source_license:
1 - MIT license
2 - BSD license
3 - ISC license
4 - Apache Software License 2.0
5 - GNU General Public License v3
6 - Not open source
Choose from 1, 2, 3, 4, 5, 6 [1]: 1
keep_demo [y]: n
F:\Prog\Python\tk
Traceback (most recent call last):
  File "C:\Users\anand\AppData\Local\Temp\tmp125pcd2c.py", line 31, in <module>
    os.rename('demo/tkinter_', 'demo/tkinter')
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'demo/tkinter_' -> 'demo/tkinter'
ERROR: Stopping generation because post_gen_project hook script didn't exit successfully
Hook script failed (exit status: 1)

Initial Update

The bot created this issue to inform you that pyup.io has been set up on this repo.
Once you have closed it, the bot will open pull requests for updates as soon as they are available.

PySimpleGUI support

Was PySimpleGUI support removed at some point? I see it appears in some parts of the code but was taken out of the README.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.