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.28.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0758275bc96963a9ba8645a2f98fe1dcaea273779df23bc42bd07ae5b768c017 |
|
MD5 | c0f5714cc7eb8e23b10cbead69bb0c0a |
|
BLAKE2b-256 | 32d2b2e53c090f126617a00a51940a33a1c0f7b209b18414a116b3c2063fdd05 |
Close
Hashes for imagespec_fast_builder-0.0.28-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d573dc2a3ee0f520dcae2b3226ce68dbdeaae6333883dc4954909b4d946514dc |
|
MD5 | 40886f8eec8cbdb2987f8e693b759315 |
|
BLAKE2b-256 | 8a4c69cf25239bb98156c51bc741e098757f4975473358dcbd2714c06f383a4c |