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

Uploaded Source

Built Distribution

imagespec_fast_builder-0.0.10-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.10.tar.gz
Algorithm Hash digest
SHA256 203972b6769a8d57e22d945b40289e7109c61b4e89607aa104ef225c7746fc88
MD5 05dd65d36b61e863b948ac5c5516b603
BLAKE2b-256 696b64f555c1c87d1e2d014ee3866fb8d457aee56812938858e456456f97daa3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 4e5750be732ff65bcff31ed9a74a88a9ddf5f770490e2340af01dbd7fa5805ea
MD5 ea488031ef7258eebdec4503c3c72451
BLAKE2b-256 928670212ef342dedbaa06e8dc8407f16f15e692b3e1b7a288a5c7fd9c81876e

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