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

Uploaded Source

Built Distribution

imagespec_fast_builder-0.0.4-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.4.tar.gz
Algorithm Hash digest
SHA256 37b76bc29a28b64fd98241b22cee8f67db7fcbb4e7d7e916e722e862a4112222
MD5 f96cc422afd822d1cdc2cf3e02b0204a
BLAKE2b-256 acc6894a91374d644aaf33055343680dbce963ebd0c064e513ca03e22ee7ba7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4e09f04ff6595b6d0b92154fb4b1266eded488bfea4394fd91b21d3d923bd982
MD5 c53f0e2db7d614fbaf5b81f8c8c02b12
BLAKE2b-256 8924033fd4bf7437001269ef83cfa9b7c6b3064791d95a3c2b8a0b1975d03e49

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