Giter Club home page Giter Club logo

gui-pyinstaller-pichuga's Introduction

GUI for Pyinstaller based on Tkinker

Version 1.2 (current)

Что это? | What is it?

Максимально легкий способ использовать PyInstaller с минимальным использованием командной строки. Простой инструмент, при помощи которого можно сделать ваш скрипт в формате .py в исполняемый файл .exe

The easy way to use PyInstaller with minimal command line usage.. A simple tool to turn your .py script into an .exe executable

Light screenshot

Данный код основан на старой, но все еще актуальной реализации от vsantiago113, которая к сожалению, уже несколько лет как не обновляется. Однако, скрипт по прежнему работает и полезен. Используя специально сделанной для этого проекта темой оформления для ttk, основанной на темах от rdbende и теме Spring-Noon, попробовал дать этой реализации второе дыхание. Главной задачей стояло создать удобный и простой инструмент, который позволит в пару кликов создавать приложения, используя возможности PyInstaller и обладая при этом, самым минимум необходимых навыков, используя инструмент который прост, понятен и выглядит узнаваемо и современно.

This code is based on an old but still current implementation from vsantiago113, which unfortunately has not been updated for several years. However, the script still works and is useful. Using a custom ttk theme for this project based on the themes from rdbende and the theme Spring-Noon, tried to give this implementation a second wind. The main task was to create a convenient and simple tool that will allow you to create applications in a couple of clicks using the capabilities of PyInstaller and at the same time having the bare minimum of necessary skills, using a tool that is simple, understandable and looks recognizable and modern.

Как начать использовать? | How to start using?

  1. Скачайте архив с последней версией и распакуйте в любое удобное для вас место;

  2. Установите необходимые компоненты и зависимости если такая необходимость имеется;

  3. Запустите Pichuga-GUI-Pyinstaller.py и указав нужные вам опции, создайте свою программу.


  1. Download the archive with the latest version and extract it to any place convenient for you;

  2. Install the necessary components and dependencies if necessary;

  3. Run Pichuga-GUI-Pyinstaller.py and select the options you need in the window, create your program.

Для работы вам понадобится только содержимое папки GUI-Pyinstaller-Pichuga

  • Pichuga-GUI-Pyinstaller.py - версия на русском языке

  • Pichuga-GUI-Pyinstaller-en.py - версия на английском языке

  • theme - Папка с темой оформления (стили, иконка, изображения и пр.)

  • russian-spring.tcl - Файл темы оформления

  • icon.ico - иконка скрипта

  • requirements_windows.txt - Зависимости

  • Папки build, dist и файл .spec создаются автоматически


To work, you only need the contents of the GUI-Pyinstaller-Pichuga folder

  • Pichuga-GUI-Pyinstaller.py - Russian version

  • Pichuga-GUI-Pyinstaller-en.py - English version

  • theme - folder with the theme (styles, icons, images, etc.)

  • russian-spring.tcl - Theme File

  • icon.ico - script icon

  • requirements_windows.txt - requirements

  • The build, dist folders and .spec file are automatically created

После распаковки содержимого архива в любую удобную вам папку, для начала достаточно запустить файл Pichuga-GUI-Pyinstaller.py, затем в открывшемся окне установить необходимые вам опции и выбрать файл скрипта, который необходимо сделать исполняемым файлом, при необходимости можно задать имя и указать путь до иконки. Далее просто жмем на конку "Начать" и ждем окончания процесса, за ходом которого, можно наблюдать в окне консоли. Готовый результат будет располагаться в папке dist

Внимание: Все сторонние изображения, стили, иконки и прочие дополнительные компоненты вашего приложения, после создания файла в формате .exe, обязательно необходимо скопировать из оригинальной директории, в ту директорию где у вас расположен новый файл .exe

After unpacking the contents of the archive into any folder convenient for you, first you just need to run the Pichuga-GUI-Pyinstaller.py file, then in the window that opens, set the options you need and select the script file that you want to make an executable file, if necessary, you can specify a name and specify the path to the icon. Next, just click on the "Build" button and wait for the end of the process, the progress of which can be observed in the console window. The finished result will be located in the dist folder

Attention: All third-party images, styles, icons and other additional components of your application, after creating a file in the .exe format, must be copied from the original directory to the directory where you have the new .exe file

Page in English translate.google.com

Команда для установка необходимых компонентов

pip install -r requirements.txt

или

pip install pyinstaller 

Команда на сборку exe файла без использования GUI:

pyinstaller yourscript.py --noconsole --onefile --icon=icon.ico

Графический интерфейс PyInstaller был протестирован только в Windows с использованием версии Python 3.10.2

Возможны перебои, баги и прочие вещи. По возможности это все исправляется. Но в целом работает...

The PyInstaller GUI has only been tested on Windows using Python version 3.10.2

Interruptions, bugs and other things are possible. If possible, this will be corrected. But in general it works...

Light

Ссылки: | Links:

PyInstaller Manual

PyInstaller on GitHub (latest version)

Python script: PyInstallerGUI - vsantiago113

Tkinker theme: Sun-Valley - rdbende

Tkinker theme: Spring-Noon - blyamur

Tkinker theme: Spring-Sunset - blyamur

Copyrights and Licenses

Not for commercial use.

Thanks for reading 😻

Спасибо за чтение!

Did you find this useful?! | Вы нашли это полезным ?!

Happy to hear that :) If You want to help me, you can buy me a cup of coffee ☕ ( yoomoney or ko-fi, boosty.to )

Рад это слышать :) Если вы хотите мне помочь, вы можете угостить меня чашечкой кофе

© 2022 From Russia with ❤

gui-pyinstaller-pichuga's People

Contributors

blyamur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.