Skip to content

Instantly share code, notes, and snippets.

View PaulCreusy's full-sized avatar

Paul Creusy PaulCreusy

View GitHub Profile
@PaulCreusy
PaulCreusy / scrollable_frame.py
Last active May 22, 2024 11:33
Scrollable Frame for tkinter
import os
import tkinter as tk
from tkinter import ttk
class ScrollableFrame(ttk.LabelFrame):
def __init__(self, container, *args, **kwargs):
super().__init__(container, *args, **kwargs)
canvas = tk.Canvas(self, takefocus=0)
self.canvas = canvas
@PaulCreusy
PaulCreusy / SelfSignWindowsExecutable.md
Last active May 20, 2024 03:05
How to self-sign a Windows executable created with Pyinstaller

How to self-sign a Windows package created with Pyinstaller

This document aims to explain all the necessary steps to self-sign a Windows executable.

⚠️ Warning
Some of the commands provided need to be completed. The fields to complete are indicated by the characters < and >.

Prerequisites

Please make sure to match all the prerequisite before starting the process of signing the package.

@Guhan-SenSam
Guhan-SenSam / instructions.md
Last active April 4, 2024 05:06
Creating an AAB for python apps using Buildozer

Introduction

Recently Google made it compulsory that all new apps must be uploaded not as .apk files but as .aab files. Till just recently the tool Buildozer was only able to compile your python applications to .apk but recent changes have allowed us to compile to .aab format. This is an instruction set that can be used to create a release .aab.

What is an AAB

The new .aab format may be a little confusing. .aab stands for app bundles and consists of a bundle of apk's within it. When you upload an aab to the playstore you are basically uploading a bunch of apk. PlayStore then based on the device that is downloading your application will generate the required apk based on that devices architecture and other parameters.

The introduction of .aab doesn't mean that .apk are no longer useful. .aab are only used for releases where as .apk are still used for testing your application and sharing it with others to directly install(not through the store).

> Note: Test your applications