Skip to main content

A faster ImageSpec builder for flytekit

Project description

imagespec-fast-builder

PyPI - Version PyPI - Python Version


imagespec-fast-builder is alternative backend for flytekit's ImageSpec with the following improvements:

  • Smaller images by using multi-stage builds, a smaller base image, and conda-pack
  • Uses uv for installing from PyPI
  • No additional Python dependencies

Installation

pip install imagespec-fast-builder

How to use

After installing, set ImageSpec's builder to fast-builder:

from flytekit import ImageSpec

image = ImageSpec(
    builder="fast-builder",
    packages=["numpy"],
    registry="localhost:30000",  # Any registry
)

License

imagespec-fast-builder is distributed under the terms of the MIT license.

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

imagespec_fast_builder-0.0.31.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

imagespec_fast_builder-0.0.31-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file imagespec_fast_builder-0.0.31.tar.gz.

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.31.tar.gz
Algorithm Hash digest
SHA256 cb623b107c1f1ba9127ce82b8b909e285335c1fd33eedf1cfd6a97d74eb9e447
MD5 f7db2cd3bbdb2c8e4a6b099ab90bbfee
BLAKE2b-256 558971c7cf47027adfb9ea457697f0c2df1b1448c0e5858d3cbf5467129b0948

See more details on using hashes here.

File details

Details for the file imagespec_fast_builder-0.0.31-py3-none-any.whl.

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.31-py3-none-any.whl
Algorithm Hash digest
SHA256 60bdb9a606e544c2c1fac5af6956a7988b7cdf6681b6d61cd7573691744d427d
MD5 fa8d750b36e95fd857003c4b3e1a6a6b
BLAKE2b-256 002e41d00e5bb3473946f1b3f554565bf4969cee3eb6e72b19326e909860dda5

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