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.23.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06a500fc3bae4c1bb40f5bb77c190d7a7491627a0e3d077e0a68744c3abe02a2 |
|
MD5 | d27a7ff3b6bac42c86e6810677ca9a82 |
|
BLAKE2b-256 | 7e7b9123ce9d85cf4a5a9ad405374c2ae5fbf83315d3ada105e64baa74605c61 |
Close
Hashes for imagespec_fast_builder-0.0.23-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06d40fd2b5f178b36bc582b9788cfe46def4fb617692027ab64e677865bb813a |
|
MD5 | 23015c5cca2162a3eeaf538e0b3c27f9 |
|
BLAKE2b-256 | 2588ad4aefa2c2459be0ba7ef4cbfc1372ddff909a450b9cfee588573a54d8aa |