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.17.tar.gz
.
File metadata
- Download URL: imagespec_fast_builder-0.0.17.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 628ffa74b986682987b73994975296b207a2d86b156cdf07fa4f387ba8876d63 |
|
MD5 | 562f2b3387945692fc2d56c3520802a8 |
|
BLAKE2b-256 | fa12a9b1f4a044ccf41f48e7fff90de667e0916329c97c31e8742f614a509bd1 |
File details
Details for the file imagespec_fast_builder-0.0.17-py3-none-any.whl
.
File metadata
- Download URL: imagespec_fast_builder-0.0.17-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da0dfc5e8183810a8e4d4c1c8325c1a5ccd83e396140260630f38454fd1d0db1 |
|
MD5 | b1c9828f7cf61187851cf2663b766d52 |
|
BLAKE2b-256 | 6acef3c33314b03e2177d18a850f03d73b5ce7b56126ca9222d866ed523e1056 |