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.30.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb16a472938f54e62fac96bd519b0aaf2cb0af2227255e9fb95cff7330a71ae7 |
|
MD5 | 2cd98d2207e04af5b4914ae890652f88 |
|
BLAKE2b-256 | 80bc1070a04290267d060c702128fef9a7feca05955a360937948ae5c7ac7bd1 |
Close
Hashes for imagespec_fast_builder-0.0.30-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 978de0c1eafb0ce5cd14ef143fe30257ceafb4ede0717450efe5342c98854bf1 |
|
MD5 | 3598e11c0a6d204b8e674c39ea068876 |
|
BLAKE2b-256 | 6b80a9485f77904e103beeecce4408a29f203adfd94ffc51cae5dbfc50204ba8 |