Skip to main content

Package Python scripts into standalone Windows executables — a TRADELY PROJECT

Project description

PyX Wizard — Library Edition

Python → EXE Builder
Package Python scripts into standalone Windows executables from code.

Quick Start

import pyxwizard as PyXWizard

PyXWizard.begin()
PyXWizard.location("my_script.py")
PyXWizard.name("MyApp")
PyXWizard.build()

API Reference

Command Required Default Description
PyXWizard.begin() Yes Initialise PyX, fetch lib categories
PyXWizard.location(path) Yes Script path or "self" ("self" does not work with Data Folders.)
PyXWizard.name(name) Yes Project name (= EXE filename)
PyXWizard.author(name) No TRADELY.DEV Author metadata
PyXWizard.console(bool) No True Show console window
PyXWizard.icon(path) No Tradely icon Custom .ico file
PyXWizard.data(f1, f2, ...) No None Folders to bundle
PyXWizard.cert(pfx, pwd, signtool?) No None Code signing cert
PyXWizard.outlocation(path) No Script dir Where to put PyX_Data
PyXWizard.build() Yes Run the build, returns exe Path

Notes

  • "self" mode: PyXWizard.location("self") packages the calling script. All import pyx and PyXWizard.xxx() lines are automatically removed from the packaged copy.

  • Data folders: Files in bundled folders are accessible at runtime with "packaged-within-exe:folder_name/file.ext" string literals (auto-rewritten by the preprocessor). Exclusion is: PyXWizard.location("self"). This can not contain Data Folders.

  • Venv reuse: Building the same project name twice reuses the existing virtual environment instead of recreating it.

  • Library categories: On begin(), PyX fetches a remote JSON of known library metadata to improve PyInstaller compatibility (collect-all, hidden-imports, copy-metadata). Works offline too — just without categorisation.

    Further Details

Check out PyX Wizard by TRADELY

PyPi Library available at: PyPi PyXWizard

Use the README there to set up the library.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyxwizard-0.28.4.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyxwizard-0.28.4-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

Details for the file pyxwizard-0.28.4.tar.gz.

File metadata

  • Download URL: pyxwizard-0.28.4.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyxwizard-0.28.4.tar.gz
Algorithm Hash digest
SHA256 8a09175a78014c960e1cbbb3dbbda80cec0aebd5fb8a04d7fd61cdcbdf41cb22
MD5 c89f14833d7a102fb2e162ab7cd9a0c0
BLAKE2b-256 76fca09e8dcec92bd2681fa8261edf4424188b534e3d847d64f4ebdcea946108

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyxwizard-0.28.4.tar.gz:

Publisher: publish.yml on techareaone/PyX

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyxwizard-0.28.4-py3-none-any.whl.

File metadata

  • Download URL: pyxwizard-0.28.4-py3-none-any.whl
  • Upload date:
  • Size: 21.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyxwizard-0.28.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6e8746d469e1cd24b4facb2e5bf6d89e9debfc6acb7397c97cd2729c588bb02d
MD5 b53c2e59d7159c93ba73944c5e7e4370
BLAKE2b-256 5325b3cb1e29d8db0ae4bea5374e79f1391ee98733eb08780bfc033a212bf4db

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyxwizard-0.28.4-py3-none-any.whl:

Publisher: publish.yml on techareaone/PyX

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page