Skip to main content

A simple packager for creating distributable python applications

Project description

DiamondPack

A simple packager for creating distributable Python applications


Used to create distributable applications in the simplest way possible. Enables Python applications to easily run on systems that don't have Python installed, and without the need for users to know what Python even is.

Features:

  • Build Windows and Linux applications
  • Minimal configuration needed
  • Fast execution, no waiting for libraries to unzip

Install:

pip install diamondpack

Usage:

1. Configure DiamondPack via your pyproject.toml

[project.scripts]
# Each script named here will generate a new executable
myScript = "examplePackage.myScript:main"

[tool.diamondpack]
mode = "app"

Mode can be app or script:

  • app will generate a compiled executable
  • script will generate a bash (Linux) or batch (Windows) script

2. Build your application into a wheel

python -m build --wheel

3. Run diamondpack

python -m diamondpack

4. Profit

Your package will be placed in dist/[package-name]-[version]/

FAQ

Q) Do DiamondPack applications work cross-platform

A) While DiamondPack itself is cross=-platform, packaged applications are only usable in the OS they were packaged on

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

diamondpack-1.3.2.tar.gz (10.6 kB view hashes)

Uploaded Source

Built Distribution

diamondpack-1.3.2-py3-none-any.whl (12.8 kB view hashes)

Uploaded Python 3

Supported by

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