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.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | beb58c299339616a018f2129ba1954a9060deed5f651845a3a4b7024a165b04d |
|
MD5 | 90d2f0a224f0c7be894eaa2506e6b13e |
|
BLAKE2b-256 | 8dcf0b90ea3d35303b706b133095adfe6620c328e5b1340624badf2730867641 |
Close
Hashes for imagespec_fast_builder-0.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17560cae36665f91faa1bccfad6eb4798c4536b7efaa2d339c9833bf53566a1b |
|
MD5 | e0f41690149282848ad6a94b045bad02 |
|
BLAKE2b-256 | d72b0aac61bda93b79163fdf3e6389f602a7ec772d1ad9fe3a2b02766d68ad58 |