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

Uploaded Source

Built Distribution

imagespec_fast_builder-0.0.16-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.16.tar.gz
Algorithm Hash digest
SHA256 4ff8708dfc26706fe5ee33e893f6563d2fa1cf5d917afc1f203dd4ef48c1a8ca
MD5 3d53016c5e4b02a87987a8fbfab7fdf7
BLAKE2b-256 5b8922a08234844518881acae244a2e251f76691f8174b407d6f53835ac66ae4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 b3f76b01a1ead94cb1a47ccdbd4d4f9437a39ce298408192818a1cf7715d2689
MD5 fb9620991ac75209b09958eed9992d5c
BLAKE2b-256 bde11f8e5d04b62a0addc316bcca34c4d4a68ad9750fa645735cf5f5c815847e

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