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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32bc8951082ac6d0e5ac44a2f85218cb9d86512e234e8df8f8d2dc370c36cbb2 |
|
MD5 | 25627a1110f506ec70a136449ef96a9e |
|
BLAKE2b-256 | de4b7890e10e1d8a2279b4a8ec0af4d3235da72bb8d22bf3e491c6877afdb9b0 |
Close
Hashes for imagespec_fast_builder-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cb7bd27605d10bc2944dda9e3a5950618815f2e804c56224062a5dcca6bee44 |
|
MD5 | 09def4234b784f6e44f5944aa77fe4ee |
|
BLAKE2b-256 | b6b0e49575d3da57ddf8062046609a849f298ef0ee7de141c0d80cdf8eaf9d93 |