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
File details
Details for the file imagespec_fast_builder-0.0.33.tar.gz
.
File metadata
- Download URL: imagespec_fast_builder-0.0.33.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ede3489ac90e4061ae13f120fdd025e09fabb714ddb1e0b112dc054dec8338d |
|
MD5 | 08bf3f76c99a0c23b13a4a51bdc18ff3 |
|
BLAKE2b-256 | 64733b4c900188b0bdb19d6bdfe6054961dac53cc0bbff80ad62349021a983dc |
File details
Details for the file imagespec_fast_builder-0.0.33-py3-none-any.whl
.
File metadata
- Download URL: imagespec_fast_builder-0.0.33-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bf2d0ebfbae76d94da68b0f2e8012214d72d74995ceb44a36979dbfe8e5b01b |
|
MD5 | 034a6976ee662909d63f77f3c428d06a |
|
BLAKE2b-256 | 3629fe35481236695f444174b10d7b843846eb703ce80f371104a8b0244859b0 |