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.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57b63d978c9c486e043add5fa73e0605eff96fe6482df979eef8e5600e3dd958 |
|
MD5 | ebfa9e46967fd9533b2aff351bde5c15 |
|
BLAKE2b-256 | 190e7f3636c5ffba1e3b67fa087e6fadefc63e0116478287b6a9176785fa4062 |
Close
Hashes for imagespec_fast_builder-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 488efeaba150fa5c5b6cef4aabb9afdeffdc2aa2aef6715377109bf038d7d71d |
|
MD5 | 4f147914d935fa02ae4de3ad563da931 |
|
BLAKE2b-256 | c268afa1f660f8637a45830a77e114ca8cca73f3c5767933bed146bfeaf490eb |