Repository navigation
packer Update [0.27.0]
This release enhances the CLI, GUI, and documentation with new features such as font randomization, terminal-specific exception handling, and dynamic text rendering in the GUI. Additionally, it addresses several improvements and bug fixes, including automatic Git indexation of the CHANGELOG.md file and updated documentation for various functions. But most importantly remember that the GUI is a still in progress feature!
Installation
Use the assets attached to this release page or PyPI to install this exact version.
1. Via PyPI
pip install packer-release==0.27.02. Via Attached Wheel File
Download packer-0.27.0-py3-none-any.whl from the Assets section below, then run:
pip install ./packer-0.27.0-py3-none-any.whl3. From GoFile Source Archive
Download the source archive from https://gofile.io/d/KtA9pExt and install it locally with pip:
pip install /path/to/packer-0.27.0.zip4. Standalone Executable (No Python Required)
Download the binary for your platform from the Assets section below:
- Linux:
packer(runchmod +x packerto make it executable) - Windows:
packer.exe
Changes in 0.27.0
Added
- [0056648] CLI completion function for settings
--version-fontfonts to give nice-random font selection. - [0056648] Documentation for various functions that were missing, most importantly the
Global_exception_handleris also now documented. - [689559d]
trigger_exitfunction inege.pyto handle clean GUI exit by triggeringpygamequit event. - [689559d]
compatabilitysettings for the GUI users that are on Windows. - [2c30382] Doctype for the
_smooth_outputfunction, so that all of those function have doctype and type notations, so when you inspectprint_and_logthe documentation remains the same.
Changed
- [5f5e478] Added a
no_indexparameter to themain()function inchange.py, allowing to disable automatic full git indexation of the project (default is False). - [0056648] Officially made Packer's
Global_exception_handleronly run in a terminal interface, not when Packer is imported. - [0056648]
print_colored_textfunction in theetf.pymodule to acceptNoneas an option for color, in that case the function doesn't call thechange_colorfunction. - [0056648] Updated all use cases of
print_colored_textfunction to not manually check if color is None, but now just simply pass it to theprint_colored_textfunction without a seperateprintfunction call. - [0056648]
Global_exception_handlerupdatemethod to allow acceptingIO queues, making it easy to plug in an interface after creating the object. - [689559d] Removed temporary section in the GUI that mutes
Pygamewarnings. - [689559d] Reworked
_refresh_outputfunction in the GUI to correctly render text, lines are warped by character a new blit is created for each text they are aligned as close to each other as possible on the x axi, in the future font size will be dynamic for y axi alignment as well. - [689559d]
_handle_outputto correctly save the end characters if there are any and added an automatic GUI exit if an exit event is received from Packer after a delay. - [689559d]
_draw_outputto not allow accepting mouse inputs by clearing themenu_buttonslist. - [689559d]
_send_queue_requestdictionary object strucure to not contain the expected output type, since it doesn't ever change based on the question. - [689559d] Output window in the GUI to have 2 buttons at the bottom a yes and no whenever a question pops up.
- [2c30382]
_log_and_output_queuefunction doctype and type notations to match it's other similar functions, to be more readable. - [bb5a2c9] Update
GoFilePacker folder share code from the oldbsT5ixto the newKtA9pExt, sinceGoFilehad again updated their website and the folder was removed.
Fixed
- [3e15e4b] Made git still automatically index or stage the
CHANGELOG.mdfile regardless of the--no-indexflag. - [0056648] Documentation on the
bool_answerfunction in theetf.pymodule. - [0056648]
Global_exception_handlerto use providedIO queues. - [2c30382] Type notation for the
Packerclass variable IO queues, to show that they accept None as a value. - [2c30382] Output for missing ollama client in the
Packerclass to not have a random comma after a line, accidental syntax mistake. - [2c30382] Output for
GoFileretrying message to correctly pass values to the function, the level argument was being passed to the color parameter.
Verification
To ensure the integrity of the downloaded files, you can verify their SHA256 checksums.
How to verify:
- Windows (PowerShell):
Open PowerShell and run the following command:
Get-FileHash .\packer.exe -Algorithm SHA256- Linux (Terminal):
Open your terminal and run:
sha256sum packerCompare the resulting hash with the one provided in the GitHub release assets list to ensure it matches.