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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37b76bc29a28b64fd98241b22cee8f67db7fcbb4e7d7e916e722e862a4112222 |
|
MD5 | f96cc422afd822d1cdc2cf3e02b0204a |
|
BLAKE2b-256 | acc6894a91374d644aaf33055343680dbce963ebd0c064e513ca03e22ee7ba7f |
Close
Hashes for imagespec_fast_builder-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e09f04ff6595b6d0b92154fb4b1266eded488bfea4394fd91b21d3d923bd982 |
|
MD5 | c53f0e2db7d614fbaf5b81f8c8c02b12 |
|
BLAKE2b-256 | 8924033fd4bf7437001269ef83cfa9b7c6b3064791d95a3c2b8a0b1975d03e49 |