apphandler
App installation utilities for Windows Python apps.
Installation
pip install apphandler
Usage
from apphandler import first_launch, create_shortcut, create_start_menu
# First launch — returns True if first launch, False otherwise
if first_launch():
create_shortcut("MyApp")
create_start_menu("MyApp")
# Create desktop shortcut manually
create_shortcut("MyApp")
# Create Start Menu shortcut manually
create_start_menu("MyApp")
Functions
first_launch(exe_path=None, flag=None)
Validates if the app is launched for the first time by checking for a flag file.
exe_path— defaults tosys.argv[0](current running file)flag— defaults toinstalled.flagnext to the exe- Returns
Trueon first launch,Falseon subsequent launches
create_shortcut(app_name, exe_path=None)
Creates a desktop shortcut for the app.
app_name— name of the shortcut fileexe_path— defaults tosys.argv[0](current running file)
create_start_menu(app_name, exe_path=None)
Creates a Start Menu shortcut for the app.
app_name— name of the shortcut fileexe_path— defaults tosys.argv[0](current running file)
Requirements
- Windows only
- Python 3.x
Author
Manish Maharana
- GitHub: @Manish-Maharana-0g
Metadata
Release files for apphandler 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| apphandler-1.0.0.tar.gz | 2.1 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| apphandler-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.5 kB
Release files / apphandler-1.0.0.tar.gz
| Download URL | apphandler-1.0.0.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
379d80f28a679025863185befcfb8e4fdfb262b40c9c5d2b9307f73971b5cf8c
|
|
BLAKE2b-256 checksum How to use checksums |
77d556d2bc1e3c6aaf4a14cbbf090e07aa32d1f2d6936223fb4d2a9427f336e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 9, 2026.
Transparency logRelease files / apphandler-1.0.0-py3-none-any.whl
| Download URL | apphandler-1.0.0-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
efbc93d3f1d8cf3a5eed6f901ff13bd5525e23bbe341ef27c6429e3aa697e7a1
|
|
BLAKE2b-256 checksum How to use checksums |
b9836b98724277baaa09bc99cd71d3e853f09af4d813eb42e9d071415b1511bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 9, 2026.
Transparency logSecurity for apphandler 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for apphandler-1.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 9, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.