A faster ImageSpec builder for flytekit
Project description
imagespec-fast-builder
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 fromPyPI
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for imagespec_fast_builder-0.0.20b1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 925e6447ade751166f15cbd3c43a9475491c3d440ce976da65e4d73141a8b7df |
|
MD5 | 8f9eae85af764b829d0beb5e46a0c2cd |
|
BLAKE2b-256 | 52209b4915384b2f4c4e5fcec435d337863912604119ef09baa577a9276d5388 |
Close
Hashes for imagespec_fast_builder-0.0.20b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bf0dfb54b38edb0728ffc6f5cde629900632d036b7f927519fad451ff8a1963 |
|
MD5 | 57d98cb4e48e0a55d38cb89290fe262c |
|
BLAKE2b-256 | e7ad85df5789328388f920d803042ff2ab98ac1991985b16b8cb0cd9a2c38f70 |