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.21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95237c7600f528ece531a605d93e3acf0f53bd61fabca67fcbd5dabde88d7d33 |
|
MD5 | 615151ff86130e617b3be51241b110f3 |
|
BLAKE2b-256 | e72a536d8e9213b31af5ddaed0dc45ed1d5018733d753e5bdd6f4e059f95bc81 |
Close
Hashes for imagespec_fast_builder-0.0.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9223cc31b03ae621f2fe40960f1ebf240965d807f9e5678378babdc788e464a |
|
MD5 | 6d6a69301d2497fff37b5d1ad277648e |
|
BLAKE2b-256 | 39392335723d5e6231532e5ccf19a740cf42070e46a6b0682a2519399640d3ed |