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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 203972b6769a8d57e22d945b40289e7109c61b4e89607aa104ef225c7746fc88 |
|
MD5 | 05dd65d36b61e863b948ac5c5516b603 |
|
BLAKE2b-256 | 696b64f555c1c87d1e2d014ee3866fb8d457aee56812938858e456456f97daa3 |
Close
Hashes for imagespec_fast_builder-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e5750be732ff65bcff31ed9a74a88a9ddf5f770490e2340af01dbd7fa5805ea |
|
MD5 | ea488031ef7258eebdec4503c3c72451 |
|
BLAKE2b-256 | 928670212ef342dedbaa06e8dc8407f16f15e692b3e1b7a288a5c7fd9c81876e |