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"
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).

  • 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

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.28b3.tar.gz (20.5 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.28b3-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file pyxwizard-0.28b3.tar.gz.

File metadata

  • Download URL: pyxwizard-0.28b3.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for pyxwizard-0.28b3.tar.gz
Algorithm Hash digest
SHA256 3cf7befefae0565e2c37bdd83cac1efde6216e3c2ae9ccf9f5d699fce2fb084a
MD5 a1ffd91876e67c53253bff4b72166dad
BLAKE2b-256 16b4666d77d2101cb0dd4ec1c74a17a4d8d906e96a97140654cf77fded25db18

See more details on using hashes here.

File details

Details for the file pyxwizard-0.28b3-py3-none-any.whl.

File metadata

  • Download URL: pyxwizard-0.28b3-py3-none-any.whl
  • Upload date:
  • Size: 21.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for pyxwizard-0.28b3-py3-none-any.whl
Algorithm Hash digest
SHA256 fa8db28ca3e2d07b7c1e925eea35870ec1889347ec6ad975daa7d2f349d7a2bb
MD5 07105b6bb9392d732ce32eed55cca96a
BLAKE2b-256 20c8b51c1b28fdc2dac3464e35423134f305074afa4cf8cc6c09039ac9efe535

See more details on using hashes here.

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