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.29.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14c4dccd8bcfc67a4b3fbe2e1ac37b5ca2b2ec61c0ffa2f3370b564621742723 |
|
MD5 | 19107347e6f24ba7957185bbe5266ba4 |
|
BLAKE2b-256 | f5db23c47ef08e5d1638a3bbffa6b9cd59988cf43ff35d620e5f468885f325b6 |
Close
Hashes for imagespec_fast_builder-0.0.29-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fce7cd1a75e43aa94081f35d1b4f02d57b2cfd1f1b90a55de974c13d5d28db68 |
|
MD5 | 056bdca3fce189545cc7e24ce9f7dfbc |
|
BLAKE2b-256 | 3fd4fde1bf2063562a45d422c7b6741ed8337c42acc439781b5823efe1378e6b |