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.31.tar.gz
.
File metadata
- Download URL: imagespec_fast_builder-0.0.31.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb623b107c1f1ba9127ce82b8b909e285335c1fd33eedf1cfd6a97d74eb9e447 |
|
MD5 | f7db2cd3bbdb2c8e4a6b099ab90bbfee |
|
BLAKE2b-256 | 558971c7cf47027adfb9ea457697f0c2df1b1448c0e5858d3cbf5467129b0948 |
File details
Details for the file imagespec_fast_builder-0.0.31-py3-none-any.whl
.
File metadata
- Download URL: imagespec_fast_builder-0.0.31-py3-none-any.whl
- Upload date:
- Size: 6.2 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 | 60bdb9a606e544c2c1fac5af6956a7988b7cdf6681b6d61cd7573691744d427d |
|
MD5 | fa8d750b36e95fd857003c4b3e1a6a6b |
|
BLAKE2b-256 | 002e41d00e5bb3473946f1b3f554565bf4969cee3eb6e72b19326e909860dda5 |