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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c4387a8abdb833d92d8aa5296ed61dcfc10138a1b4e4354ddb1edcbc8b26e0b |
|
MD5 | 108d654ad93629204d38f10dde2a9d3b |
|
BLAKE2b-256 | 267292fa2ad4b8f55bce37b40d9189dff05dc64ff9ca633c71c4d8f2f5a3b4bf |
Close
Hashes for imagespec_fast_builder-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef23dcd03337355abb295a3f832de9e92f9fe663e8cdadd0f0bbbd065991d266 |
|
MD5 | 83c8971631937e046946403e53ce37ae |
|
BLAKE2b-256 | 8bb45ff2be98d12deed8b0b078971a9adf25df03e2ea0b527c72542b3a1b7064 |