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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.17.tar.gz
Algorithm Hash digest
SHA256 628ffa74b986682987b73994975296b207a2d86b156cdf07fa4f387ba8876d63
MD5 562f2b3387945692fc2d56c3520802a8
BLAKE2b-256 fa12a9b1f4a044ccf41f48e7fff90de667e0916329c97c31e8742f614a509bd1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 da0dfc5e8183810a8e4d4c1c8325c1a5ccd83e396140260630f38454fd1d0db1
MD5 b1c9828f7cf61187851cf2663b766d52
BLAKE2b-256 6acef3c33314b03e2177d18a850f03d73b5ce7b56126ca9222d866ed523e1056

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