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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.19.tar.gz
Algorithm Hash digest
SHA256 7554b3ca55fc1713ac744925064bf58f42c9ad05bddbb8629a69457f13b8280e
MD5 7618b10b9d77cc53d653b7be796919a8
BLAKE2b-256 4ab4408507533e163353b2b9c7ddef4bd9c18bfca2411b593547d8f148edba90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagespec_fast_builder-0.0.19-py3-none-any.whl
Algorithm Hash digest
SHA256 ffe801077860688fa8acf9d83ed9e60b096a1feef8df8ec7704e1c5231d3adde
MD5 c2a541572603f16fdc16098c8f349f37
BLAKE2b-256 07cda1fa9d6befc9e821ff14716a950c970628de1ff79277c9c2b3bf6620aa1d

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