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.29.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

imagespec_fast_builder-0.0.29-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.29.tar.gz
Algorithm Hash digest
SHA256 14c4dccd8bcfc67a4b3fbe2e1ac37b5ca2b2ec61c0ffa2f3370b564621742723
MD5 19107347e6f24ba7957185bbe5266ba4
BLAKE2b-256 f5db23c47ef08e5d1638a3bbffa6b9cd59988cf43ff35d620e5f468885f325b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.29-py3-none-any.whl
Algorithm Hash digest
SHA256 fce7cd1a75e43aa94081f35d1b4f02d57b2cfd1f1b90a55de974c13d5d28db68
MD5 056bdca3fce189545cc7e24ce9f7dfbc
BLAKE2b-256 3fd4fde1bf2063562a45d422c7b6741ed8337c42acc439781b5823efe1378e6b

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