Skip to main content

Distribute Python apps to Windows machines without freezing them.

Project description

Frigobar

Distribute Python apps to Windows machines without freezing them.

Basic usage

frigobar my_app.py

This will create a frigobar folder, with a my_app.bat file in it. Run it to run your app. And since you already opened it, grab a beer!

Installation

pip install frigobar

Options

frigobar --help

Rationale

A common technique to distribute Python apps is to "freeze" them using tools like PyInstaller or cx_Freeze. These freezers create a standalone executable that contains your app and all its dependencies. This is a workable solution, but it has two main drawbacks:

  1. The resulting frozen app is often huge. It's not uncommon to see a simple app taking MBs of space.
  2. Because dependence resolution is hard, the frozen app may contain more or less dependencies than it needs. Less dependencies lead to dread "working-app-that-stop-working-when-you-freeze-it" situations. Unnecessary dependencies lead to bloated apps.

Frigobar avoids those problems by postponing the download of the Python interpreter and all the app's dependencies to the first time the user runs the app, making the app the smallest it can be. Frigobar also doesn't try to be smart about dependencies and will only download the ones explicitly listed in a requirements.txt file. This a closer experience to what a developer does when he runs the app in his own machine, which hopefully will lead to less surprises to users.

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

frigobar-1.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

frigobar-1-py2.py3-none-any.whl (7.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file frigobar-1.tar.gz.

File metadata

  • Download URL: frigobar-1.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for frigobar-1.tar.gz
Algorithm Hash digest
SHA256 d25f9e772ca345ce537b2cbc45e4a2d3e75da208e12eacc329674a9fa77b34b3
MD5 5bf58d9062a55ea27ed79e0fd8697393
BLAKE2b-256 ee1ff03ee6e48499c55a3476078581672ced810a9745db767c68c26b2930a478

See more details on using hashes here.

File details

Details for the file frigobar-1-py2.py3-none-any.whl.

File metadata

  • Download URL: frigobar-1-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for frigobar-1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 14505ef139f6899275a1725a7b1bc46453a0f2e29481defdde39391096cb0e4c
MD5 003dc1c2b0de7c2ccb48045e04165da6
BLAKE2b-256 dcc393ac4f5a4c2f12e9c356903b1bd16a1ae831429045afe7d51ca836ab9268

See more details on using hashes here.

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